crystal v1.2.2 Release Notes

Release Date: 2021-11-10 // over 2 years ago
  • Compiler

    • x86_64 ABI: pass structs indirectly if there are no more available registers (#11344, thanks @ggiraldez)
    • ➕ Add parentheses around type name for metaclasses of unions (#11315, thanks @HertzDevil)
    • (regression) Restrict virtual metaclasses to themselves against Class (#11377, thanks @HertzDevil)
    • (regression) Add fallback for union debug type if current debug file is not set (#11390, thanks @maxfierke)
    • (regression) Add missing debug locations to constant / class variable read calls (#11417, thanks @HertzDevil)

    Standard Library

    Collection

    • 🛠 Fix BitArray#toggle when toggling empty subrange (#11381, thanks @HertzDevil)

    Crypto

    • ⚡️ Update for OpenSSL 3.0.0 (#11360, thanks @straight-shoota)
    • 👷 Restore libressl support and add CI for that (#11400, thanks @straight-shoota)
    • Replace lib version comparisons by functional feature checks (#11374, thanks @straight-shoota)

    ⚙ Runtime

    • ➕ Add support for DWARF 5 (#11399, thanks @straight-shoota)
    • Retrieve filename of shared libs, use in stacktraces (#11408, thanks @rdp)

    Other

    • [CI] Fix enable nix-command as experimental feature (#11398, thanks @straight-shoota)
    • 📦 [CI] Fix OpenSSL 3 apk package name (#11418, thanks @straight-shoota)
    • ⚡️ Update distribution-scripts (#11404, thanks @straight-shoota)
    • [CI] Fix pcre download URL (#11422, thanks @straight-shoota)