Releases: OpenZeppelin/cairo-contracts
Releases · OpenZeppelin/cairo-contracts
v0.13.0
Summary
Added
- Sending transactions section in account docs (#981)
- before_update and after_update hooks to ERC721Component (#978)
- before_update and after_update hooks to ERC1155Component (#982)
Changed (Breaking)
- ERC721Component internal implementation to support transfer, mint, and burn flows going through an
_update
function (#978) - ERC721Component implementations now require an ERC721HooksTrait implementation in scope (#978)
- ERC1155Component implementations now require an ERC1155HooksTrait implementation in scope (#982)
- AccountComponent, preset, and dispatcher now require a
signature
param in the public-key-setter functions (#989) - EthAccountComponent, preset, and dispatcher now require a
signature
param in the public-key-setter functions (#990)
Full Changes List
- fix old interface traits by @kamuik16 in #986
- Add ERC1155 Hooks by @ericnordelo in #982
- Add ERC721 hooks by @ericnordelo in #978
- Add account usage guide by @andrew-fleming in #981
- Validate new public key in Account by @ericnordelo in #989
- Validate new public key in EthAccount by @ericnordelo in #990
- Release v0.13.0 by @ericnordelo in #992
New Contributors
Full Changelog: v0.12.0...v0.13.0
v0.12.0
Summary
Added
- before_update and after_update hooks to ERC20Component (#951)
- INSUFFICIENT_BALANCE and INSUFFICIENT_ALLOWANCE errors to ERC20Component (#951)
- ERC20Votes component (#951)
- Preset interfaces (#964)
- UDC docs (#954)
- Util functions to precompute addresses (#954)
Changed
- Allow testing utilities to be importable (#963)
- Utilities documentation (#963)
- Parameter name in
tests::utils::drop_events
(count
->n_events
) (#963) - Presets to include upgradeable functionality (#964)
- ERC20, ERC721, and ERC1155 presets include Ownable functionality (#964)
- EthAccount
- Expected signature format changed from
(r, s, y)
to(r, s)
(#940)
- Expected signature format changed from
Full Changes List
- Release v0.11.0 by @ericnordelo in #958
- chore: add auto check typos flow when RP by @momodaka in #957
- Add custom order to presets page by @ericnordelo in #967
- Allow importable test utils, update utils docs by @andrew-fleming in #963
- Update docs with mixin when applicable by @ericnordelo in #966
- Migrate ERC20Votes to component by @ericnordelo in #951
- ERC20Votes docs by @ericnordelo in #962
- Add udc docs by @andrew-fleming in #954
- Add upgrades to presets by @andrew-fleming in #964
- Remove y from EthAccount signature. by @ericnordelo in #940
- Update cairo syntax highlighting by @ericnordelo in #976
- Release v0.12.0 by @andrew-fleming in #977
Full Changelog: v0.11.0...v0.12.0
v0.11.0
Summary
Added
- SNIP12 utilities for on-chain typed messages hash generation (#935)
- Nonces component utility (#935)
- Presets Usage guide (#949)
- UDC preset contract (#919)
- ERC1155Component and ERC1155ReceiverComponent mixins (#941)
- ERC721ReceiverComponent documentation (#945)
Changed
- Bump scarb to v2.6.3 (#946)
Fixed
- ERC721ReceiverComponent mixin embeddable implementation name (#945)
Removed
Full Changes List
- Release v0.10.0 by @andrew-fleming in #937
- Bump scarb to 2.6.x by @ericnordelo in #946
- Remove dualcase SRC5 by @TAdev0 in #882
- fix: ERC721 example by @Vojtch159 in #947
- Document ERC721ReceiverComponent by @ericnordelo in #945
- Add ERC1155 mixin by @andrew-fleming in #941
- Migrate UDC by @andrew-fleming in #919
- Remove DualCaseSRC5 trait and impl by @andrew-fleming in #952
- Add presets usage by @andrew-fleming in #949
- fix: fix all typos issue by @momodaka in #956
- SNIP 12 Utilities by @ericnordelo in #935
New Contributors
- @Vojtch159 made their first contribution in #947
- @momodaka made their first contribution in #956
Full Changelog: v0.10.0...v0.11.0
v0.10.0
Summary
Added
- ERC1155 component and preset (#896)
- Mixin implementations in components (#863)
- ERC721Component functions and Storage member
Changed
- Change
unwrap
tounwrap_syscall
(#901) - ERC20Component
IERC20::name
andIERC20::symbol
return ByteArrays instead of felts (#857)
- ERC721Component
Removed
- ERC721Component function and Storage member
Full changes list
- Remove gh pat by @martriay in #907
- Release v0.9.0 by @ericnordelo in #909
- Change
unwrap
tounwrap_syscall
by @andrew-fleming in #901 - Ensure option is used to remove warning by @glihm in #910
- Normalize tests by @ericnordelo in #918
- Add presets page update on release workflow by @ericnordelo in #883
- Add
DEVELOPMENT.md
by @martriay in #914 - Pass library version to Wizard in docs - main by @ericglau in #929
- Add ERC1155 by @ericnordelo and @cloudvenger in #896
- Add mixins by @andrew-fleming in #863
- Use
ByteArray
for strings by @andrew-fleming in #857 - ERC1155 docs by @ericnordelo and @cloudvenger in #920
- Improve
pop_log
util by @andrew-fleming in #893 - Sort class hashes in workflow by @ericnordelo in #938
New Contributors
- @glihm made their first contribution in #910
- @cloudvenger made their first contribution in #896
Full Changelog: v0.9.0...v0.10.0
v0.9.0
Summary
Added
Changed
Removed
- Non standard increase_allowance and decrease_allowance functions in ERC20 contract (#881)
Full changes list
- Improve tests by @ericnordelo in #864
- Add CI version bump by @martriay in #862
- Address versioning and presets issues by @martriay in #879
- Add EthAccount by @ericnordelo in #853
- Support Cairo 2.5.0 by @andrew-fleming in #898
- Remove non-standard increase_allowance and decrease_allowance from ERC20 by @TAdev0 in #881
- dev: two step ownable by @milancermak in #809
New Contributors
Full Changelog: v0.8.1...v0.9.0
v0.8.1
Summary
Added
- Documentation for SRC5 migration (#821)
- Usage docs (#823)
- Utilities documentation (#825)
- Documentation for presets (#832)
- Backwards compatibility notice (#861)
Changed
- Use ComponentState in tests (#836)
- Docsite navbar (#838)
- Support higher tx versions in Account (#858)
- Bump scarb to v2.4.1 (#858)
- Add security section to Upgrades docs (#861)
Full changes list
- Bump to 0.8.0 by @andrew-fleming in #834
- Update PULL_REQUEST_TEMPLATE.md by @martriay in #827
- Update RELEASING and CONTRIBUTING by @martriay in #828
- Add
ERC721ABI
and fix other abis by @andrew-fleming in #761 - Update utility docs by @ericnordelo in #825
- Add in-code docs by @andrew-fleming in #822
- Fix implementation name in docs by @ericnordelo in #840
- Improve component tests with ComponentState by @ericnordelo in #836
- Document SRC5 migration by @andrew-fleming in #821
- Document Class Hashes by @ericnordelo in #832
- Update extensibility docs by @andrew-fleming in #823
- Update docs navbar by @martriay in #838
- Add marginal docs improvements by @martriay in #855
- Proofreading the docs by @Ursulafe in #865
- Support higher tx versions in Account by @andrew-fleming in #858
- add compatibility notice by @martriay in #861
- Backport doc fixes to
release-v0.8.1
by @martriay in #884
New Contributors
Full Changelog: v0.8.0...v0.8.1
v0.8.0
What's Changed
Added
- Account preset by @ericnordelo in #803
- ERC20 preset by @andrew-fleming in #810
- ERC721 preset by @andrew-fleming in #811
Migrated to Component
- Account by @ericnordelo in #783
- AccessControl by @ericnordelo in #770
- Ownable by @ericnordelo in #768
- SRC5 by @ericnordelo in #767
- Initializable by @andrew-fleming in #764
- Pausable by @andrew-fleming in #773
- ReentrancyGuard by @andrew-fleming in #775
- ERC20 by @andrew-fleming in #780
- ERC721 by @andrew-fleming in #790
- Upgrades by @ericnordelo in #792
Changed
- Fix links in doc site by @ericnordelo in #776
- Fix typos by @xiaolou86 in #784
- Add mentions to our public roadmap by @martriay in #793
- Bump scarb and cairo to 2.3.0 by @ericnordelo in #797
- Fix typos by @martriay in #800
- Fix headers in docs by @ericnordelo in #808
- Remove cairo-2 branch from test.yml by @martriay in #802
- Update security docs by @ericnordelo in #794
- Update overview code sample by @ericnordelo in #819
- Update erc721 docs by @andrew-fleming in #763
New Contributors
- @xiaolou86 made their first contribution in #784
Full Changelog: v0.7.0...v0.8.0
v0.6.1
What's Changed
- Add finalize_keccak to is_valid_eth_signature by @andrew-fleming in #542
- Bump to v0.6.1 by @andrew-fleming in #543
Full Changelog: v0.6.0...v0.6.1
v0.6.0
What's Changed
Added
- ERC1155 by @martriay in #525
- UDC docs by @andrew-fleming in #526
- Warning notice for direct github installations by @andrew-fleming in #524
Changed
- Renamed
isApprovedForAll
return variable name (isApproved
->approved
) in ERC721 by @martriay in #525 - Expanded dependent interfaces (e.g.
IERC721.cairo
now includesIERC165.cairo
functions) by @martriay in #525 .adoc
files now taken into account byupdate_version.py
script by @ericnordelo in #535
Full Changelog: v0.5.1...v0.6.0
v0.5.1
What's Changed
- Integrate test coverage with nile-coverage by @ericnordelo in #494
- Fix test implementation in ERC721BaseSuite.py by @Pilouche in #512
- Support Cairo 0.10.1 by @martriay in #503
- Remove version bump automation by @andrew-fleming in #520
New Contributors
Full Changelog: v0.5.0...v0.5.1