v0.14.0
Summary
Changed (Breaking)
-
Migrate to the
2023_11edition (#995):- Component implementations annotated with
#[embeddable_as()](e.g:AccessControlComponent::AccessControl) are not public anymore. Note that the embeddable versions are still public (e.g:AccessControlComponent::AccessControlImpl). - Implementations that can be compiler-derived from traits are not public anymore (e.g:
DualCaseAccessControlImplis not public whileDualCaseAccessControlTraitis). Secp256k1PointPartialEqandDebugSecp256k1Pointare not public anymore.account::utils::execute_single_callis not public anymore.- Presets are not public anymore, since they should be copied into projects, and not directly imported.
TraceandCheckpointstructs are not public anymore, since they are intended to be used inERC20Votes, and not as generic utilities.StorageArrayis not public anymore, since this implementation is specific toERC20Votes, and is not intended as a generic utility, but as a temporary solution until Starknet native implementation arrives.
- Component implementations annotated with
-
Apply underscore pattern to modules (#993)
- AccessControlComponent
_set_role_adminfunction renamed toset_role_admin
- PausableComponent
_pausefunction renamed topause_unpausefunction renamed tounpause
- UpgradeableComponent
_upgradefunction renamed toupgrade
- ERC20Component:
_mintfunction renamed tomint_burnfunction renamed toburn_updatefunction renamed toupdate
- ERC721Component:
_safe_transferfunction renamed tosafe_transfer_safe_mintfunction renamed tosafe_mint_mintfunction renamed tomint_transferfunction renamed totransfer_burnfunction renamed toburn_updatefunction renamed toupdate
- ERC1155Component:
set_base_urifunction renamed to_set_base_uri
- AccessControlComponent
-
Bump Scarb to v2.6.5 (#1014)
Full Changes List
- Add NOTE to CONTRIBUTING. by @ericnordelo in #997
- Fix docs sections structure inconsistencies by @ericnordelo in #999
- Migrate to the 2023_11 edition. by @ericnordelo in #995
- Apply underscore pattern by @ericnordelo in #993
- Bump scarb and fix examples by @ericnordelo in #1014
Full Changelog: v0.13.0...v0.14.0