From a24aaee32899a9b4de7de6c23adac6debb3a8162 Mon Sep 17 00:00:00 2001 From: release-plz Date: Wed, 31 May 2023 11:25:03 +0000 Subject: [PATCH 1/2] chore: release --- CHANGELOG.md | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++ Cargo.toml | 2 +- 2 files changed, 61 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 289091887..d542bc150 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,66 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.11.0](https://github.com/near/borsh-rs/compare/borsh-v0.10.3...borsh-v0.11.0) - 2023-05-31 + +### Added +- 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 +- 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)) + - Add optional BSON object id support ## [0.10.3] - 2022-03-22 diff --git a/Cargo.toml b/Cargo.toml index 1c2b684f0..42e1be646 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.10.3" +version = "0.11.0" From 445096e46dff2272f97dba5c2033f236dd580929 Mon Sep 17 00:00:00 2001 From: Vlad Frolov Date: Fri, 2 Jun 2023 21:49:48 +0200 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 56 ++++------------------------------------------------ 1 file changed, 4 insertions(+), 52 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d542bc150..e1155276c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,71 +13,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - 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 - 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)) - -- Add optional BSON object id support - -## [0.10.3] - 2022-03-22 + +## [0.10.3] - 2023-03-22 - Add optional bytes/bytesmut support -## [0.10.2] - 2022-02-14 +## [0.10.2] - 2023-02-14 - Prevent unbound allocation for vectors on deserialization -## [0.10.1] - 2022-02-08 +## [0.10.1] - 2023-02-08 - Implemented (de)ser for `core::ops::range` - Introduce de::EnumExt trait with deserialize_variant method