diff --git a/CHANGELOG.md b/CHANGELOG.md index acf1d5d7c..963fbf1b2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.0.0-alpha.5](https://github.com/near/borsh-rs/compare/borsh-v1.0.0-alpha.4...borsh-v1.0.0-alpha.5) - 2023-09-12 + +### Added +- add (de)serialisation + schema for more `core::ops::Range...` types (full, open-ended, inclusive) ([#213](https://github.com/near/borsh-rs/pull/213)) +- add `BorshSchema` implementation for `core::num::NonZero...` integers ([#214](https://github.com/near/borsh-rs/pull/214)) +- [**breaking**] introduce `borsh::io` with either items of `std:io` or private `borsh::nostd_io` module reexported (`std` or `no_std`) ([#212](https://github.com/near/borsh-rs/pull/212)) +- Introduce `borsh::max_serialized_size` function, `borsh::schema::BorshSchemaContainer::for_type` method ([#209](https://github.com/near/borsh-rs/pull/209)) + +### Other +- [**breaking**] declare and rename schema feature to be unstable__ (may break in 1.x versions) +- Add Definition::Enum::tag_width field ([#215](https://github.com/near/borsh-rs/pull/215)) + ## [1.0.0-alpha.4](https://github.com/near/borsh-rs/compare/borsh-v1.0.0-alpha.3...borsh-v1.0.0-alpha.4) - 2023-09-04 ### Added diff --git a/Cargo.toml b/Cargo.toml index 40944fcc3..2600607b2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,5 +3,5 @@ members = ["borsh", "borsh-derive", "fuzz/fuzz-run", "benchmarks"] [workspace.package] # shared version of all public crates in the workspace -version = "1.0.0-alpha.4" +version = "1.0.0-alpha.5" rust-version = "1.66.0" diff --git a/borsh/Cargo.toml b/borsh/Cargo.toml index 0bd524964..34f2a48b0 100644 --- a/borsh/Cargo.toml +++ b/borsh/Cargo.toml @@ -27,7 +27,7 @@ required-features = ["std", "unstable__schema"] cfg_aliases = "0.1.0" [dependencies] -borsh-derive = { path = "../borsh-derive", version = "1.0.0-alpha.4", optional = true } +borsh-derive = { path = "../borsh-derive", version = "1.0.0-alpha.5", optional = true } # hashbrown can be used in no-std context. # NOTE: There is no reason to restrict use of older versions, but we don't want to get