Summary
Added
- ERC4626Component (#1170)
openzeppelin_macros
package with thewith_components
macro (#1282)- Support for granting a role with delay in AccessControl component (#1317)
type_hash
macro (#1399)Math::u256_mul_div
(#1170)
Changed
- Bump scarb to v2.11.4 (#1373)
Changed (Breaking)
- Add SRC-107 to ERC20Component (#1294)
decimals
are now configurable using the ImmutableConfig trait
- Update UDC interface and preset for backward compatibility with v1 (#1371)
- Change
from_zero
argument tonot_from_zero
in both the interface and the
ContractDeployed event - Add
deployContract
function 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.md
andCHANGELOG.md
files 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
- @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
- @abrarabedin001 made their first contribution in #1381
- @Olexandr88 made their first contribution in #1405
Full Changelog: v1.0.0...v2.0.0