diff --git a/CHANGELOG.md b/CHANGELOG.md index f0ed85d..516531d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,10 +7,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.10.0] - 2026-09-29 + ### Added - Add support for NIF version `2.18`, which is shipped with Erlang/OTP 29. +- Add `:load_data_fun` option to load data dynamically. + + This is an option to keep in pair with `Rustler`'s option (available since v0.28). + It accepts a `{Module, :function_name}` tuple, and by default it's `nil`. + This option cannot be used with the `:load_data` option (it's one or the other). + +### Fixed + +- Fix removal of existing lib file before trying to extract it, so we don't + segfault in case another process is using it. + + This behaviour changed in `0.9.0` by mistake and it was failing silently. + See the PR for more details: https://github.com/philss/rustler_precompiled/pull/109 + +### Removed + +- Remove support for Elixir v1.15. +- Remove support for Rustler before `v0.28`. + ## [0.9.0] - 2026-03-26 ### Added @@ -345,7 +366,8 @@ This fix: - Add basic features to download and use the precompiled NIFs in a safe way. -[Unreleased]: https://github.com/philss/rustler_precompiled/compare/v0.9.0...HEAD +[Unreleased]: https://github.com/philss/rustler_precompiled/compare/v0.10.0...HEAD +[0.10.0]: https://github.com/philss/rustler_precompiled/compare/v0.9.0...v0.10.0 [0.9.0]: https://github.com/philss/rustler_precompiled/compare/v0.8.4...v0.9.0 [0.8.4]: https://github.com/philss/rustler_precompiled/compare/v0.8.3...v0.8.4 [0.8.3]: https://github.com/philss/rustler_precompiled/compare/v0.8.2...v0.8.3 diff --git a/README.md b/README.md index d3f7120..7702b97 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ list of dependencies in `mix.exs`: ```elixir def deps do [ - {:rustler_precompiled, "~> 0.9"} + {:rustler_precompiled, "~> 0.10"} ] end ``` diff --git a/mix.exs b/mix.exs index 2673403..a03a34b 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,7 @@ defmodule RustlerPrecompiled.MixProject do use Mix.Project - @version "0.9.0" + @version "0.10.0" @repo "https://github.com/philss/rustler_precompiled" def project do @@ -35,7 +35,7 @@ defmodule RustlerPrecompiled.MixProject do defp deps do [ - {:rustler, "~> 0.23", optional: true}, + {:rustler, "~> 0.28", optional: true}, {:ex_doc, "~> 0.40", only: :dev}, {:passby, ">= 0.0.0", only: :test} ]