Improved
v4.0.0-alpha.0
Summary
Added
openzeppelin_utils- Added
lower_lookupsupport to checkpoint utilities (#1630) - Added
BitMapstruct and associated helpers toopenzeppelin_utils::structs::bitmap(#1630)
- Added
ERC721ConsecutiveComponentextension (#1630)- ERC-6909 standard implementation and extensions (#1594)
- Introduced ERC6909Component and extension components: ERC6909ContentURIComponent, ERC6909MetadataComponent, and ERC6909TokenSupplyComponent.
- Added standard interfaces: IERC6909, IERC6909Metadata, IERC6909TokenSupply, and IERC6909ContentUri.
- Added the ERC6909ABI trait, covering the full ERC-6909 token functionality, including all supported extensions.
- Integration of ERC-6909 components into the with_components macro (#1594)
IERC1155Supplyinterface andERC1155SupplyComponentextension for total supply tracking (#1632)IERC721Wrapperinterface toopenzeppelin_interfaces::token::erc721(#1625)ERC721WrapperComponentproviding ERC721 wrapping and unwrapping functionality (#1625)IERC20Wrapperinterface toopenzeppelin_interfaces::token::erc20for ERC20 wrappers (#1617)ERC20WrapperComponentproviding ERC20 wrapping and unwrapping functionality (#1617)
Changed
- Bump scarb to v2.15.1 (#1631)
Changed (Breaking)
- Added
ERC721TokenOwnerTraithook as a dependency toERC721Componentimplementations (#1630)- Included
ERC721OwnerOfDefaultImplto support the default use case
- Included
Full Changes List
- Chore(deps): Bump stefanzweifel/git-auto-commit-action from 6.0.1 to 7.0.0 by @dependabot[bot] in https://github.com/OpenZeppelin/cairo-contracts/pull/1553
- Update foundry to 0.51.0 by @ericnordelo in https://github.com/OpenZeppelin/cairo-contracts/pull/1555
- Release openzeppelin_testing v6.0.0 by @ericnordelo in https://github.com/OpenZeppelin/cairo-contracts/pull/1556
- Update contract sizes benchmark by @github-actions[bot] in https://github.com/OpenZeppelin/cairo-contracts/pull/1559
- Remove the coverage_incompatible feature by @ericnordelo in https://github.com/OpenZeppelin/cairo-contracts/pull/1558
- chore: remove repetitive word in comment by @vastonus in https://github.com/OpenZeppelin/cairo-contracts/pull/1561
- Chore(deps): Bump crate-ci/typos from 1.38.1 to 1.39.0 by @dependabot[bot] in https://github.com/OpenZeppelin/cairo-contracts/pull/1562
- Bump snforge to 0.51.2 by @immrsd in https://github.com/OpenZeppelin/cairo-contracts/pull/1563
- Bump Cairo to v2.13.1 by @immrsd in https://github.com/OpenZeppelin/cairo-contracts/pull/1565
- Update contract sizes benchmark by @github-actions[bot] in https://github.com/OpenZeppelin/cairo-contracts/pull/1566
- Bump foundry to 0.52.0 by @ericnordelo in https://github.com/OpenZeppelin/cairo-contracts/pull/1568
- Release
openzeppelin_testing-v6.1.0by @ericnordelo in https://github.com/OpenZeppelin/cairo-contracts/pull/1569 - Chore(deps): Bump crate-ci/typos from 1.39.0 to 1.39.1 by @dependabot[bot] in https://github.com/OpenZeppelin/cairo-contracts/pull/1595
- Chore(deps): Bump crate-ci/typos from 1.39.1 to 1.39.2 by @dependabot[bot] in https://github.com/OpenZeppelin/cairo-contracts/pull/1596
- Chore(deps): Bump DavidAnson/markdownlint-cli2-action from 20.0.0 to 21.0.0 by @dependabot[bot] in https://github.com/OpenZeppelin/cairo-contracts/pull/1597
- ci: bump actions/checkout to v6 by @rejected-l in https://github.com/OpenZeppelin/cairo-contracts/pull/1603
- Chore(deps): Bump crate-ci/typos from 1.39.2 to 1.40.0 by @dependabot[bot] in https://github.com/OpenZeppelin/cairo-contracts/pull/1605
- Chore(deps): Bump DavidAnson/markdownlint-cli2-action from 21.0.0 to 22.0.0 by @dependabot[bot] in https://github.com/OpenZeppelin/cairo-contracts/pull/1607
- Fix foundry setup step in test workflow by @ericnordelo in https://github.com/OpenZeppelin/cairo-contracts/pull/1609
- Bump snforge to 0.53.0 by @immrsd in https://github.com/OpenZeppelin/cairo-contracts/pull/1610
- Chore(deps): Bump peter-evans/create-pull-request from 7 to 8 by @dependabot[bot] in https://github.com/OpenZeppelin/cairo-contracts/pull/1611
- Chore(deps): Bump stefanzweifel/git-auto-commit-action from 7.0.0 to 7.1.0 by @dependabot[bot] in https://github.com/OpenZeppelin/cairo-contracts/pull/1620
New Contributors
- @vastonus made their first contribution in https://github.com/OpenZeppelin/cairo-contracts/pull/1561
- @rejected-l made their first contribution in https://github.com/OpenZeppelin/cairo-contracts/pull/1603
- @0xpantera made their first contribution in https://github.com/OpenZeppelin/cairo-contracts/pull/1594
Full Changelog: https://github.com/OpenZeppelin/cairo-contracts/compare/v3.0.0...v4.0.0-alpha.0