View Source Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.14.3 - 2023-05-26
Add precompilation target for Linux running on RISC-V 64 bits machines. This is useful for projects using Nerves.
Note that this is going to require
rustler_precompiledv0.6 or above, since the that version includes RISC-V on Linux as defaults.
Add support for OTP 26 by updating the
0.14.2 - 2023-05-20
Add precompilation target for Linux running on ARM64 machines (both musl and gnu ABI). This is useful for projects using Nerves.
Note that this is going to require
rustler_precompiledv0.6 or above, since the that version includes ARM64 on Linux as defaults.
0.14.1 - 2023-05-20
- Add support for
Update Rustler version in the crate from
v0.28. This shouldn't break anything, but would require the installation of rustler
v0.28if needed in the Elixir side.
Change the Rust edition to 2021 (it was 2018). This shouldn't change any behaviour.
0.14.0 - 2022-11-04
rustler_precompiledequal or above
v0.5.2- thanks @Benjamin-Philip.
Application.get_env/3in the native module.
0.13.1 - 2022-06-24
- Fix the precompilation build for targets using
crossby adding a
Cross.tomlfile with a setting telling to read the
RUSTLER_NIF_VERSIONenv var from the host machine.
0.13.0 - 2022-04-28
- Bump requirement for
~> v0.4. This is needed to avoid installing Rustler by default.
html5ever(Rust crate) to
0.12.0 - 2022-03-14
- Start using
0.11.0 - 2021-12-15
- Add checksum verification of precompiled NIF files before extracting
them to the correct location. This is to avoid supply chain attacks.
With this change we added a new mix task to download all the files
and generate the checksum before publishing the package. Additionally
the user can download only the local NIF file with the checksum.
RELEASE_CHECKLIST.mdfile for details on how we ensure this works correctly.
- Remove support for Elixir 1.10 and below. This is to keep a policy of supporting the latest three Elixir versions.
- Switch from thread pool to being a dirty NIF. This prevents the resulting term from having to be sent between processes, and therefore prevents an extra copy from having to be performed.
- In the FlatSink implementation for the NIF, track children in a pool instead of allocating new vectors for every node. This significantly reduces allocator pressure while parsing, and improves performance.
- When converting a parsed FlatSink into its term representation, use a common child node stack instead of allocating a new one for every node. This significantly reduces allocator pressure while creating terms, and improves performance.
- Start using LTO for the NIF compilation. This reduces the build size and improves performance.
- Fix the target selection when using
TARGET_*env vars on macOS.
0.10.1 - 2021-11-24
- It provides a precompiled NIF for ARM 64 bits running on Linux. This is needed for Raspberry PI 4.
0.10.0 - 2021-11-24
- Add the ability to download precompiled NIFs. We provide compiled NIF files in our GitHub releases page (from GitHub Actions) and the lib will try to download the correct NIF respecting the OS, NIF version and architecture of your build machine. This also works for Nerves projects that compiles to different targets. This way the Rust toolchain is not needed for most of people using this project.
- Fix compilation on macOS.
0.9.0 - 2021-10-02
- Add support for OTP 24. This was achieved by updating Rustler to v0.22.