github OpenZeppelin/cairo-contracts v4.0.0-rc.0

pre-release8 hours ago

Summary

Added

  • SafeERC20DispatcherTrait in openzeppelin_token::erc20::utils with assert_transfer, assert_transfer_from, assert_increase_allowance, and assert_decrease_allowance (#1683)

Changed (Breaking)

  • ERC20WrapperComponent failed-transfer error changed to 'SafeERC20: failed operation'; removed Errors::TRANSFER_FAILED (#1683)
  • ERC4626SelfAssetsManagement failed-transfer error changed to 'SafeERC20: failed operation'; removed ERC4626Component::Errors::TOKEN_TRANSFER_FAILED (#1683)
  • VestingComponent.release failed-transfer error changed to 'SafeERC20: failed operation'; removed Errors::TOKEN_TRANSFER_FAILED (#1683)

Full Changes List

  • Release v4.0.0-alpha.1 by @immrsd in #1675
  • Update contract sizes benchmark by @github-actions[bot] in #1680
  • Chore(deps): Bump crate-ci/typos from 1.45.0 to 1.45.2 by @dependabot[bot] in #1682
  • Chore(deps): Bump DavidAnson/markdownlint-cli2-action from 23.0.0 to 23.1.0 by @dependabot[bot] in #1684
  • SafeERC20 helpers by @ericnordelo in #1683
  • Chore(deps): Bump crate-ci/typos from 1.45.2 to 1.46.0 by @dependabot[bot] in #1685
  • Macros version bump and span matching improvements by @ericnordelo in #1681
  • Update contract sizes benchmark by @github-actions[bot] in #1687

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

Don't miss a new cairo-contracts release

NewReleases is sending notifications on new releases.