github OpenZeppelin/cairo-contracts v4.0.0-alpha.1

pre-release11 hours ago

Summary

Added

  • ERC-3156 standard interfaces and ERC20FlashMintComponent extension (#1608)
  • IERC6909MetadataAdmin and IERC6909ContentUriAdmin interfaces to openzeppelin_interfaces::token::erc6909 (#1676)
  • Embeddable Ownable, AccessControl, and AccessControlDefaultAdminRules admin impls for ERC6909MetadataComponent and ERC6909ContentURIComponent (#1676)

Changed (Breaking)

  • Simplified ERC6909MetadataComponent.initializer to only register the SRC5 interface, matching the other ERC-6909 extensions (#1676)
  • Renamed ERC6909MetadataComponent internal setters to _set_token_name, _set_token_symbol, and _set_token_decimals (#1676)
  • Renamed ERC6909ContentURIComponent internal setters to _set_contract_uri and _set_token_uri (#1676)

Changed

  • Bump scarb to v2.18.0 (#1677)

Full Changes List

  • Update contract sizes benchmark by @github-actions[bot] in #1644
  • Release v4.0.0-alpha.0 by @immrsd in #1646
  • Bump snforge to 0.56.0 by @immrsd in #1648
  • Release openzeppelin_testing v6.4.0 by @immrsd in #1649
  • Chore(deps): Bump crate-ci/typos from 1.42.1 to 1.43.5 by @dependabot[bot] in #1656
  • Release openzeppelin_testing 6.5.0 by @immrsd in #1659
  • with_components support for ERC721Consecutive by @immrsd in #1660
  • Update contract sizes benchmark by @github-actions[bot] in #1661
  • ERC20 flash mint extension by @ericnordelo in #1608
  • Update contract sizes benchmark by @github-actions[bot] in #1665
  • Release openzeppelin_testing 6.6.0 by @immrsd in #1666
  • Chore(deps): Bump crate-ci/typos from 1.43.5 to 1.45.0 by @dependabot[bot] in #1667
  • Chore(deps): Bump codecov/codecov-action from 4 to 6 by @dependabot[bot] in #1663
  • Chore(deps): Bump DavidAnson/markdownlint-cli2-action from 22.0.0 to 23.0.0 by @dependabot[bot] in #1664
  • Release openzeppelin_testing v6.7.0 by @immrsd in #1673
  • Bump Scarb to 2.17.0 by @immrsd in #1672
  • Update contract sizes benchmark by @github-actions[bot] in #1674
  • Improve ERC-6909 by @immrsd in #1676
  • Bump Scarb to 2.18 by @immrsd in #1677

Full Changelog: v4.0.0-alpha.0...v4.0.0-alpha.1

Don't miss a new cairo-contracts release

NewReleases is sending notifications on new releases.