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.3.3 - 2023-10-28
- Bump
rustler
to 0.30- Minimum supported OTP version raised to 22
0.3.2 - 2023-08-09
- Make
decode/2
anddecode!/2
accept iodata instead of just Strings
0.3.1 - 2023-06-16
- Bump
rustler
to 0.28 to support OTP 26
- Attempting to handle some specific errors no longer raises a new error
0.3.0 - 2023-03-15
- Support for compression via the
compress
encode option (#15, thanks @mmmries)
- Errors returned from
encode/2
are now descriptive strings instead of a generic atom. Instead of{:error, :encode_error}
, you may now see something like{:error, "Expected to deserialize a UTF-8 stringable term"}
. This is technically a breaking change.
0.2.1 - 2022-11-06
- Precompiled binary support for
aarch64-unknown-linux-musl
- Bump
rustler_precompiled
to 0.5.4 to avoid philss/rustler_precompiled#38
0.2.0 - 2022-08-14
- Precompiled binaries via rustler_precompiled (#10, thanks @lytedev)
0.1.6 - 2021-03-11
- Prevent
:ok
and:error
atoms from being encoded as capitalized strings, inconsistent with other atom encoding
0.1.5 - 2021-02-06
- Honor custom encodings in nested structs
0.1.4 - 2020-04-02
- Correct typespec in NIF stub that caused issues with Dialyzer
0.1.3 - 2019-12-02
- Limit nesting depth to 128 again when decoding strings
0.1.2 - 2019-12-02
- Make
decode
anddecode!
accept a second (unused) options argument for compatibility (#1, thanks @joedevivo)
0.1.1 - 2019-11-08
- Support decoding strings with a nesting depth over 128
- Initial release