near-sdk (Rust) 5.18.0
relax owned String requirements (#1404); Add Event::to_event_log() utility function (#1394)
- The newest stable release in the 5.18 line: near-sdk (Rust) 5.18.1
- Newest near-sdk (Rust): near-sdk (Rust) 5.30.0
Added
- relax owned String requirements (#1404)
- Add Event::to_event_log() utility function (#1394)
- be explicit about detached
Promises (#1400) - (near-sdk-macros)
#[near(contract_state(key = b"CUSTOM"))](#1399) - optimize
Promise::and(#1396) - use #[serde_as] for #[near(serializers = [json])] (#1393)
- Introduce new method
::ext_on(promise)for all Ext Contract Traits for using high-level APIs for batching actions into a single promise receipt (#1413)
Fixed
- Pass mutable buffers to sys out-params in balance and stake getters (#1412)
- Fixed the
TreeMap::range()method to respect lower Bound::Unbounded (#1408) - (serde) avoid String allocation in error mapping for integers and hash (#1411)
- Fix serde_as and ordering of the fields in AsNep297Event (#1405)
- Added support for #[private] attribute for #[init] methods (#1410)
- allow PanicOnDefault on eums (#1401)