near-sdk (Rust) 4.1.0
The primary changes in this release from 4.0.0 are adding support for near ABI through cargo-near as well as moving near_sdk::store collections from being under the unstable feature flag.
- The newest stable release in the 4.1 line: near-sdk (Rust) 4.1.1
- Newest near-sdk (Rust): near-sdk (Rust) 5.30.0
The primary changes in this release from 4.0.0 are adding support for near ABI through cargo-near as well as moving near_sdk::store collections from being under the unstable feature flag.
To see all changes since 4.1.0, the releases or changelog should be used.
Changes since 4.1.0-pre.3:
Added
- Added
near_sdk::NearSchemaderive macro for convenience in implementing schema types forabi. PR 891. - Added support for custom events with
#[near_bindgen(event_json(standard = "___"))]syntax. PR 934
Changed
- Added new
legacyfeature flag and putnear_sdk::collectionsunder it.near_sdk::storewill be replacing them. PR 923. - Stabilize
store::LookupMapandstore::UnorderedMapcollections. PR 922. - Stabilize
store::LookupSetandstore::UnorderedSetcollections. PR 924. abifeature flag is now enabled by default. PR 956.- Updated
near-abiversion to0.3.0. PR 954.
Removed
- Deleted
metadatamacro. Use https://github.com/near/abi instead. PR 920 - Deprecated
ReceiptIndexandIteratorIndexvm types. PR 949.
Fixes
- Updated the associated error type for
Base58CryptoHashparsing throughTryFromto concrete type. PR 919