Rustler v0.25.0 Release Notes

Release Date: 2022-04-11 // 3 months ago
  • โž• Added

    • NewBinary now also available as rustler::NewBinary (thanks @ayrat555)
    • Term::map_from_pairs() to conveniently build a map from a list -of pairs (thanks @philss)
    • ๐ŸŽ CI now also tests against macos

    ๐Ÿ›  Fixed

    • Snake-case warening for auto-generated RUSTLER_{}_field_{} variables (renamed to rustler_{}_field_{})

    ๐Ÿ”„ Changed

    • ๐ŸŽ Abort compilation on macos if macos target configuration is missing

Previous changes from v0.24.0

  • โž• Added

    • A NewBinary type to create binaries in Rust without going through OwnedBinary. This can improve performance. Thanks @dlesl!
    • TermType derives Eq and PartialEq.

    โšก๏ธ Updated

    • rustler_mix: Bumped required toml dependency to 0.6
    • โฌ†๏ธ Bumped rustler_sys dependency to ~2.2.

    ๐Ÿ”„ Changed

    • โœ… Rustler supports the latest 3 versions of Elixir and OTP. Currently, those are Elixir => 1.11 and OTP >= 22.

    ๐Ÿ›  Fixed

    • Set library file extension based on the compile target, thanks @cocoa-xu!
    • ๐Ÿ˜Œ Relaxed Jason version requirement to ~> 1.0
    • ๐Ÿ“š Various typos in the documentation, thanks @kianmeng!