What's Changed
Key points:
- Improved Extensibility pattern, based on namespaces
- New accounts (improved library + new
EthAccount
preset) - AccessControl and ReentrancyGuard libraries
- Support for Cairo 0.9.0
Full changelog:
- dev: removing duplicate function by @milancermak in #234
- Set interface ids as constants by @andrew-fleming in #216
- use
tx_info.transaction_hash
instead ofhash_multicall
in Account by @juniset in #233 - Fix pytest warnings, move
event_loop
to conftest.py by @andrew-fleming in #231 - Update documentation by @andrew-fleming in #214
- Fix decorator by @andrew-fleming in #243
- Add contributing file by @JulissaDantes in #230
- Integrate safemath into token contracts by @andrew-fleming in #222
- Add memoization to erc20 by @andrew-fleming in #217
- Rename cairo contracts -> oz contracts for cairo by @martriay in #248
- Update readme by @martriay in #245
- Add parallel testing by @andrew-fleming in #235
- Update contributing by @JulissaDantes in #251
- Implement a reentrancy guard by @JulissaDantes in #236
- Remove decorator, unused function, and import by @andrew-fleming in #253
- dev: support for cairo-lang 0.8.1 in tests by @milancermak in #260
- remove src from import paths by @martriay in #264
- Update README.md by @JulissaDantes in #255
- Update links in docs by @ericglau in #270
- replace constants' TRUE and FALSE in favor of native ones by @martriay in #265
- fix: change
initialized
visibility to@view
by @0xSidius in #276 - Prefer cairo syntax highlighting in Markdown files by @rootulp in #278
- More cairo syntax highlighting by @rootulp in #280
- Pin marshmallow and cairo-lang, gitignore node.json by @andrew-fleming in #286
- Fix IAccount import by @andrew-fleming in #292
- Reformat docs and fix ERC721 import example by @andrew-fleming in #284
- Refactor erc20 around the _spendAllowance function by @Amxx in #240
- Add Solidity/Cairo upgrades comparison by @andrew-fleming in #272
- Add namespace to ERC165 by @andrew-fleming in #298
- Add namespace to Upgrades by @andrew-fleming in #300
- dockerized testing by @koloz193 in #299
- Use Nile's Signer by @andrew-fleming in #283
- Separate
Initializable
into lib/contract, integrate namespace by @andrew-fleming in #301 - Update Account to namespace, fix docs by @andrew-fleming in #297
- Integrate namespace into ReentrancyGuard by @andrew-fleming in #305
- Integrate namespace and events to Pausable by @andrew-fleming in #310
- Update extensibility pattern by @martriay in #303
- added pull request template by @koloz193 in #316
- Update cairo-lang in tox by @andrew-fleming in #325
- Add parallel testing section to readme by @andrew-fleming in #320
- Fix
is_valid_signature
decorator by @martriay in #330 - Move ERC165 (Introspection) docs to its own page by @andrew-fleming in #322
- Add missing section to extensibility docs by @andrew-fleming in #332
- Rename library constructors to initializers by @martriay in #319
- Integrate namespace in SafeMath by @andrew-fleming in #311
- Refactor Ownable by @Amxx in #244
- Fix erc165 link by @andrew-fleming in #343
- Fix Account reentrant signature reutilization bug by @andrew-fleming in #347
- Add security advisory about Account vulnerability in README by @spalladino in #349
- Add return value to is_valid_signature by @pscott in #338
- Add error message for invalid nonce error by @jonasalexander in #355
- remove unnecessary
alloc_locals
in erc20 library by @andrew-fleming in #358 - Optimize
_remove_token_from_all_tokens_enumeration
by @andrew-fleming in #326 - Add SECURITY.md by @nikitastupin in #353
- Add markdown linter to CI by @andrew-fleming in #342
- Fix erc721
transferFrom
comment by @andrew-fleming in #341 - Use of namespaces for ERC721 & ERC721Enumerable by @Amxx in #296
- Fix
TestSigner
pytest warning by @andrew-fleming in #367 - Add RELEASING.md by @martriay in #363
- Add access docs for Ownable by @andrew-fleming in #352
- Update to cairo v0.9.0 by @andrew-fleming in #364
- Eth account support by @JulissaDantes in #361
- Fix misleading instructions in README by @andrew-fleming in #371
- Remove duplicate entry in
.github/ISSUE_TEMPLATE/feature_request.md
by @nikitastupin in #375 - Implement AccessControl by @martriay in #373
- Bump SPDX Licence ids to 0.2.0 by @martriay in #376
New Contributors
- @milancermak made their first contribution in #234
- @JulissaDantes made their first contribution in #230
- @ericglau made their first contribution in #270
- @0xSidius made their first contribution in #276
- @rootulp made their first contribution in #278
- @koloz193 made their first contribution in #299
- @spalladino made their first contribution in #349
- @pscott made their first contribution in #338
- @jonasalexander made their first contribution in #355
- @nikitastupin made their first contribution in #353
Full Changelog: 0.1.0...v0.2.0