crystal v1.6.2 Release Notes

Release Date: 2022-11-03 // over 1 year ago
  • Language

    • ๐Ÿ›  Fix VirtualMetaclassType#implements? to ignore base type (#12632, thanks @straight-shoota)

    Compiler

    • Compiler: handle yield expressions without a type (#12679, thanks @asterite)
    • ๐Ÿ”จ Partial revert "Compiler: refactor and slightly optimize merging two types (#12436)" (#12709, thanks @caspiano)

    Semantic

    • Compiler: ignore type filters when accepting cast for obj and to (#12668, thanks @asterite)

    Other

    • ๐Ÿ”’ (security) CI: Update to OpenSSL 3.0.7 for bundled lib on Windows (#12712, thanks @beta-ziliani)

Previous changes from v1.6.1

  • Compiler

    Interpreter

    • Interpreter (repl): migrate types even if their size remains the same (#12581, thanks @asterite)
    • Unbreak the interpreter on FreeBSD (#12600, thanks @dmgk)
    • ๐Ÿ›  Fix FFI specs on release builds (#12601, thanks @HertzDevil)
    • โž• Adding welcome message to the interpreter (#12511, thanks @beta-ziliani)

    Semantic

    • Treat single splats with same restriction as equivalent (#12584, thanks @HertzDevil)

    Tools

    Formatter

    • Formatter: escape backslashes in macro literals when subformatting (#12582, thanks @asterite)

    Playground

    • ๐Ÿ›  Fix origin validation in playground server for localhost (#12599, thanks @straight-shoota)

    Other

    • ๐Ÿ›  Fix doc typos in Socket::IPAddress (#12583, thanks @Blacksmoke16)
    • ๐Ÿ›  Fix building Wasm32 on Crystal 1.6 (Regression) (#12580, thanks @lbguilherme)
    • โฌ†๏ธ Bump version to 1.6.1-dev (#12588, thanks @straight-shoota)
    • ๐Ÿ Disable failing specs on Windows CI (#12585, thanks @HertzDevil)
    • ๐Ÿ— Detect llvm-configXX while building compiler (#12602, thanks @HertzDevil)