crystal v1.5.1 Release Notes

Release Date: 2022-09-07 // over 1 year ago
  • Standard Library

    • ๐Ÿ›  Fix Class#nilable? for recursive unions and root types (#12353, thanks @HertzDevil)

    Numeric

    • ๐Ÿ›  Fix Float#abs and Number#format for -0.0 (#12424, thanks @straight-shoota)

    Text

    • ๐Ÿ›  Fix null dereference when passing empty slice to Base64.encode (#12377, thanks @dscottboggs)

    Compiler

    • Do not check abstract def parameter names on abstract types and modules (#12434, thanks @HertzDevil)

    Codegen

    • Compiler/codegen: reset @needs_value (#12444, thanks @asterite)
    • ๐Ÿ›  Fix homogeneous_aggregate? check for aarch64 types (#12445, thanks @mattrberry)

    Semantic

    • Compiler: don't eagerly check cast type (#12272, thanks @asterite)
    • ๐Ÿ›  Fix type restriction augmenter for Union(*T) and similar (#12438, thanks @asterite)

    Tools

    Formatter

    • Formatter: Fix assign followed by comment (#12319, thanks @straight-shoota)
    • ๐Ÿ– Handle formatting annotated method parameters (#12446, thanks @Blacksmoke16)

    Other

    • โšก๏ธ Update distribution-scripts (#12359, thanks @straight-shoota)
    • โšก๏ธ Update distribution-scripts (#12333, thanks @straight-shoota)
    • [CI] Bumping xcode to 13.4.1 (#12264, thanks @beta-ziliani)