Skip to content

Latest commit

 

History

History
85 lines (55 loc) · 2.53 KB

CHANGELOG.md

File metadata and controls

85 lines (55 loc) · 2.53 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]

Added

  • Implement AddAssignChecked for StorageUint. #474
  • Erc20FlashMint extension. #407

Changed

  • Keccak constants PERMIT_TYPEHASH in Erc20Permit, and TYPE_HASH in Erc712 are now statically computed. #478
  • Use AddAssignChecked in VestingWallet, Erc1155Supply, Erc1155, Erc20, Nonces. #474
  • Use AddAssignUnchecked and SubAssignUnchecked in erc20::_update. #467

Changed (Breaking)

  • Bump cargo-stylus to v0.5.7. #484
  • Constants TYPE_HASH, FIELDS, SALT and TYPED_DATA_PREFIX, and type DomainSeparatorTuple are no longer exported from utils::cryptography::eip712. #478
  • Bump Stylus SDK to v0.7.0. #433
  • Bump alloy dependencies to v0.8.14. #433
  • Add full support for reentrancy (changed VestingWallet signature for some functions). #407
  • Nonce::use_nonce panics on exceeding U256::MAX. #467

Fixed

[v0.2.0-alpha.2] - 2024-12-18

Added

  • Erc1155Supply extension. #418
  • Erc1155Pausableextension. #432
  • Erc1155UriStorage extension. #431
  • VestingWallet contract. #402
  • Erc1155Burnable extension. #417
  • Erc1155MetadataUri extension. #416
  • Poseidon2 sponge hash function. #388

Changed

  • Update "magic values" to explicit calculations in Erc721Metadata::supports_interface, and Erc721::_check_on_erc721_received. #442
  • Implement AddAssignUnchecked and SubAssignUnchecked for StorageUint. #418
  • Implement MethodError for safe_erc20::Error. #402
  • Use function_selector! to calculate transfer type selector in Erc1155. #417

Changed (Breaking)

  • Update internal functions of Erc721 and Erc721Consecutive to accept a reference to Bytes. #437

Fixed

[v0.2.0-alpha.1] - 2024-11-15

Added

  • ERC-1155 Multi Token Standard. #275
  • SafeErc20 Utility. #289
  • Finite Fields arithmetic. #376
  • Ownable2Step contract. #352
  • IOwnable trait. #352

Changed(breaking)

  • Removed only_owner from the public interface of Ownable. #352

[0.1.1] - 2024-10-28

Changed

  • Mini alloc is now used by default via the stylus-sdk. This avoids conflicts with duplicate #[global_allocator] definitions. #373
  • Removed the panic handler from the library, making it easier for std and no_std projects to use the library. #373

[0.1.0] - 2024-10-17

  • Initial release