Skip to content

Releases: near/near-sdk-rs

near-sdk-macros-v5.4.0

04 Sep 17:46
9c68e71
Compare
Choose a tag to compare
chore: Release package near-sdk-macros version 5.4.0

near-contract-standards-v5.4.0

04 Sep 17:47
9c68e71
Compare
Choose a tag to compare

Fixed

  • Fix storage management error message with proper amount (#1222)

near-sdk-v5.3.0

14 Aug 11:51
4551e43
Compare
Choose a tag to compare

Added

  • Introduced 'remove' method for 'near_sdk::store::Lazy' collection (#1238)
  • Allow store collection iterators to be cloned (this enables standard Iterator methods like cycle()) (#1224)

Fixed

  • Fix storage management error message with proper amount (#1222)
  • Fixed compilation errors after Rust 1.80 latest stable release (#1227)

Other

  • updates near-* dependencies to 0.24.0 (#1237)
  • Include all examples into CI testing suite (#1228)
  • Optimized up to 10% contract binary size by using near_sdk::env::panic_str instead of expect calls (#1220)
  • Fixed Rust 1.80 new warning by adding cargo:rustc-check-cfg for __abi-embed-checked feature in near-sdk-macros build.rs (#1225)

near-sdk-macros-v5.3.0

14 Aug 11:51
4551e43
Compare
Choose a tag to compare
chore: Release package near-sdk-macros version 5.3.0

near-contract-standards-v5.3.0

14 Aug 11:52
4551e43
Compare
Choose a tag to compare

Fixed

  • Fix storage management error message with proper amount (#1222)

near-sdk-v5.2.1

05 Jul 13:32
5c9eaea
Compare
Choose a tag to compare

Fixed

  • (nep330) Fallback to CARGO_PKG_REPOSITORY and CARGO_PKG_VERSION when NEP330_* variables are not provided (#1215)

near-sdk-macros-v5.2.1

05 Jul 13:32
5c9eaea
Compare
Choose a tag to compare
chore: Release package near-sdk-macros version 5.2.1

near-contract-standards-v5.2.1

05 Jul 13:32
5c9eaea
Compare
Choose a tag to compare

Added

  • Exported ext_storage_management Promise shortcuts, so Storage Management interfaces can be used in contracts to call external contracts using the high-level cross-contract call interfaces (#1208)
  • Exported ext_nft_* Promise shortcuts, so NFT interfaces can be re-used in contracts to call external NFT contracts using the high-level cross-contract call interfaces (#1206)

near-sys-v0.2.2

04 Jul 22:08
Compare
Choose a tag to compare

Other

  • add yield execution host functions (#1183)

near-sdk-v5.2.0

04 Jul 22:09
Compare
Choose a tag to compare

Added

  • New yield execution host functions (#1183), learn more in this blog post
  • New near_sdk::store::IterableMap and near_sdk::store::IterableSet that address the iteration performance issue of store::UnorderedMap (#1164) (#1175)
  • Added BorshSchema trait impl to all near_sdk::store collections!
    • store::TreeMap<K, V, H> and UnorderedSet<T, H> (#1213)
    • store::IterableSet and store::IterableMap and refactored and added ABI defiintions tests (#1212)
    • store::UnorderedMap (#1209)
  • NEP-330 1.2.0 support - added build info field in contract metadata (#1178)

Fixed

  • [technically breaking] Make log macro fully compatible with std::format (string interpolation is now supported) (#1189)
  • use FQDNs when calling contract methods to avoid method names collision (#1186)

Other

  • Added performance tests for 'store' collections (#1195)
  • Full tests coverage for store::Vector + coverage for all the collections relevant to IterableMap implementation (#1173)
  • Full tests coverage for store collections (#1172)
  • Documented #[init], #[payable], #[handle_result], #[private], #[result_serializer] attributes for docs.rs discoverability (#1185)
  • Enabled unit-testing feature for docs.rs
  • Replaced manual borsh trait impl-s with derives and correct bounds in near_sdk::store and near_sdk::collections (#1176)
  • Proxy JsonSchema::schema_name to the original implementation (#1210)
  • Fixed Rust 1.79 linter warnings (#1202)
  • Fixed Rust 1.78 linter warnings (#1181)
  • Updated near-* dependencies to 0.23 version (#1207)