diff --git a/CHANGELOG.md b/CHANGELOG.md index e1155276c..11ede9cba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,69 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.12.0](https://github.com/near/borsh-rs/compare/borsh-v0.11.0...borsh-v0.12.0) - 2023-06-06 + +### Added +- Add top-level `from_slice` and `from_reader` helper functions to make the API nicer ([#142](https://github.com/near/borsh-rs/pull/142)) +- Forbid Vectors of Zero-sized types from de-/serialization to resolve the RUSTSEC-2023-0033 ([#145](https://github.com/near/borsh-rs/pull/145)) +- add BorshSchema for PhantomData, BTreeMap and BTreeSet ([#93](https://github.com/near/borsh-rs/pull/93)) +- Add optional bson::oid::ObjectId support ([#135](https://github.com/near/borsh-rs/pull/135)) +- [**breaking**] ser/de enum discriminant ([#138](https://github.com/near/borsh-rs/pull/138)) +- Add optional bytes/bytesmut support ([#132](https://github.com/near/borsh-rs/pull/132)) +- *(deserialize)* prevent unbound allocation ([#129](https://github.com/near/borsh-rs/pull/129)) +- Implement serialize/deserialize for core::ops::Range ([#124](https://github.com/near/borsh-rs/pull/124)) +- *(de)* add EnumExt trait with deserialize_variant method ([#123](https://github.com/near/borsh-rs/pull/123)) +- implement deserialize_reader ([#116](https://github.com/near/borsh-rs/pull/116)) +- Add clone impls to borsh schema types ([#97](https://github.com/near/borsh-rs/pull/97)) +- impl ser/de and schema for `(T,)` ([#100](https://github.com/near/borsh-rs/pull/100)) +- add proper support for isize and usize ([#99](https://github.com/near/borsh-rs/pull/99)) +- impl BorshSchema for HashSet ([#83](https://github.com/near/borsh-rs/pull/83)) +- *(infra)* introduce automated publishing ([#67](https://github.com/near/borsh-rs/pull/67)) +- Implemented (de)serialization for nonzero integer ([#66](https://github.com/near/borsh-rs/pull/66)) +- Rewrite the CI ([#57](https://github.com/near/borsh-rs/pull/57)) +- implement const-generics under feature ([#38](https://github.com/near/borsh-rs/pull/38)) +- impl (de)ser for PhantomData ([#37](https://github.com/near/borsh-rs/pull/37)) +- implement schema for arrays and fix box bounds ([#36](https://github.com/near/borsh-rs/pull/36)) +- [**breaking**] Eliminate unsafe code from both ser and de of u8 ([#26](https://github.com/near/borsh-rs/pull/26)) +- make schema same as de/serialization ([#22](https://github.com/near/borsh-rs/pull/22)) +- avoid collisions of imports due to derive-generated code ([#14](https://github.com/near/borsh-rs/pull/14)) +- Added support for BTreeMap, BTreeSet, BinaryHeap, LinkedList types ([#6](https://github.com/near/borsh-rs/pull/6)) + +### Fixed +- no-std tests did not run due to dev-dependencies re-enabling std feature ([#144](https://github.com/near/borsh-rs/pull/144)) +- Fix "reader with too much data" test ([#118](https://github.com/near/borsh-rs/pull/118)) +- remove unnecessary trait bounds requirements for array ([#104](https://github.com/near/borsh-rs/pull/104)) +- codegen sanity for enum serialization ([#102](https://github.com/near/borsh-rs/pull/102)) +- new clippy warnings ([#105](https://github.com/near/borsh-rs/pull/105)) +- fixes maybstd imports for no_std on thumbv6m-none-eabi ([#87](https://github.com/near/borsh-rs/pull/87)) +- delete schema for char ([#101](https://github.com/near/borsh-rs/pull/101)) +- maybestd rc feature imports ([#88](https://github.com/near/borsh-rs/pull/88)) +- fix no_std compatability ([#79](https://github.com/near/borsh-rs/pull/79)) +- Mark is_u8 unsafe to communicate potential undefined behavior if implemented not wisely ([#21](https://github.com/near/borsh-rs/pull/21)) +- Fixed symlinks to the README files after reorg + +### Other +- release ([#143](https://github.com/near/borsh-rs/pull/143)) +- use release-plz and specify common rust version correctly ([#134](https://github.com/near/borsh-rs/pull/134)) +- Upgrade plain-HTTP links to HTTPS in Cargo.toml files ([#141](https://github.com/near/borsh-rs/pull/141)) +- Silenced `clippy::uninlined_format_args` lints to fix CI without bumping MSRV ([#125](https://github.com/near/borsh-rs/pull/125)) +- Prepare for 0.10.0 release ([#121](https://github.com/near/borsh-rs/pull/121)) +- bump hashbrown to 0.13 ([#120](https://github.com/near/borsh-rs/pull/120)) +- remove const-generics feature impls ([#107](https://github.com/near/borsh-rs/pull/107)) +- remove inconsistent duplicate hashbrown imports ([#89](https://github.com/near/borsh-rs/pull/89)) +- upgrade hashbrown ([#53](https://github.com/near/borsh-rs/pull/53)) +- fix clippy warnings ([#47](https://github.com/near/borsh-rs/pull/47)) +- Release 0.9.1 +- Add serialization helpers to improve api ergonomics ([#34](https://github.com/near/borsh-rs/pull/34)) +- Added an example of direct BorshSerialize::serialize usage with vector and slice buffers ([#29](https://github.com/near/borsh-rs/pull/29)) +- Implement ser/de for reference count types ([#27](https://github.com/near/borsh-rs/pull/27)) +- Release 0.9.0 +- Remove hasher bound on map and set ser/de ([#16](https://github.com/near/borsh-rs/pull/16)) +- Release 0.8.2 +- Add seriailize and deserialize usize ([#9](https://github.com/near/borsh-rs/pull/9)) +- v0.8.1 +- Enabled check code formatting on CI ([#4](https://github.com/near/borsh-rs/pull/4)) + ## [0.11.0](https://github.com/near/borsh-rs/compare/borsh-v0.10.3...borsh-v0.11.0) - 2023-05-31 ### Added diff --git a/Cargo.toml b/Cargo.toml index 42e1be646..0f26e0517 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,4 +10,4 @@ members = [ [workspace.package] # shared version of all public crates in the workspace -version = "0.11.0" +version = "0.12.0"