near-sdk (Rust) 5.1.0
Reduce your boilerpate and enable ABI support out of the box with the new #[near] macro-attribute.
- The latest release in the 5.1 line.
- Newest near-sdk (Rust): near-sdk (Rust) 5.30.0
Hightlights
Reduce your boilerpate and enable ABI support out of the box with the new #[near] macro-attribute.
| BEFORE (still valid, not breaking changes or deprecation in this release): | AFTER |
|
|
|
|
If you want to have an example, look no further, DevHub Contract is already migrated
Added
- Finalize
#[near]attribute-macro implementation with the support for custom parameters passing to serializer attributes#[near(serializers = [borsh(...)])](#1158) - Introduce
#[near]macro to further streamline contracts development reducing the boilerplate! (#1142)
Other
- add typo checker in ci (#1159)