Skip to content

Commit 0fab2c3

Browse files
committed
Update changelogs
1 parent 45004fa commit 0fab2c3

2 files changed

Lines changed: 50 additions & 53 deletions

File tree

packages/delegation-core/CHANGELOG.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
## [0.2.0]
1111

12-
### Uncategorized
12+
### Added
13+
14+
- Added a Nonce caveat enforcer terms builder `createNonceTerms` ([#44](https://github.com/metamask/delegation-toolkit/pull/44))
1315

14-
- chore: improved types
15-
- chore: improved address type and imports
16-
- Adds Contract Utils (Caveats, Delegation) ([#45](https://github.com/MetaMask/delegation-toolkit/pull/45))
17-
- feat: added contract utils
16+
### Changed
17+
18+
- The configuration parameter `callData` is now `calldata` in `createExactCalldataTerms` argument type. ([#24](https://github.com/metamask/delegation-toolkit/pull/24))
19+
- The package is explictly marked as ESM via `type: module`; with CJS compatibility maintained with dual export. ([#27](https://github.com/metamask/delegation-toolkit/pull/27))
1820

1921
## [0.2.0-rc.1]
2022

@@ -33,7 +35,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3335

3436
- Add @metamask/delegation-core package, providing utility types, delegation hashing, and terms encoding for a limited set of caveat enforcers.
3537

36-
[Unreleased]: https://github.com/MetaMask/delegation-toolkit/compare/@metamask/delegation-core@0.2.0...HEAD
37-
[0.2.0]: https://github.com/MetaMask/delegation-toolkit/compare/@metamask/delegation-core@0.2.0-rc.1...@metamask/delegation-core@0.2.0
38-
[0.2.0-rc.1]: https://github.com/MetaMask/delegation-toolkit/compare/@metamask/delegation-core@0.1.0...@metamask/delegation-core@0.2.0-rc.1
39-
[0.1.0]: https://github.com/MetaMask/delegation-toolkit/releases/tag/@metamask/delegation-core@0.1.0
38+
[Unreleased]: https://github.com/metamask/delegation-toolkit/compare/@metamask/delegation-core@0.2.0...HEAD
39+
[0.2.0]: https://github.com/metamask/delegation-toolkit/compare/@metamask/delegation-core@0.2.0-rc.1...@metamask/delegation-core@0.2.0
40+
[0.2.0-rc.1]: https://github.com/metamask/delegation-toolkit/compare/@metamask/delegation-core@0.1.0...@metamask/delegation-core@0.2.0-rc.1
41+
[0.1.0]: https://github.com/metamask/delegation-toolkit/releases/tag/@metamask/delegation-core@0.1.0

packages/delegation-toolkit/CHANGELOG.md

Lines changed: 39 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -9,45 +9,40 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
## [0.13.0]
1111

12-
### Uncategorized
13-
14-
- Rename Signatory to Signer ([#76](https://github.com/MetaMask/delegation-toolkit/pull/76))
15-
- Support calling wallet_requestExecutionPermissions directly on the wallet api ([#60](https://github.com/MetaMask/delegation-toolkit/pull/60))
16-
- refactor: rename signatory to signer
17-
- feat: improve types by replacing `0x${string}` with proper viem types
18-
- fix: issue in test
19-
- chore: deleted duplicated code
20-
- chore: improved return types in the utils
21-
- chore: improved address type and imports
22-
- chore: added SpecificActionERC20TransferBatchEnforcer utils
23-
- chore: added nonce enforcer utils
24-
- chore: added limited calls enforcer utils
25-
- chore: fix yarn lint for nonce utils
26-
- chore: added IdEnforcer utils
27-
- chore: nativeTokenTransferAmount utils
28-
- feat: contract utils for ERC20TransferAmountEnforcer
29-
- Improve declarative delegation interface ([#63](https://github.com/MetaMask/delegation-toolkit/pull/63))
30-
- chore: reverted validation changes
31-
- Tidy up Utilities and Actions ([#68](https://github.com/MetaMask/delegation-toolkit/pull/68))
32-
- refactor: modernize allowedCalldata checks with optional chaining
33-
- chore: renamed, and exposed functions
34-
- Release/11.0.0 ([#71](https://github.com/MetaMask/delegation-toolkit/pull/71))
35-
- Revert "Release/11.0.0" ([#70](https://github.com/MetaMask/delegation-toolkit/pull/70))
36-
- Deleted Public Client From CaveatEnforcerClient ([#64](https://github.com/MetaMask/delegation-toolkit/pull/64))
37-
- fix: update tests
38-
- refactor: tidy up utilities and actions
39-
- Fix failing validate changelog CI job
40-
- Update change log for 7715-permission-types
41-
- Update yarn lock
42-
- Initialize Release 11.0.0
43-
- chore: prevent doble calldata
44-
- docs: improved comments
45-
- chore: deleted public client from caveatEnforcerClient
46-
- fix: empty calldata array bypasses security checks
47-
- refactor: improve declarative delegation interface
48-
- test: infura bundler + delegation toolkit ([#59](https://github.com/MetaMask/delegation-toolkit/pull/59))
49-
- chore: renamed external folder, and types
50-
- feat: added infura bundler client
12+
### Added
13+
14+
- Delegation Scopes and a declarative API to define delegation caveats ([#51](https://github.com/MetaMask/delegation-toolkit/pull/51))
15+
- New utilities and actions for interacting with the Delegation Framework smart contracts ([#45](https://github.com/MetaMask/delegation-toolkit/pull/45))
16+
- A new Client for interacting with the Infura Bundler ([#59](https://github.com/MetaMask/delegation-toolkit/pull/59))
17+
- Utilities for interacting with caveat enforcer contracts
18+
- `SpecificActionERC20TransferBatchEnforcer`
19+
- `NonceEnforcer`
20+
- `LimitedCallsEnforcer`
21+
- `IdEnforcer`
22+
- `NativeTokenTransferAmount`
23+
- `ERC20TransferAmountEnforcer`
24+
25+
### Changed
26+
27+
- Utility and Action interfaces are now more closely aligned with Viem's patterns ([#68](https://github.com/MetaMask/delegation-toolkit/pull/68))
28+
- `signUserOperation` and `signDelegation` utilities now accept privateKey parameter instead of `WalletClient`
29+
- `signDelegationAction` and `signUserOperationAction` wallet actions makes it easier to extend a `WalletClient` instance
30+
- It is now much easier to create Delegations with the required authority
31+
- `allowInsecureUnrestrictedDelegation: true` is now required when creating or signing a delegation with no caveats. ([#24](https://github.com/metamask/delegation-toolkit/pull/24))
32+
- The `CaveatBuilder.addCaveat` function now accepts a single caveat configuration object instead of positional arguments. ([#24](https://github.com/metamask/delegation-toolkit/pull/24))
33+
- A delegation can now be created with a declarative interface, utilising "scopes" to define the scope of authority being granted by the delegation ([#63](https://github.com/MetaMask/delegation-toolkit/pull/63))
34+
- `Signatory` is renamed to `Signer` for more clarity when creating `MetaMaskSmartAccount` instances ([#76](https://github.com/MetaMask/delegation-toolkit/pull/76))
35+
- The experimental EIP-7715 actions have been updated to align with the current implementation of the specification:
36+
- Now requires are direct to the `wallet_requestExecutionPermissions` method on the wallet api ([#60](https://github.com/MetaMask/delegation-toolkit/pull/60))
37+
- The datatypes used in the call have been updated to align with the new Erc7715 interface ([#54](https://github.com/MetaMask/delegation-toolkit/pull/54))
38+
- The `startTime` parameter is now optional on all permission types
39+
- The Viem peer dependency is now `viem@^2.31.4`. ([#22](https://github.com/metamask/delegation-toolkit/pull/22))
40+
- Individual constants like `SINGLE_DEFAULT_MODE` have been replaced with the `ExecutionMode` enum ([#16](https://github.com/metamask/delegation-toolkit/pull/16))
41+
- The test runner is now Vitest, with Hardhat removed entirely ([#27](https://github.com/metamask/delegation-toolkit/pull/27))
42+
43+
### Fixed
44+
45+
- `sendTransactionWithDelegation` failed whenever `value` was specified in the parameters. ([#30](https://github.com/metamask/delegation-toolkit/pull/30))
5146

5247
## [0.13.0-rc.3]
5348

@@ -80,8 +75,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8075

8176
- Fixed a bug where `sendTransactionWithDelegation` failed whenever `value` was specified in the parameters. ([#30](https://github.com/metamask/delegation-toolkit/pull/30))
8277

83-
[Unreleased]: https://github.com/MetaMask/delegation-toolkit/compare/@metamask/delegation-toolkit@0.13.0...HEAD
84-
[0.13.0]: https://github.com/MetaMask/delegation-toolkit/compare/@metamask/delegation-toolkit@0.13.0-rc.3...@metamask/delegation-toolkit@0.13.0
85-
[0.13.0-rc.3]: https://github.com/MetaMask/delegation-toolkit/compare/@metamask/delegation-toolkit@0.13.0-rc.2...@metamask/delegation-toolkit@0.13.0-rc.3
86-
[0.13.0-rc.2]: https://github.com/MetaMask/delegation-toolkit/compare/@metamask/delegation-toolkit@0.13.0-rc.1...@metamask/delegation-toolkit@0.13.0-rc.2
87-
[0.13.0-rc.1]: https://github.com/MetaMask/delegation-toolkit/releases/tag/@metamask/delegation-toolkit@0.13.0-rc.1
78+
[Unreleased]: https://github.com/metamask/delegation-toolkit/compare/@metamask/delegation-toolkit@0.13.0...HEAD
79+
[0.13.0]: https://github.com/metamask/delegation-toolkit/compare/@metamask/delegation-toolkit@0.13.0-rc.3...@metamask/delegation-toolkit@0.13.0
80+
[0.13.0-rc.3]: https://github.com/metamask/delegation-toolkit/compare/@metamask/delegation-toolkit@0.13.0-rc.2...@metamask/delegation-toolkit@0.13.0-rc.3
81+
[0.13.0-rc.2]: https://github.com/metamask/delegation-toolkit/compare/@metamask/delegation-toolkit@0.13.0-rc.1...@metamask/delegation-toolkit@0.13.0-rc.2
82+
[0.13.0-rc.1]: https://github.com/metamask/delegation-toolkit/releases/tag/@metamask/delegation-toolkit@0.13.0-rc.1

0 commit comments

Comments
 (0)