Summary
Added
- AccessControlDefaultAdminRules (#1567):
MAXIMUM_DEFAULT_ADMIN_TRANSFER_DELAYconstant exposed in the component ImmutableConfig.maximum_default_admin_transfer_delaygetter to theIAccessControlDefaultAdminRulesinterface.
execute_single_call,execute_callsandassert_valid_signatureto openzeppelin_utils::execution (#1531)- MetaTransactionV0 preset, interface, and dispatchers (#1512)
- Embeddable
ERC2981AdminAccessControlDefaultAdminRulesImplimplementation providing admin functions for aERC2981token based onAccessControlDefaultAdminRulescomponent (#1516) ERC6372Clockinterface toopenzeppelin_utils::contract_clock(#1417)- AccessControlDefaultAdminRules interface and component (#1432)
Changed
- Bump scarb to 2.13.1 (#1565)
- Decoupled openzeppelin_utils version from the umbrella package (#1531)
- Removed openzeppelin_governance dependency on openzeppelin_account (#1531)
- Removed openzeppelin_token dependency on openzeppelin_account (#1531)
GovernorComponentand its extensions support voting tokens that follow theERC6372clock standard (#1417)
Changed (Breaking)
GovernorComponentproposal state resolution at snapshot timepoint changed from Active to Pending (#1606)- Removed
execute_single_call,execute_callsandassert_valid_signaturefrom openzeppelin_account::utils (#1531) VotesComponentnow supports customizable clock mechanisms viaERC6372Clock, enabling alternative clock sources (#1417)
Full Changes List
- Release v2.0.0-alpha.1 by @immrsd in #1423
- Bump snforge to 0.42.0 by @immrsd in #1429
- Release openzeppelin_testing v4.0.0 by @immrsd in #1430
- docs (README.md): add docs badge by @gap-editor in #1435
- Chore(deps): Bump DavidAnson/markdownlint-cli2-action from 19.1.0 to 20.0.0 by @dependabot[bot] in #1434
- Fix broken Components chapter link by @dizer-ti in #1433
- Bump snforge to 0.43.1 by @immrsd in #1436
- Release openzeppelin_testing v4.0.1 by @immrsd in #1438
- Bump snforge to 0.44.0 by @immrsd in #1439
- Release openzeppelin_testing v4.1.0 by @immrsd in #1442
- Chore(deps): Bump crate-ci/typos from 1.31.1 to 1.33.1 by @dependabot[bot] in #1448
- Chore(deps-dev): Bump @openzeppelin/docs-utils from 0.1.5 to 0.1.6 in /docs by @dependabot[bot] in #1450
- Replace broken OpenZeppelin reference by @davidjsonn in #1443
- Chore(deps): Bump stefanzweifel/git-auto-commit-action from 5.2.0 to 6.0.1 by @dependabot[bot] in #1453
- Add assert_valid_signature utility by @utgarda in #1444
- More ERC-4626 hooks by @immrsd in #1446
- Merge 2.0.0 release to main by @ericnordelo in #1457
- Bump snforge to 0.45.0 by @immrsd in #1456
- Release openzeppelin_testing v4.2.0 by @immrsd in #1458
- chore: fix 404 link udc.adoc by @eeemmmmmm in #1459
- Update UDC from_zero entries (to not_from_zero) by @ericnordelo in #1460
- Chore(deps): Bump crate-ci/typos from 1.33.1 to 1.34.0 by @dependabot[bot] in #1461
- Add AccessControlDefaultAdminRulesComponent by @ericnordelo in #1432
- Contract Clock for Votes by @immrsd in #1417
- Fuzz tests ERC1155 by @immrsd in #1348
- Fix macros linting by @immrsd in #1467
- Bump snforge to 0.46.0 by @immrsd in #1466
- Fuzz tests for Utils package by @immrsd in #1292
- Release openzeppelin_testing 4.3.0 by @immrsd in #1468
- Document udc deployment by @ericnordelo in #1447
- Mention starkli class-by-hash in UDC deployment guide by @ericnordelo in #1469
- Fuzz tests for StorePacking by @immrsd in #1296
- Release v3.0.0-alpha.0 by @immrsd in #1477
- Bump scarb to v2.12.0-rc.2 by @ericnordelo in #1479
- Bump snforge to 0.47.0 by @immrsd in #1482
- Release openzeppelin_testing 4.4.0 by @immrsd in #1483
- Chore(deps): Bump crate-ci/typos from 1.34.0 to 1.35.1 by @dependabot[bot] in #1484
- Update erc1155.adoc by @NeoByteXx in #1226
- Decouple interfaces package versioning by @ericnordelo in #1463
- Temporarily turn off fuzz tests by @immrsd in #1494
- Release openzeppelin-testing v4.5.0 by @ericnordelo in #1493
- Chore(deps): Bump actions/checkout from 4 to 5 by @dependabot[bot] in #1490
- ERC-4626 External Vault by @immrsd in #1454
- Chore(deps): Bump crate-ci/typos from 1.35.1 to 1.35.4 by @dependabot[bot] in #1496
- ERC-4626 Pass fee to hooks by @immrsd in #1452
- Release 3.0.0-alpha.1 by @ericnordelo in #1497
- Bump foundry to 0.48.1 and re-enable fuzzer tests by @ericnordelo in #1498
- Benchmark mock contract sizes by @ericnordelo in #1471
- Update contract sizes benchmark by @github-actions[bot] in #1499
- Check indexed keys by @ericnordelo in #1472
- Update contract sizes benchmark by @github-actions[bot] in #1500
- Chore(deps): Bump peter-evans/create-pull-request from 6 to 7 by @dependabot[bot] in #1503
- Chore(deps): Bump actions/checkout from 4 to 5 by @dependabot[bot] in #1502
- Release openzeppelin_testing v4.6.0 by @ericnordelo in #1501
- Chore(deps): Bump crate-ci/typos from 1.35.4 to 1.35.5 by @dependabot[bot] in #1507
- Chore(deps): Bump crate-ci/typos from 1.35.5 to 1.35.7 by @dependabot[bot] in #1514
- Update contract sizes benchmark by @github-actions[bot] in #1515
- Chore(deps): Bump crate-ci/typos from 1.35.7 to 1.36.0 by @dependabot[bot] in #1517
- Refactor proc macros into v2 by @ericnordelo in #1495
- Chore(deps): Bump crate-ci/typos from 1.36.0 to 1.36.2 by @dependabot[bot] in #1518
- Implement ERC2981Admin based on AccessControlDefaultAdminRules by @immrsd in #1516
- Update contract sizes benchmark by @github-actions[bot] in #1519
- Bump foundry to 0.49.0 by @immrsd in #1520
- Release openzeppelin_testing v4.7.0 by @immrsd in #1521
- Macros: Test missing ERC4626 traits by @immrsd in #1509
- Macros: Support AccessControlDefaultAdminRules by @immrsd in #1510
- Add MetaTxV0 wrapper by @ericnordelo in #1512
- Update contract sizes benchmark by @github-actions[bot] in #1524
- Release 3.0.0-alpha.2 by @immrsd in #1525
- Use with_components(AccessControlDefaultAdminRules) in mocks by @ericnordelo in #1530
- Fix interfaces package version references by @ericnordelo in #1527
- Update contract sizes benchmark by @github-actions[bot] in #1532
- Chore(deps): Bump crate-ci/typos from 1.36.2 to 1.36.3 by @dependabot[bot] in #1534
- Bump foundry to 0.50.0 by @immrsd in #1536
- Release openzeppelin_testing v5.0.0 by @immrsd in #1538
- Chore(deps): Bump crate-ci/typos from 1.36.3 to 1.37.1 by @dependabot[bot] in #1540
- Chore(deps): Bump crate-ci/typos from 1.37.1 to 1.37.2 by @dependabot[bot] in #1544
- Decouple utils and fix versioning by @ericnordelo in #1531
- Chore(deps): Bump crate-ci/typos from 1.37.2 to 1.38.1 by @dependabot[bot] in #1548
- Update contract sizes benchmark by @github-actions[bot] in #1546
- Update packages READMEs links by @ericnordelo in #1551
- Release v3.0.0-alpha.3 by @ericnordelo in #1550
- Improve
AccessControlDefaultAdminRulesadmin transfer delay change logic by @ericnordelo in #1567 - Clarify
EIP-6372clock bounds by @immrsd in #1600 - Remove unused
NEGATIVE_FEEerror by @immrsd in #1599 - Clarify
ERC-4626fees flow by @immrsd in #1602 - Clarify
Governorvoting start by @immrsd in #1598 - Governor: fix state at snapshot by @immrsd in #1606
- Add
v3.0.0audit report by @immrsd in #1612
New Contributors
- @gap-editor made their first contribution in #1435
- @dizer-ti made their first contribution in #1433
- @utgarda made their first contribution in #1444
- @eeemmmmmm made their first contribution in #1459
- @NeoByteXx made their first contribution in #1226
Full Changelog: v2.0.0...v3.0.0