From d9ad9b080565350c2aa2df3126bdd1701eb7200d Mon Sep 17 00:00:00 2001 From: Vlad Frolov <304265+frol@users.noreply.github.com> Date: Wed, 25 Oct 2023 20:52:44 +0000 Subject: [PATCH 1/2] chore: release Signed-off-by: Vlad Frolov <304265+frol@users.noreply.github.com> --- CHANGELOG.md | 7 +++++++ Cargo.toml | 2 +- borsh/Cargo.toml | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b249a818..507309f13 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.0.0](https://github.com/near/borsh-rs/compare/borsh-v1.1.0...borsh-v2.0.0) - 2023-10-25 + +### Other +- add `test_schema_conflicts` ([#254](https://github.com/near/borsh-rs/pull/254)) +- addressed warnings in docs generation ([#252](https://github.com/near/borsh-rs/pull/252)) +- [**breaking**] simplify discriminants handling in schema derives ([#241](https://github.com/near/borsh-rs/pull/241)) + ## [1.1.0](https://github.com/near/borsh-rs/compare/borsh-v1.0.0...borsh-v1.1.0) - 2023-10-13 ### Added diff --git a/Cargo.toml b/Cargo.toml index cb92d07ee..b910a2807 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.1.0" +version = "2.0.0" rust-version = "1.66.0" diff --git a/borsh/Cargo.toml b/borsh/Cargo.toml index 4c52e6854..c7d4cc252 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.1.0", optional = true } +borsh-derive = { path = "../borsh-derive", version = "~2.0.0", 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 From 2d59af1147de0d98f4a9c19f801d098023366a5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?dj8yf0=CE=BCl?= Date: Thu, 26 Oct 2023 00:05:40 +0300 Subject: [PATCH 2/2] chore: correct version + changelog manually --- CHANGELOG.md | 4 ++-- Cargo.toml | 2 +- borsh/Cargo.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 507309f13..c40e5577d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,12 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -## [2.0.0](https://github.com/near/borsh-rs/compare/borsh-v1.1.0...borsh-v2.0.0) - 2023-10-25 +## [1.1.1](https://github.com/near/borsh-rs/compare/borsh-v1.1.0...borsh-v1.1.1) - 2023-10-25 ### Other - add `test_schema_conflicts` ([#254](https://github.com/near/borsh-rs/pull/254)) - addressed warnings in docs generation ([#252](https://github.com/near/borsh-rs/pull/252)) -- [**breaking**] simplify discriminants handling in schema derives ([#241](https://github.com/near/borsh-rs/pull/241)) +- simplify discriminants handling in schema derives ([#241](https://github.com/near/borsh-rs/pull/241)) ## [1.1.0](https://github.com/near/borsh-rs/compare/borsh-v1.0.0...borsh-v1.1.0) - 2023-10-13 diff --git a/Cargo.toml b/Cargo.toml index b910a2807..bb89176fc 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 = "2.0.0" +version = "1.1.1" rust-version = "1.66.0" diff --git a/borsh/Cargo.toml b/borsh/Cargo.toml index c7d4cc252..f0306c03b 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 = "~2.0.0", optional = true } +borsh-derive = { path = "../borsh-derive", version = "~1.1.1", 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