From 10b0dea3b1a214d789cc90314aa814a4181610ad Mon Sep 17 00:00:00 2001 From: Austin Abell Date: Wed, 9 Nov 2022 11:33:46 -0500 Subject: [PATCH] chore: prep 4.1.0 release --- CHANGELOG.md | 12 +++++++++++- examples/adder/Cargo.lock | 4 ++-- examples/callback-results/Cargo.lock | 4 ++-- examples/cross-contract-calls/Cargo.lock | 4 ++-- examples/factory-contract/Cargo.lock | 4 ++-- examples/fungible-token/Cargo.lock | 6 +++--- examples/lockable-fungible-token/Cargo.lock | 4 ++-- examples/mission-control/Cargo.lock | 4 ++-- examples/non-fungible-token/Cargo.lock | 6 +++--- examples/status-message-collections/Cargo.lock | 4 ++-- examples/status-message/Cargo.lock | 4 ++-- examples/test-contract/Cargo.lock | 4 ++-- examples/versioned/Cargo.lock | 4 ++-- near-contract-standards/Cargo.toml | 4 ++-- near-sdk-macros/Cargo.toml | 2 +- near-sdk/Cargo.toml | 4 ++-- 16 files changed, 42 insertions(+), 32 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4411b96fc..df72217fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,13 +2,22 @@ ## [Unreleased] +## [4.1.0] - 2022-11-09 + +### Added +- Added `near_sdk::NearSchema` derive macro for convenience in implementing schema types for `abi`. [PR 891](https://github.com/near/near-sdk-rs/pull/891). +- Added support for custom events with `#[near_bindgen(event_json(standard = "___"))]` syntax. [PR 934](https://github.com/near/near-sdk-rs/pull/934) + ### Changed - Added new `legacy` feature flag and put `near_sdk::collections` under it. `near_sdk::store` will be replacing them. [PR 923](https://github.com/near/near-sdk-rs/pull/923). - Stabilize `store::LookupMap` and `store::UnorderedMap` collections. [PR 922](https://github.com/near/near-sdk-rs/pull/922). - Stabilize `store::LookupSet` and `store::UnorderedSet` collections. [PR 924](https://github.com/near/near-sdk-rs/pull/924). +- `abi` feature flag is now enabled by default. [PR 956](https://github.com/near/near-sdk-rs/pull/956). +- Updated `near-abi` version to `0.3.0`. [PR 954](https://github.com/near/near-sdk-rs/pull/954). ### Removed - Deleted `metadata` macro. Use https://github.com/near/abi instead. [PR 920](https://github.com/near/near-sdk-rs/pull/920) +- Deprecated `ReceiptIndex` and `IteratorIndex` vm types. [PR 949](https://github.com/near/near-sdk-rs/pull/949). ### Fixes - Updated the associated error type for `Base58CryptoHash` parsing through `TryFrom` to concrete type. [PR 919](https://github.com/near/near-sdk-rs/pull/919) @@ -358,7 +367,8 @@ impl StatusMessage { * Add account check to `get_balance` in fungible token https://github.com/near/near-sdk-rs/pull/175 * In fungible token remove account from storage if its balance is 0 https://github.com/near/near-sdk-rs/pull/179 -[Unreleased]: https://github.com/near/near-sdk-rs/compare/4.1.0-pre.3...HEAD +[Unreleased]: https://github.com/near/near-sdk-rs/compare/4.1.0...HEAD +[4.1.0]: https://github.com/near/near-sdk-rs/compare/4.0.0-pre.3...4.1.0 [4.1.0-pre.3]: https://github.com/near/near-sdk-rs/compare/4.0.0-pre.2...4.1.0-pre.3 [4.1.0-pre.2]: https://github.com/near/near-sdk-rs/compare/4.0.0-pre.1...4.1.0-pre.2 [4.1.0-pre.1]: https://github.com/near/near-sdk-rs/compare/4.0.0-pre.0...4.1.0-pre.1 diff --git a/examples/adder/Cargo.lock b/examples/adder/Cargo.lock index b5a6a4294..4ef6c7bc5 100644 --- a/examples/adder/Cargo.lock +++ b/examples/adder/Cargo.lock @@ -1525,7 +1525,7 @@ dependencies = [ [[package]] name = "near-sdk" -version = "4.1.0-pre.3" +version = "4.1.0" dependencies = [ "base64 0.13.0", "borsh", @@ -1546,7 +1546,7 @@ dependencies = [ [[package]] name = "near-sdk-macros" -version = "4.1.0-pre.3" +version = "4.1.0" dependencies = [ "Inflector", "proc-macro2", diff --git a/examples/callback-results/Cargo.lock b/examples/callback-results/Cargo.lock index 8a2d6010b..95eb181c0 100644 --- a/examples/callback-results/Cargo.lock +++ b/examples/callback-results/Cargo.lock @@ -1503,7 +1503,7 @@ dependencies = [ [[package]] name = "near-sdk" -version = "4.1.0-pre.3" +version = "4.1.0" dependencies = [ "base64 0.13.0", "borsh", @@ -1524,7 +1524,7 @@ dependencies = [ [[package]] name = "near-sdk-macros" -version = "4.1.0-pre.3" +version = "4.1.0" dependencies = [ "Inflector", "proc-macro2", diff --git a/examples/cross-contract-calls/Cargo.lock b/examples/cross-contract-calls/Cargo.lock index 2aff1c7df..a8429adaa 100644 --- a/examples/cross-contract-calls/Cargo.lock +++ b/examples/cross-contract-calls/Cargo.lock @@ -1552,7 +1552,7 @@ dependencies = [ [[package]] name = "near-sdk" -version = "4.1.0-pre.3" +version = "4.1.0" dependencies = [ "base64 0.13.0", "borsh", @@ -1573,7 +1573,7 @@ dependencies = [ [[package]] name = "near-sdk-macros" -version = "4.1.0-pre.3" +version = "4.1.0" dependencies = [ "Inflector", "proc-macro2", diff --git a/examples/factory-contract/Cargo.lock b/examples/factory-contract/Cargo.lock index 6bf7e375b..fda89f8e9 100644 --- a/examples/factory-contract/Cargo.lock +++ b/examples/factory-contract/Cargo.lock @@ -1552,7 +1552,7 @@ dependencies = [ [[package]] name = "near-sdk" -version = "4.1.0-pre.3" +version = "4.1.0" dependencies = [ "base64 0.13.0", "borsh", @@ -1573,7 +1573,7 @@ dependencies = [ [[package]] name = "near-sdk-macros" -version = "4.1.0-pre.3" +version = "4.1.0" dependencies = [ "Inflector", "proc-macro2", diff --git a/examples/fungible-token/Cargo.lock b/examples/fungible-token/Cargo.lock index 5c89821d7..d3fc21b9d 100644 --- a/examples/fungible-token/Cargo.lock +++ b/examples/fungible-token/Cargo.lock @@ -1397,7 +1397,7 @@ dependencies = [ [[package]] name = "near-contract-standards" -version = "4.1.0-pre.3" +version = "4.1.0" dependencies = [ "near-sdk", "schemars", @@ -1673,7 +1673,7 @@ dependencies = [ [[package]] name = "near-sdk" -version = "4.1.0-pre.3" +version = "4.1.0" dependencies = [ "base64 0.13.0", "borsh", @@ -1694,7 +1694,7 @@ dependencies = [ [[package]] name = "near-sdk-macros" -version = "4.1.0-pre.3" +version = "4.1.0" dependencies = [ "Inflector", "proc-macro2", diff --git a/examples/lockable-fungible-token/Cargo.lock b/examples/lockable-fungible-token/Cargo.lock index 8ef6fe28f..c191b44bb 100644 --- a/examples/lockable-fungible-token/Cargo.lock +++ b/examples/lockable-fungible-token/Cargo.lock @@ -1642,7 +1642,7 @@ dependencies = [ [[package]] name = "near-sdk" -version = "4.1.0-pre.3" +version = "4.1.0" dependencies = [ "base64 0.13.0", "borsh", @@ -1663,7 +1663,7 @@ dependencies = [ [[package]] name = "near-sdk-macros" -version = "4.1.0-pre.3" +version = "4.1.0" dependencies = [ "Inflector", "proc-macro2", diff --git a/examples/mission-control/Cargo.lock b/examples/mission-control/Cargo.lock index 75d053637..a258ddb5e 100644 --- a/examples/mission-control/Cargo.lock +++ b/examples/mission-control/Cargo.lock @@ -586,7 +586,7 @@ dependencies = [ [[package]] name = "near-sdk" -version = "4.1.0-pre.3" +version = "4.1.0" dependencies = [ "base64 0.13.0", "borsh", @@ -607,7 +607,7 @@ dependencies = [ [[package]] name = "near-sdk-macros" -version = "4.1.0-pre.3" +version = "4.1.0" dependencies = [ "Inflector", "proc-macro2", diff --git a/examples/non-fungible-token/Cargo.lock b/examples/non-fungible-token/Cargo.lock index e46634c2e..c34db09ad 100644 --- a/examples/non-fungible-token/Cargo.lock +++ b/examples/non-fungible-token/Cargo.lock @@ -1371,7 +1371,7 @@ dependencies = [ [[package]] name = "near-contract-standards" -version = "4.1.0-pre.3" +version = "4.1.0" dependencies = [ "near-sdk", "schemars", @@ -1647,7 +1647,7 @@ dependencies = [ [[package]] name = "near-sdk" -version = "4.1.0-pre.3" +version = "4.1.0" dependencies = [ "base64 0.13.0", "borsh", @@ -1668,7 +1668,7 @@ dependencies = [ [[package]] name = "near-sdk-macros" -version = "4.1.0-pre.3" +version = "4.1.0" dependencies = [ "Inflector", "proc-macro2", diff --git a/examples/status-message-collections/Cargo.lock b/examples/status-message-collections/Cargo.lock index 36776ffa1..ba7214b68 100644 --- a/examples/status-message-collections/Cargo.lock +++ b/examples/status-message-collections/Cargo.lock @@ -579,7 +579,7 @@ dependencies = [ [[package]] name = "near-sdk" -version = "4.1.0-pre.3" +version = "4.1.0" dependencies = [ "base64 0.13.0", "borsh", @@ -600,7 +600,7 @@ dependencies = [ [[package]] name = "near-sdk-macros" -version = "4.1.0-pre.3" +version = "4.1.0" dependencies = [ "Inflector", "proc-macro2", diff --git a/examples/status-message/Cargo.lock b/examples/status-message/Cargo.lock index 4215eb1be..9573c20a0 100644 --- a/examples/status-message/Cargo.lock +++ b/examples/status-message/Cargo.lock @@ -579,7 +579,7 @@ dependencies = [ [[package]] name = "near-sdk" -version = "4.1.0-pre.3" +version = "4.1.0" dependencies = [ "base64 0.13.0", "borsh", @@ -600,7 +600,7 @@ dependencies = [ [[package]] name = "near-sdk-macros" -version = "4.1.0-pre.3" +version = "4.1.0" dependencies = [ "Inflector", "proc-macro2", diff --git a/examples/test-contract/Cargo.lock b/examples/test-contract/Cargo.lock index 7897a7f37..06b60d888 100644 --- a/examples/test-contract/Cargo.lock +++ b/examples/test-contract/Cargo.lock @@ -579,7 +579,7 @@ dependencies = [ [[package]] name = "near-sdk" -version = "4.1.0-pre.3" +version = "4.1.0" dependencies = [ "base64 0.13.0", "borsh", @@ -600,7 +600,7 @@ dependencies = [ [[package]] name = "near-sdk-macros" -version = "4.1.0-pre.3" +version = "4.1.0" dependencies = [ "Inflector", "proc-macro2", diff --git a/examples/versioned/Cargo.lock b/examples/versioned/Cargo.lock index 6a66eb980..919070653 100644 --- a/examples/versioned/Cargo.lock +++ b/examples/versioned/Cargo.lock @@ -586,7 +586,7 @@ dependencies = [ [[package]] name = "near-sdk" -version = "4.1.0-pre.3" +version = "4.1.0" dependencies = [ "base64 0.13.0", "borsh", @@ -607,7 +607,7 @@ dependencies = [ [[package]] name = "near-sdk-macros" -version = "4.1.0-pre.3" +version = "4.1.0" dependencies = [ "Inflector", "proc-macro2", diff --git a/near-contract-standards/Cargo.toml b/near-contract-standards/Cargo.toml index b86a54ffa..1aca8fd9f 100644 --- a/near-contract-standards/Cargo.toml +++ b/near-contract-standards/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "near-contract-standards" -version = "4.1.0-pre.3" +version = "4.1.0" authors = ["Near Inc "] edition = "2021" license = "MIT OR Apache-2.0" @@ -13,7 +13,7 @@ NEAR smart contracts standard library. """ [dependencies] -near-sdk = { path = "../near-sdk", version = "=4.1.0-pre.3", default-features = false, features = ["legacy"] } +near-sdk = { path = "../near-sdk", version = "=4.1.0", default-features = false, features = ["legacy"] } serde = "1" serde_json = "1" schemars = "0.8" diff --git a/near-sdk-macros/Cargo.toml b/near-sdk-macros/Cargo.toml index dec616017..fc63285c6 100644 --- a/near-sdk-macros/Cargo.toml +++ b/near-sdk-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "near-sdk-macros" -version = "4.1.0-pre.3" +version = "4.1.0" authors = ["Near Inc "] edition = "2021" license = "MIT OR Apache-2.0" diff --git a/near-sdk/Cargo.toml b/near-sdk/Cargo.toml index c5f1c5020..b4797c453 100644 --- a/near-sdk/Cargo.toml +++ b/near-sdk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "near-sdk" -version = "4.1.0-pre.3" +version = "4.1.0" authors = ["Near Inc "] edition = "2021" license = "MIT OR Apache-2.0" @@ -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 = "=4.1.0-pre.3" } +near-sdk-macros = { path = "../near-sdk-macros", version = "=4.1.0" } near-sys = { path = "../sys", version = "0.2" } base64 = "0.13" borsh = { version = "0.9", features = ["const-generics"] }