From 851afb728575bdaf93c800ec3b86f10c5b526efb Mon Sep 17 00:00:00 2001 From: Vlad <304265+frol@users.noreply.github.com> Date: Wed, 1 May 2024 14:16:15 +0000 Subject: [PATCH] chore: release Signed-off-by: Vlad <304265+frol@users.noreply.github.com> --- CHANGELOG.md | 10 ++++++++++ Cargo.toml | 2 +- near-contract-standards/Cargo.toml | 2 +- near-sdk/Cargo.toml | 2 +- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c878d0f44..56699f5ff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,16 @@ ## [Unreleased] +## [5.2.0](https://github.com/near/near-sdk-rs/compare/near-sdk-v5.1.0...near-sdk-v5.2.0) - 2024-05-01 + +### Added +- New `near_sdk::store::IterableMap` that addresses the iteration performance issue of `store::UnorderedMap` ([#1164](https://github.com/near/near-sdk-rs/pull/1164)) + +### Other +- *(store, collections)* replace manual `borsh` trait impl-s with derives and correct bounds within ([#1176](https://github.com/near/near-sdk-rs/pull/1176)) +- Cover store::Vector fully + coverage for all the collections relevant to IterableMap implementation. ([#1173](https://github.com/near/near-sdk-rs/pull/1173)) +- Cover `store` collections with tests. ([#1172](https://github.com/near/near-sdk-rs/pull/1172)) + ## [5.1.0](https://github.com/near/near-sdk-rs/compare/near-sdk-v5.0.0...near-sdk-v5.1.0) - 2024-03-28 ### Added diff --git a/Cargo.toml b/Cargo.toml index 0ac56340c..135388fe6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ members = [ exclude = ["examples/"] [workspace.package] -version = "5.1.0" +version = "5.2.0" # Special triple # comment for ci. [patch.crates-io] diff --git a/near-contract-standards/Cargo.toml b/near-contract-standards/Cargo.toml index 86901c5f9..80d9bc375 100644 --- a/near-contract-standards/Cargo.toml +++ b/near-contract-standards/Cargo.toml @@ -13,7 +13,7 @@ NEAR smart contracts standard library. """ [dependencies] -near-sdk = { path = "../near-sdk", version = "~5.1.0", default-features = false, features = ["legacy"] } +near-sdk = { path = "../near-sdk", version = "~5.2.0", default-features = false, features = ["legacy"] } [dev-dependencies] near-sdk = { path = "../near-sdk", default-features = false, features = ["unit-testing"] } diff --git a/near-sdk/Cargo.toml b/near-sdk/Cargo.toml index 7488fe7bd..d5d64c25c 100644 --- a/near-sdk/Cargo.toml +++ b/near-sdk/Cargo.toml @@ -21,7 +21,7 @@ required-features = ["abi", "unstable"] # Provide near_bidgen macros. serde = { version = "1", features = ["derive"] } serde_json = "1" -near-sdk-macros = { path = "../near-sdk-macros", version = "~5.1.0" } +near-sdk-macros = { path = "../near-sdk-macros", version = "~5.2.0" } near-sys = { path = "../near-sys", version = "0.2.1" } base64 = "0.21" borsh = { version = "1.0.0", features = ["derive"] }