Releases: OpenZeppelin/cairo-contracts
Releases · OpenZeppelin/cairo-contracts
v3.0.0
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 ...
v3.0.0-alpha.3
Summary
Added
execute_single_call,execute_callsandassert_valid_signatureto openzeppelin_utils::execution (#1531)
Changed
- 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)
Changed (Breaking)
- Removed
execute_single_call,execute_callsandassert_valid_signaturefrom openzeppelin_account::utils (#1531)
Full Changes List
- 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
Full Changelog: v3.0.0-alpha.2...v3.0.0-alpha.3
v3.0.0-alpha.2
Summary
Added
- MetaTransactionV0 preset, interface, and dispatchers (#1512)
- Embeddable
ERC2981AdminAccessControlDefaultAdminRulesImplimplementation providing admin functions for aERC2981token based onAccessControlDefaultAdminRulescomponent (#1516)
Full Changes List
- 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
New Contributors
- @github-actions[bot] made their first contribution in #1499
Full Changelog: v3.0.0-alpha.1...v3.0.0-alpha.2
v3.0.0-alpha.1
Summary
Added
AssetsManagementTraitdefining how assets are managed inERC4626Component(#1454)openzeppelin_interfacespackage (#1463)
Changed
- Bump scarb to 2.12.0 (#1463)
Changed (Breaking)
ERC4626Componentnow supports alternative asset management strategies (e.g., external vault) via the addedAssetsManagementTrait(#1454)ERC4626Componentnow supports charging fees in shares as well as in assets via the refactoredFeeConfigTrait(#1452)- Additional input parameters were added to the
ERC4626HooksTraitfunctions (#1452) - Moved interfaces, ABIs and dispatchers into
openzeppelin_interfaces(#1463)- Some structs and types that were defined inside interface files were also moved
Full Changes List
- 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
New Contributors
- @NeoByteXx made their first contribution in #1226
Full Changelog: v3.0.0-alpha.0...v3.0.0-alpha.1
v3.0.0-alpha.0
Summary
Added
ERC6372Clockinterface toopenzeppelin_utils::contract_clock(#1417)- AccessControlDefaultAdminRules interface and component (#1432)
Changed
GovernorComponentand its extensions support voting tokens that follow theERC6372clock standard (#1417)
Changed (Breaking)
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
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
Full Changelog: v2.0.0...v3.0.0-alpha.0
v2.0.0
Summary
Added
- ERC4626Component (#1170)
openzeppelin_macrospackage with thewith_componentsmacro (#1282)- Support for granting a role with delay in AccessControl component (#1317)
type_hashmacro (#1399)Math::u256_mul_div(#1170)
Changed
- Bump scarb to v2.11.4 (#1373)
Changed (Breaking)
- Add SRC-107 to ERC20Component (#1294)
decimalsare now configurable using the ImmutableConfig trait
- Update UDC interface and preset for backward compatibility with v1 (#1371)
- Change
from_zeroargument tonot_from_zeroin both the interface and the
ContractDeployed event - Add
deployContractfunction to the preset - Update salt hashing algorithm from Poseidon to Pedersen
- Change
- Update ISRC6 interface to match latest changes reflected in the SNIP (#1383)
__execute__entry point now doesn't return any value- Account and EthAccount components SRC6 implementation updated accordingly
Full Changes List
- Update scarb version in docs by @ericnordelo in #1233
- Add Governor documentation by @ericnordelo in #1235
- Bump scarb to v2.9.1 by @andrew-fleming in #1239
- Fix transient deps by @andrew-fleming in #1249
- Add Governor to governance README by @ericnordelo in #1250
- Release v0.20.0 by @andrew-fleming in #1252
- Fix doc example by @ericnordelo in #1256
- Bump scarb to 2.9.2 by @ericnordelo in #1259
- Multisig Docs by @immrsd in #1254
- Add wizard to README by @ericnordelo in #1267
- Fix broken link in UDC doc by @ericnordelo in #1271
- docs: fix message type hash in snip12 guide #1273 by @trishtzy in #1274
- Fix permit hash by @andrew-fleming in #1283
- Fuzz testing by @immrsd in #1255
- comment where "SCR5 by @Dahka2321 in #1288
- Add Multisig to Governance README by @ericnordelo in #1295
- Update LICENSE by @ericglau in #1304
- Fix Multisig quorum issue by @immrsd in #1300
- Trace lookup minor optimization by @immrsd in #1293
- Fix Governor timelock salt by @ericnordelo in #1305
- Fix SignersInfo packing issue by @immrsd in #1301
- Prevent potential bitwise operations issue by @ericnordelo in #1309
- Fix timelock operation hash (main) by @andrew-fleming in #1314
- Fix typo in ERC1155 documentation by @PixelPil0t1 in #1321
- docs: fix broken and outdated links in documentation by @youyyytrok in #1322
- Add SRC107 to ERC20 (simpler customizable decimals) by @ericnordelo in #1294
- Add erc4626 by @andrew-fleming in #1170
- Add DefaultConfig to erc20 mock by @andrew-fleming in #1327
- chore: fix errors in docs by @strmfos in #1328
- chore: fix errors in comments / functions by @Fallengirl in #1330
- Fix-test: simplify panic message syntax in should_panic by @CaptainLEVI-XXX in #1332
- fix common.cairo by @reject-i in #1334
- Fix/update license paths by @CaptainLEVI-XXX in #1335
- Update erc4626.cairo by @rnkrtt in #1337
- renamed comment interface.cairo by @Bilogweb3 in #1341
- Merge release v1.0.0 into main by @ericnordelo in #1345
- Fix typos in
README.mdandCHANGELOG.mdfiles by @Dimitrolito in #1253 - deleted double space interface.cairo by @futreall in #1359
- preposition fix and grammatical improvement by @Alex-Roleks in #1360
- Bump foundry to 0.38.0 and scarb to 2.10.1 by @ericnordelo in #1362
- Fix time complexity notation from 0(1) to O(1) by @sky-coderay in #1364
- spelling and grammar issues by @Danyylka in #1365
- Add audit report (duplicate to main) by @immrsd in #1367
- fix errors test_erc721_enumerable.cairo by @rnkrtt in #1370
- issue in comment by @Danyylka in #1369
- Make UDC v2 BC by @ericnordelo in #1371
- Add macros package and the with_components macro by @ericnordelo in #1282
- Decouple openzeppelin testing versioning by @ericnordelo in #1366
- Bump scarb to 2.11 by @ericnordelo in #1373
- Release openzeppelin_testing v2.0.0 by @ericnordelo in #1377
- Bump scarb to 2.11.3 by @ericnordelo in #1379
- Add optional delay to AccessControl role grants by @immrsd in #1317
- Update ISRC6 interface by @ericnordelo in #1383
- deleted double space votes.adoc by @sky-coderay in #1389
- Add erc4626 docs by @ericnordelo in #1380
- Release v2.0.0-alpha.0 by @ericnordelo in #1388
- Adding docs to interface methods [account/interface] by @abrarabedin001 in #1381
- Use panic_with_const_felt252 by @immrsd in #1396
- Bump snforge to 0.40.0 by @immrsd in #1407
- Bump snforge to 0.41.0 by @immrsd in #1409
- Release openzeppelin_testing v3.0.0 by @immrsd in #1410
- Fix version and link in
audits/by @andrew-fleming in #1412 - correction link README.md by @davidjsonn in #1413
- Adding docs to interface methods [erc20/interface] by @abrarabedin001 in #1402
- Add derive TypeHash macro by @ericnordelo in #1399
- Update documentation example by @ericnordelo in #1411
- Enable governor modules in with components macro (and refactor) by @ericnordelo in #1414
- Use with comps macro in mocks by @ericnordelo in #1391
- docs: added shield and license link by @Olexandr88 in #1405
- docs: update presets page by @ericnordelo in #1420
- Bump Scarb to 2.11.4 by @immrsd in #1422
- Document erc4626 hooks reentrancy potential by @ericnordelo in #1449
- Release 2.0.0 by @ericnordelo in #1455
New Contributors
- @trishtzy made their first contribution in #1274
- @Dahka2321 made their first contribution in #1288
- @PixelPil0t1 made their first contribution in #1321
- @strmfos made their first contribution in #1328
- @Fallengirl made their first contribution in #1330
- @CaptainLEVI-XXX made their first contribution in #1332
- @reject-i made their first contribution in #1334
- @rnkrtt made their first contribution in #1337
- @Bilogweb3 made their first contribution in #1341
...
v2.0.0-alpha.1
Summary
Added
Full Changes List
- Adding docs to interface methods [account/interface] by @abrarabedin001 in #1381
- Chore(deps): Bump crate-ci/typos from 1.30.2 to 1.30.3 by @dependabot in #1393
- Chore(deps): Bump crate-ci/typos from 1.30.3 to 1.31.1 by @dependabot in #1398
- Use panic_with_const_felt252 by @immrsd in #1396
- Bump snforge to 0.40.0 by @immrsd in #1407
- Bump snforge to 0.41.0 by @immrsd in #1409
- Release openzeppelin_testing v3.0.0 by @immrsd in #1410
- Fix version and link in
audits/by @andrew-fleming in #1412 - correction link README.md by @davidjsonn in #1413
- Chore(deps): Bump stefanzweifel/git-auto-commit-action from 5.1.0 to 5.2.0 by @dependabot in #1415
- Adding docs to interface methods [erc20/interface] by @abrarabedin001 in #1402
- Add derive TypeHash macro by @ericnordelo in #1399
- Update documentation example by @ericnordelo in #1411
- Enable governor modules in with components macro (and refactor) by @ericnordelo in #1414
- Use with comps macro in mocks by @ericnordelo in #1391
- docs: added shield and license link by @Olexandr88 in #1405
- docs: update presets page by @ericnordelo in #1420
- Bump Scarb to 2.11.4 by @immrsd in #1422
New Contributors
- @abrarabedin001 made their first contribution in #1381
- @davidjsonn made their first contribution in #1413
- @Olexandr88 made their first contribution in #1405
Full Changelog: v2.0.0-alpha.0...v2.0.0-alpha.1
v2.0.0-alpha.0
Summary
Added
- Add support for granting a role with delay in the AccessControl component (#1317)
- Add the openzeppelin_macros package with the
with_componentsmacro (#1282) - Add ERC4626Component (#1170)
- Add
Math::u256_mul_div(#1170)
Changed
- Bump scarb to v2.11.1 (#1373)
Changed (Breaking)
- Add SRC-107 to ERC20Component (#1294)
decimalsare now configurable using the ImmutableConfig trait
- Update UDC interface and preset for backward compatibility with v1 (#1371)
- Change
from_zeroargument tonot_from_zeroin both the interface and theContractDeployedevent - Add
deployContractfunction to the preset - Update salt hashing algorithm from Poseidon to Pedersen
- Change
- Update ISRC6 interface to match latest changes reflected in the SNIP (#1383)
__execute__entry point now doesn't return any value- Account and EthAccount components ISRC6 implementation updated accordingly
Full Changes List
- Update scarb version in docs by @ericnordelo in #1233
- Add Governor documentation by @ericnordelo in #1235
- Bump scarb to v2.9.1 by @andrew-fleming in #1239
- Fix transient deps by @andrew-fleming in #1249
- Add Governor to governance README by @ericnordelo in #1250
- Release v0.20.0 by @andrew-fleming in #1252
- Fix doc example by @ericnordelo in #1256
- Bump scarb to 2.9.2 by @ericnordelo in #1259
- Multisig Docs by @immrsd in #1254
- Add wizard to README by @ericnordelo in #1267
- Fix broken link in UDC doc by @ericnordelo in #1271
- docs: fix message type hash in snip12 guide #1273 by @trishtzy in #1274
- Fix permit hash by @andrew-fleming in #1283
- Fuzz testing by @immrsd in #1255
- comment where "SCR5 by @Dahka2321 in #1288
- Add Multisig to Governance README by @ericnordelo in #1295
- Update LICENSE by @ericglau in #1304
- Fix Multisig quorum issue by @immrsd in #1300
- Trace lookup minor optimization by @immrsd in #1293
- Fix Governor timelock salt by @ericnordelo in #1305
- Fix SignersInfo packing issue by @immrsd in #1301
- Prevent potential bitwise operations issue by @ericnordelo in #1309
- Fix timelock operation hash (main) by @andrew-fleming in #1314
- Fix typo in ERC1155 documentation by @PixelPil0t1 in #1321
- docs: fix broken and outdated links in documentation by @youyyytrok in #1322
- Add SRC107 to ERC20 (simpler customizable decimals) by @ericnordelo in #1294
- Add erc4626 by @andrew-fleming in #1170
- Add DefaultConfig to erc20 mock by @andrew-fleming in #1327
- chore: fix errors in docs by @strmfos in #1328
- chore: fix errors in comments / functions by @Fallengirl in #1330
- Fix-test: simplify panic message syntax in should_panic by @CaptainLEVI-XXX in #1332
- fix common.cairo by @reject-i in #1334
- Fix/update license paths by @CaptainLEVI-XXX in #1335
- Update erc4626.cairo by @Guayaba221 in #1337
- renamed comment interface.cairo by @Bilogweb3 in #1341
- Merge release v1.0.0 into main by @ericnordelo in #1345
- Fix typos in
README.mdandCHANGELOG.mdfiles by @Dimitrolito in #1253 - deleted double space interface.cairo by @futreall in #1359
- preposition fix and grammatical improvement by @Alex-Roleks in #1360
- Bump foundry to 0.38.0 and scarb to 2.10.1 by @ericnordelo in #1362
- Fix time complexity notation from 0(1) to O(1) by @sky-coderay in #1364
- spelling and grammar issues by @Danyylka in #1365
- Add audit report (duplicate to main) by @immrsd in #1367
- fix errors test_erc721_enumerable.cairo by @Guayaba221 in #1370
- issue in comment by @Danyylka in #1369
- Make UDC v2 BC by @ericnordelo in #1371
- Add macros package and the with_components macro by @ericnordelo in #1282
- Decouple openzeppelin testing versioning by @ericnordelo in #1366
- Bump scarb to 2.11 by @ericnordelo in #1373
- Release openzeppelin_testing v2.0.0 by @ericnordelo in #1377
- Bump scarb to 2.11.3 by @ericnordelo in #1379
- Add optional delay to AccessControl role grants by @immrsd in #1317
- Update ISRC6 interface by @ericnordelo in #1383
- deleted double space votes.adoc by @sky-coderay in #1389
- Add erc4626 docs by @ericnordelo in #1380
- Release v2.0.0-alpha.0 by @ericnordelo in #1388
New Contributors
- @trishtzy made their first contribution in #1274
- @Dahka2321 made their first contribution in #1288
- @PixelPil0t1 made their first contribution in #1321
- @strmfos made their first contribution in #1328
- @Fallengirl made their first contribution in #1330
- @CaptainLEVI-XXX made their first contribution in #1332
- @reject-i made their first contribution in #1334
- @Guayaba221 made their first contribution in #1337
- @Bilogweb3 made their first contribution in #1341
- @Dimitrolito made their first contribution in #1253
- @futreall made their first contribution in #1359
- @Alex-Roleks made their first contribution in #1360
- @sky-coderay made their first contribution in #1364
- @Danyylka made their first contribution in #1365
Full Changelog: v1.0.0...v2.0.0-alpha.0
v1.0.0
Summary
Added
- ERC721Component
initializer_no_metadata(#1278) - ERC1155Component
initializer_no_metadata(#1287) - Unsigned trait restriction to the
averagefunction (#1310)
Changed (Breaking)
- Bump scarb to v2.9.4 (#1336)
Fixed (Breaking)
- SNIP12 TimelockComponent
hash_operationto usehash_operation_batchfor single-call operations (#1313) - Permit and Message SNIP12 type hashes (#1283)
Fixed
- Multisig component issue arising when removing signers with unchanged quorum (#1315)
- Governor timelock extension salt generation panicking on overflow (#1306)
- SignersInfoStorePacking issue with bit operations (#1316)
- Message type hash in SNIP12 doc (#1274)
Full Changes List
- Fix permit hash on v1 by @andrew-fleming in #1285
- Add
initializer_no_metadatato erc1155 component by @andrew-fleming in #1287 - Add
initializer_no_metadatato erc721 component by @andrew-fleming in #1278 - Fix Governor timelock salt release branch by @ericnordelo in #1306
- Update license (into release) by @ericglau in #1312
- Prevent potential bitwise operations issue (into release) by @ericnordelo in #1310
- Fix timelock operation hash (release) by @andrew-fleming in #1313
- Fix Multisig quorum issue (v1.0.0) by @immrsd in #1315
- Fix SignerInfo packing issue (v1.0.0) by @immrsd in #1316
- Fix Changelog and versions for release by @ericnordelo in #1307
- fix links to the release-v1.0.0 by @youyyytrok in #1324
- Update governance readme by @immrsd in #1325
- Bump scarb to 2.9.3 and add Debug and PartialEq to component events by @ericnordelo in #1336
- Bump scarb to 2.9.4 by @ericnordelo in #1339
- Remove README no-audit disclaimer by @ericnordelo in #1342
Full Changelog: v0.20.0-rc.0...v1.0.0
v0.20.0
Summary
Added
- SRC9 (Outside Execution) integration to account presets (#1201)
SNIP12HashSpanImpltoopenzeppelin_utils::cryptography::snip12(#1180)- GovernorComponent with the following extensions: (#1180)
- GovernorCoreExecutionComponent
- GovernorCountingSimpleComponent
- GovernorSettingsComponent
- GovernorTimelockExecutionComponent
- GovernorVotesQuorumFractionComponent
- GovernorVotesComponent
is_tx_version_validutility function toopenzeppelin_account::utils(#1224)
Changed
- Remove
mutfromdataparam incompute_hash_on_elements(#1206) - Remove
mutfromcallsparam in__execute__function of Account and EthAccount components (#1224) - Remove
mutfromcallsparam in__validate__function of Account and EthAccount components (#1224)
Changed (Breaking)
- Bump snforge_std to v0.34.0 (#1239)
- Bump scarb to v2.9.1 (#1239)
- The initializer in
OwnableComponentnow checks thatowneris not the zero address (#1221) - Add
verifying_contractmember to theDelegationstruct used in Votesdelegate_by_sig(#1214)
use crate::votes::VotesComponent::VotingUnitsTrait; - VotingUnitsTrait moved from
openzeppelin_governance::votes::votestoopenzeppelin_governance::votes::VotesComponent(#1214) - VestingComponent
releasefunction won't emit an event or attempt to transfer when the amount is zero (#1209) - Bump snforge_std to v0.33.0 (#1203)
Fixed
- Scarb manifest dependencies (#1249):
- Move
openzeppelin_utilsfrom dev dep to dep in governance manifest - Remove
openzeppelin_utilsas dep in access package - Change
openzeppelin_accounttocrateinsrc9.cairo
- Move
Full Changes List
- Release v0.19.0 by @immrsd in #1204
- Add src9 component to account presets by @ericnordelo in #1201
- Chore(deps): Bump crate-ci/typos from 1.27.2 to 1.27.3 by @dependabot in #1205
- Bump snforge, unignore tests by @andrew-fleming in #1203
- Minor improvements for the introspection module by @ericnordelo in #1210
- Minor improvements for the token module by @ericnordelo in #1208
- Minor improvements for the finance module by @ericnordelo in #1209
- Fix missing -m flag in git commit command Update CONTRIBUTING.md by @famouswizard in #1215
- Update README by @ericnordelo in #1216
- Minor improvements to testing package by @andrew-fleming in #1212
- Minor improvements to the merkle tree package by @andrew-fleming in #1213
- Minor governance module improvements plus adding veryfing_contract to Delegation by @ericnordelo in #1214
- Refactor Development Cycle Documentation for Clarity and Consistency by @donatik27 in #1217
- Update Merkle Tree documentation to use Pedersen hash function by @Hopium21 in #1220
- Chore(deps): Bump DavidAnson/markdownlint-cli2-action from 17.0.0 to 18.0.0 by @dependabot in #1219
- Bump scarb version to 2.8.5 by @ericnordelo in #1222
- Minor improvements to Utils package by @andrew-fleming in #1206
- Minor improvements to Upgrades package by @immrsd in #1225
- Clean up and small refactors to the access module by @ggonzalez94 in #1221
- Minor improvements to Account package by @immrsd in #1224
- Add Governor component by @ericnordelo in #1180
- Pre-release 0.20.0-rc.0 by @ericnordelo in #1227
- Chore(deps): Bump crate-ci/typos from 1.27.3 to 1.28.0 by @dependabot in #1231
- Update scarb version in docs by @ericnordelo in #1233
- Chore(deps): Bump crate-ci/typos from 1.28.0 to 1.28.1 by @dependabot in #1236
- Chore(deps): Bump crate-ci/typos from 1.28.1 to 1.28.2 by @dependabot in #1240
- Add Governor documentation by @ericnordelo in #1235
- Bump scarb to v2.9.1 by @andrew-fleming in #1239
- Fix transient deps by @andrew-fleming in #1249
- Add Governor to governance README by @ericnordelo in #1250
New Contributors
- @famouswizard made their first contribution in #1215
- @donatik27 made their first contribution in #1217
- @Hopium21 made their first contribution in #1220
Full Changelog: v0.19.0...v0.20.0