Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 2.45 KB

CHANGELOG.md

File metadata and controls

52 lines (34 loc) · 2.45 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

1.0.0 - 2023-12-22

This is the first stable release of near-account-id crate!

AccountId and AccountIdRef are two main types of this crate that have same relation as String and str in standard library of Rust.

AccountId guarantees to hold a valid NEAR account id (unless users explicitly opt-in for the unvalidated constructors feature and break this promise).

See all the changes listed in alpha releases below to learn about AccountIdRef and various new helper methods.

Added

  • Add get_parent_account_id method (#24)

1.0.0-alpha.4 - 2023-11-24

Fixed

  • Remove account_id validation from new_unvalidated() when internal_unstable feature is enabled (required by nearcore) (#20)

1.0.0-alpha.3 - 2023-11-06

Other

  • Add schemars support (#17)

1.0.0-alpha.2 - 2023-11-03

Other

  • AccountType, add EthImplicitAccount (#14)

1.0.0-alpha.1 - 2023-10-24

near-account-id was extracted from nearcore as of 2023-08-01, and extended with the following features to reach stable 1.0.0 release.

Added

  • Introduce AccountIdRef, move all AccountId methods to AccountIdRef, and more idiomatic AsRef/Borrow impls
  • Added len method (#13)
  • Added const AccountIdRef::new_or_panic (#12)
  • Added missing serde/borsh implementations for AccountIdRef
  • Upgrade borsh dependency to 1.0 (#8)
  • Implemented Arbitrary for AccountIdRef

Other

  • Use stable Rust version for maximal-deps test (#7)
  • Added automated release pipeline (release-plz!)
  • bump MSRV to 1.65