Releases: near/near-sdk-rs
Releases · near/near-sdk-rs
near-sdk-macros-v5.4.0
chore: Release package near-sdk-macros version 5.4.0
near-contract-standards-v5.4.0
Fixed
- Fix storage management error message with proper amount (#1222)
near-sdk-v5.3.0
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 ofexpect
calls (#1220) - Fixed Rust 1.80 new warning by adding
cargo:rustc-check-cfg
for__abi-embed-checked
feature innear-sdk-macros
build.rs (#1225)
near-sdk-macros-v5.3.0
chore: Release package near-sdk-macros version 5.3.0
near-contract-standards-v5.3.0
Fixed
- Fix storage management error message with proper amount (#1222)
near-sdk-v5.2.1
Fixed
- (nep330) Fallback to
CARGO_PKG_REPOSITORY
andCARGO_PKG_VERSION
whenNEP330_*
variables are not provided (#1215)
near-sdk-macros-v5.2.1
chore: Release package near-sdk-macros version 5.2.1
near-contract-standards-v5.2.1
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
Other
- add yield execution host functions (#1183)
near-sdk-v5.2.0
Added
- New yield execution host functions (#1183), learn more in this blog post
- New
near_sdk::store::IterableMap
andnear_sdk::store::IterableSet
that address the iteration performance issue ofstore::UnorderedMap
(#1164) (#1175) - Added
BorshSchema
trait impl to allnear_sdk::store
collections! - 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 innear_sdk::store
andnear_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)