v0.18.0
Summary
Added
VotesComponentwith implementation for ERC721 and ERC20 tokens (#1114)IUpgradeAndCallinterface (#1148)upgrade_and_callfunction in UpgradeableComponent's InternalImpl (#1148)ERC20Permitimpl forERC20Componentfacilitating token approvals via off-chain signatures (#1140)ISNIP12Metadatainterface for discovering name and version of a SNIP-12 impl (#1140)SNIP12MetadataExternalimpl ofISNIP12Metadatainterface forERC20Component(#1140)
Changed
- Bump scarb to v2.8.4 (#1146)
Changed (Breaking)
- Remove
ERC20Votescomponent in favor ofVotesComponent(#1114)Traceis now declared as astorage_nodeand now usesVecinstead ofStorageArray.delegate_by_sigsignatureparam in theIVotesinterface updated fromArray<felt252>toSpan<felt252>.
- Remove
StorageArrayfromopenzeppelin_utils(#1114) - Bump snforge to 0.31.0
- Remove openzeppelin_utils::selectors (#1163)
- Remove
DualCase dispatchers(#1163)- Remove
try_selector_with_fallbackfromopenzeppelin_utils - Remove
unwrap_and_castmodule fromopenzeppelin_utils - Remove
openzeppelin_access::accesscontrol::dual_accesscontrol - Remove
openzeppelin_access::ownable::dual_ownable - Remove
openzeppelin_account::dual_account - Remove
openzeppelin_account::dual_eth_account - Remove
openzeppelin_token::erc20::dual20 - Remove
openzeppelin_token::erc721::dual721 - Remove
openzeppelin_token::erc721::dual721_receiver - Remove
openzeppelin_token::erc1155::dual1155 - Remove
openzeppelin_token::erc1155::dual1155_receiver
- Remove
SRC9Componentnow usesISRC6Dispatcherinstead ofDualCaseAccount(#1163)ERC20VotesComponentnow usesISRC6Dispatcherinstead ofDualCaseAccount(#1163)ERC721Componentnow usesIERC721ReceiverDispatcherinstead ofDualCaseERC721Receiver(#1163)ERC1155Componentnow usesIERC1155ReceiverDispatcherinstead ofDualCaseERC1155Receiver(#1163)
Full Changes List
- Improve packages READMEs by @ericnordelo in #1159
- Remove git import references and colon use clauses in docs by @ericnordelo in #1165
- Vesting Doc by @immrsd in #1157
- Chore(deps): Bump crate-ci/typos from 1.24.6 to 1.25.0 by @dependabot in #1171
- Bump scarb to 2.8.3 by @ericnordelo in #1166
- Add missing manifest import by @maciektr in #1169
- Use
cratefor local imports by @andrew-fleming in #1176 - Add timelock captions by @andrew-fleming in #1167
- Remove DualCase dispatchers by @ericnordelo in #1163
- Chore(deps): Bump crate-ci/typos from 1.25.0 to 1.26.0 by @dependabot in #1178
- Improve mocks by @ericnordelo in #1146
- Add declare script for presets by @andrew-fleming in #1118
- Add upgrade_and_call by @andrew-fleming in #1148
- ERC20 Permit Component by @immrsd in #1140
- Update imports in snip12 doc code blocks by @andrew-fleming in #1182
- Erc721 votes and general Votes component by @ggonzalez94 in #1114
- Fix comment by @ericnordelo in #1185
Full Changelog: v0.17.0...v0.18.0