Skip to content
by Unity Nodes
near-sdk (Rust)Pre-release

near-sdk (Rust) 4.1.0-pre.0

4.1.0-pre.0github.com

abi feature to expose metadata about contract and functions to be consumed by cargo-near. PR 831, PR 863, PR 858; Exposed ext_ft_metadata to call FungibleTokenMetadataProvider trait from an external contract. PR 836

Added

  • abi feature to expose metadata about contract and functions to be consumed by cargo-near. PR 831, PR 863, PR 858
  • Exposed ext_ft_metadata to call FungibleTokenMetadataProvider trait from an external contract. PR 836

Fixed

  • Safe math fixes for fungible token standard. PR 830
    • This just ensures that there is no overflow if overflow-checks is not enabled by cargo

Changed

  • Enabled const-generics feature by default on borsh. PR 828
  • License changed from GPL-3 to MIT or Apache. PR 837
  • Put unit-testing logic behind unit-testing flag, which is enabled by default. PR 870
    • This pulls in nearcore dependencies to mock the VM, so can turn off default-features to compile faster

Removed

  • Deprecated near_contract_standards::upgrade. PR 856
    • Implementation did not match any NEAR standard and was not correct