You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/smart-accounts-kit/CHANGELOG.md
+38-35Lines changed: 38 additions & 35 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,24 +7,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [Unreleased]
9
9
10
+
## [1.6.0]
11
+
10
12
### Added
11
13
12
-
- Experimental `createx402DelegationProvider` added to @metamask/smart-accounts-kit/experimental ([#248](https://github.com/MetaMask/smart-accounts-kit/pull/248), [#251](https://github.com/MetaMask/smart-accounts-kit/pull/251))
13
-
- New `generateSalt` function added to @metamask/smart-accounts-kit/utils ([#248](https://github.com/MetaMask/smart-accounts-kit/pull/248))
14
-
- ERC-7715 `token-approval-revocation` permission type ([#226](https://github.com/MetaMask/smart-accounts-kit/pull/226), [#237](https://github.com/MetaMask/smart-accounts-kit/pull/237))
15
-
-`CaveatBuilder` for `ApprovalRevocationEnforcer`, deployment address added to `SmartAccountsEnvironment` ([#226](https://github.com/metamask/smart-accounts-kit/pull/226), [#237](https://github.com/MetaMask/smart-accounts-kit/pull/237))
16
-
- Helper for decoding revert reasons from delegated execution errors while preserving the original error output ([#245](https://github.com/MetaMask/smart-accounts-kit/pull/245))
14
+
- Experimental `createx402DelegationProvider` added to @metamask/smart-accounts-kit/experimental ([#248](https://github.com/metamask/smart-accounts-kit/pull/248), [#251](https://github.com/metamask/smart-accounts-kit/pull/251))
15
+
- New `generateSalt` function added to @metamask/smart-accounts-kit/utils ([#248](https://github.com/metamask/smart-accounts-kit/pull/248))
16
+
- ERC-7715 `token-approval-revocation` permission type ([#226](https://github.com/metamask/smart-accounts-kit/pull/226), [#237](https://github.com/metamask/smart-accounts-kit/pull/237))
17
+
-`CaveatBuilder` for `ApprovalRevocationEnforcer`, deployment address added to `SmartAccountsEnvironment` ([#226](https://github.com/metamask/smart-accounts-kit/pull/226), [#237](https://github.com/metamask/smart-accounts-kit/pull/237))
18
+
- Helper for decoding revert reasons from delegated execution errors while preserving the original error output ([#245](https://github.com/metamask/smart-accounts-kit/pull/245))
17
19
18
20
### Changed
19
21
20
-
- Bumped @metamask/delegation-abis from `^1.0.0` to `^1.1.0` ([#234](https://github.com/MetaMask/smart-accounts-kit/pull/234))
21
-
- Bumped @metamask/delegation-core from `^2.1.0` to `^2.2.1` ([#234](https://github.com/MetaMask/smart-accounts-kit/pull/234), [#240](https://github.com/MetaMask/smart-accounts-kit/pull/240))
22
-
- Bumped @metamask/delegation-deployments from `^1.3.0` to `^1.4.0` ([#234](https://github.com/MetaMask/smart-accounts-kit/pull/234))
23
-
- Bumped @metamask/7715-permission-types from `^0.6.0` to `^0.7.1` ([#234](https://github.com/MetaMask/smart-accounts-kit/pull/234), [#240](https://github.com/MetaMask/smart-accounts-kit/pull/240))
22
+
- Bumped @metamask/delegation-abis from `^1.0.0` to `^1.1.0` ([#234](https://github.com/metamask/smart-accounts-kit/pull/234))
23
+
- Bumped @metamask/delegation-core from `^2.1.0` to `^2.2.1` ([#234](https://github.com/metamask/smart-accounts-kit/pull/234), [#240](https://github.com/metamask/smart-accounts-kit/pull/240))
24
+
- Bumped @metamask/delegation-deployments from `^1.3.0` to `^1.4.0` ([#234](https://github.com/metamask/smart-accounts-kit/pull/234))
25
+
- Bumped @metamask/7715-permission-types from `^0.6.0` to `^0.7.1` ([#234](https://github.com/metamask/smart-accounts-kit/pull/234), [#240](https://github.com/metamask/smart-accounts-kit/pull/240))
24
26
25
27
### Deprecated
26
28
27
-
- Deprecated `erc20-token-revocation` in favor of `token-approval-revocation` ([#226](https://github.com/MetaMask/smart-accounts-kit/pull/226))
29
+
- Deprecated `erc20-token-revocation` in favor of `token-approval-revocation` ([#226](https://github.com/metamask/smart-accounts-kit/pull/226))
28
30
29
31
## [1.5.0]
30
32
@@ -34,13 +36,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
34
36
35
37
### Changed
36
38
37
-
- Bumped @metamask/delegation-core from ^2.0.0 to ^2.1.0 ([#231](https://github.com/MetaMask/smart-accounts-kit/pull/231))
39
+
- Bumped @metamask/delegation-core from ^2.0.0 to ^2.1.0 ([#231](https://github.com/metamask/smart-accounts-kit/pull/231))
38
40
39
41
## [1.4.0]
40
42
41
43
### Added
42
44
43
-
- Add optional `payee` execution rule to `PermissionRequestParameter` for allowance-type permissions ([#219](https://github.com/MetaMask/smart-accounts-kit/pull/219))
45
+
- Add optional `payee` execution rule to `PermissionRequestParameter` for allowance-type permissions ([#219](https://github.com/metamask/smart-accounts-kit/pull/219))
44
46
- Add new erc-7715 simple allowance types: ([#214](https://github.com/metamask/smart-accounts-kit/pull/214))
45
47
46
48
## [1.3.0]
@@ -55,7 +57,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
55
57
### Added
56
58
57
59
-`decodeCaveat` util function ([#191](https://github.com/metamask/smart-accounts-kit/pull/191))
58
-
- Chain deployment for Katana mainnet and Katana Bokuto ([#203](https://github.com/MetaMask/smart-accounts-kit/pull/203))
60
+
- Chain deployment for Katana mainnet and Katana Bokuto ([#203](https://github.com/metamask/smart-accounts-kit/pull/203))
59
61
- Anonymous usage statistics to help improve the SDK ([#185](https://github.com/metamask/smart-accounts-kit/pull/185))
60
62
- Opt out by setting environment variables `CI` or `DO_NOT_TRACK`, or `navigator.doNotTrack` or `window.doNotTrack` to either '1', 'true', or 'yes'
61
63
@@ -80,43 +82,43 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
80
82
81
83
### Added
82
84
83
-
- Add `encodeDelegation` and `decodeDelegation` utilities for encoding and decoding single delegations. ([#153](https://github.com/MetaMask/smart-accounts-kit/pull/153))
84
-
- Add DelegationManager validation for EIP-7710 actions (#150) ([#150](https://github.com/metamask/smart-accounts-kit/pull/150))
85
+
- Add `encodeDelegation` and `decodeDelegation` utilities for encoding and decoding single delegations. ([#153](https://github.com/metamask/smart-accounts-kit/pull/153))
86
+
- Add DelegationManager validation for EIP-7710 actions ([#150](https://github.com/metamask/smart-accounts-kit/pull/150))
85
87
- Support for Tempo Mainnet and Tempo Moderato Testnet ([#177](https://github.com/metamask/smart-accounts-kit/pull/177))
86
88
87
89
### Changed
88
90
89
-
- Introduce `PermissionContext` to represent a delegation chain (ABI-encoded `Hex` or decoded `Delegation[]`). ([#140](https://github.com/MetaMask/smart-accounts-kit/pull/140))
91
+
- Introduce `PermissionContext` to represent a delegation chain (ABI-encoded `Hex` or decoded `Delegation[]`). ([#140](https://github.com/metamask/smart-accounts-kit/pull/140))
90
92
-**Breaking**: Replace usages of raw `Hex`_or_`Delegation[]` with `PermissionContext`, and rename `permissionsContext` to `permissionContext` (note the singular "permission") where applicable:
-`encodeDelegations` and `decodeDelegations` now accept `PermissionContext` (if the input is already the expected type, the input is returned)
95
97
-`encode`, `execute`, and `simulate` functions for `DelegationManager.redeemDelegations` from `@metamask/smart-accounts-kit/contracts`: parameter `delegations: Delegation[]` → `delegations: PermissionContext`
96
-
-**Breaking**: ERC-7715 actions now return developer-friendly types: `chainId` as number, token amounts as `bigint`. ([#172](https://github.com/MetaMask/smart-accounts-kit/pull/172))
97
-
-**Breaking**: Rename `getDelegationHashOffchain` to `hashDelegation` for improved clarity. ([#162](https://github.com/MetaMask/smart-accounts-kit/pull/162))
98
-
-**Breaking**: EIP-7715 permission requests nest `isAdjustmentAllowed` inside each permission object per specification. ([#159](https://github.com/MetaMask/smart-accounts-kit/pull/159))
99
-
-**Breaking**: `sendUserOperationWithDelegation` now accepts `dependencies` instead of deprecated `accountMetadata`. ([#157](https://github.com/MetaMask/smart-accounts-kit/pull/157))
100
-
-**Breaking**: Validate that the provided `DelegationManager` address matches the known contract address for the chain in EIP-7710 actions. ([#156](https://github.com/MetaMask/smart-accounts-kit/pull/156))
101
-
-**Breaking**: Default `delegation.salt` and `caveat.args` to `0x00` instead of invalid `0x`. ([#138](https://github.com/MetaMask/smart-accounts-kit/pull/138))
102
-
- Allow scope type to be specified either as `ScopeType` enum, or string literal. ([#133](https://github.com/MetaMask/smart-accounts-kit/pull/133))
103
-
- Allow caveat type to be specified either as `CaveatType` enum, or string literal. ([#179](https://github.com/MetaMask/smart-accounts-kit/pull/179))
98
+
-**Breaking**: ERC-7715 actions now return developer-friendly types: `chainId` as number, token amounts as `bigint`. ([#172](https://github.com/metamask/smart-accounts-kit/pull/172))
99
+
-**Breaking**: Rename `getDelegationHashOffchain` to `hashDelegation` for improved clarity. ([#162](https://github.com/metamask/smart-accounts-kit/pull/162))
100
+
-**Breaking**: EIP-7715 permission requests nest `isAdjustmentAllowed` inside each permission object per specification. ([#159](https://github.com/metamask/smart-accounts-kit/pull/159))
101
+
-**Breaking**: `sendUserOperationWithDelegation` now accepts `dependencies` instead of deprecated `accountMetadata`. ([#157](https://github.com/metamask/smart-accounts-kit/pull/157))
102
+
-**Breaking**: Validate that the provided `DelegationManager` address matches the known contract address for the chain in EIP-7710 actions. ([#156](https://github.com/metamask/smart-accounts-kit/pull/156))
103
+
-**Breaking**: Default `delegation.salt` and `caveat.args` to `0x00` instead of invalid `0x`. ([#138](https://github.com/metamask/smart-accounts-kit/pull/138))
104
+
- Allow scope type to be specified either as `ScopeType` enum, or string literal. ([#133](https://github.com/metamask/smart-accounts-kit/pull/133))
105
+
- Allow caveat type to be specified either as `CaveatType` enum, or string literal. ([#179](https://github.com/metamask/smart-accounts-kit/pull/179))
104
106
105
107
### Removed
106
108
107
-
-**Breaking**: `encodePermissionContexts` and `decodePermissionContexts` utilities; use `encodeDelegations` and `decodeDelegations` directly. ([#148](https://github.com/MetaMask/smart-accounts-kit/pull/148))
108
-
-**Breaking**: `redeemDelegations` helper and `Redemption` type; use `redeemDelegations` encoding / execution utilities directly. ([#160](https://github.com/MetaMask/smart-accounts-kit/pull/160))
109
+
-**Breaking**: `encodePermissionContexts` and `decodePermissionContexts` utilities; use `encodeDelegations` and `decodeDelegations` directly. ([#148](https://github.com/metamask/smart-accounts-kit/pull/148))
110
+
-**Breaking**: `redeemDelegations` helper and `Redemption` type; use `redeemDelegations` encoding / execution utilities directly. ([#160](https://github.com/metamask/smart-accounts-kit/pull/160))
109
111
110
112
### Fixed
111
113
112
-
- Fix delegation storage to throw a proper `Error` instance so stack traces are correct across environments. ([#171](https://github.com/MetaMask/smart-accounts-kit/pull/171))
113
-
- Fix `signDelegation` to correctly await the signer and return the signed signature. ([#168](https://github.com/MetaMask/smart-accounts-kit/pull/168))
114
+
- Fix delegation storage to throw a proper `Error` instance so stack traces are correct across environments. ([#171](https://github.com/metamask/smart-accounts-kit/pull/171))
115
+
- Fix `signDelegation` to correctly await the signer and return the signed signature. ([#168](https://github.com/metamask/smart-accounts-kit/pull/168))
114
116
115
117
## [0.4.0-beta.1]
116
118
117
119
### Added
118
120
119
-
- Exports 2 new types: `PermissionRequestParameter` and `Erc7715Client` ([#134](https://github.com/MetaMask/smart-accounts-kit/pull/134))
121
+
- Exports 2 new types: `PermissionRequestParameter` and `Erc7715Client` ([#134](https://github.com/metamask/smart-accounts-kit/pull/134))
120
122
121
123
### Fixed
122
124
@@ -138,26 +140,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Add `typesVersions` to `package.json` so that subpath exports can be resolved for packages using `moduleResolution: node` ([#112](https://github.com/MetaMask/smart-accounts-kit/pull/112))
- Add `typesVersions` to `package.json` so that subpath exports can be resolved for packages using `moduleResolution: node` ([#112](https://github.com/metamask/smart-accounts-kit/pull/112))
143
145
144
146
## [0.2.0]
145
147
146
148
### Added
147
149
148
-
- New permission type `erc20-token-revocation` to ERC-7715 actions ([#110](https://github.com/MetaMask/smart-accounts-kit/pull/110))
150
+
- New permission type `erc20-token-revocation` to ERC-7715 actions ([#110](https://github.com/metamask/smart-accounts-kit/pull/110))
149
151
150
152
### Fixed
151
153
152
-
- Throw meaningful errors in validation of ERC-7715 request parameters ([#107](https://github.com/MetaMask/smart-accounts-kit/pull/107), [#103](https://github.com/MetaMask/smart-accounts-kit/pull/103))
154
+
- Throw meaningful errors in validation of ERC-7715 request parameters ([#107](https://github.com/metamask/smart-accounts-kit/pull/107), [#103](https://github.com/metamask/smart-accounts-kit/pull/103))
153
155
154
156
## [0.1.0]
155
157
156
158
### Changed
157
159
158
-
- Promote readable permissions actions (`requestExecutionPermissions`, `sendTransactionWithDelegation`, and `sendUserOperationWithDelegation`) from experimental ([#91](https://github.com/MetaMask/smart-accounts-kit/pull/91))
160
+
- Promote readable permissions actions (`requestExecutionPermissions`, `sendTransactionWithDelegation`, and `sendUserOperationWithDelegation`) from experimental ([#91](https://github.com/metamask/smart-accounts-kit/pull/91))
Copy file name to clipboardExpand all lines: packages/x402/CHANGELOG.md
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,15 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [Unreleased]
9
9
10
+
## [0.2.0]
11
+
10
12
### Changed
11
13
12
-
- Use `@metamask/utils` for Ethereum address checksum validation and drop `viem` as a package dependency. ([#246](https://github.com/MetaMask/smart-accounts-kit/pull/246))
14
+
- Use `@metamask/utils` for Ethereum address checksum validation and drop `viem` as a package dependency. ([#246](https://github.com/metamask/smart-accounts-kit/pull/246))
13
15
14
16
## [0.1.0]
15
17
16
18
### Added
17
19
18
-
- New @metamask/x402 package providing plugins to @x402 packages ([#236](https://github.com/MetaMask/smart-accounts-kit/pull/236))
20
+
- New @metamask/x402 package providing plugins to @x402 packages ([#236](https://github.com/metamask/smart-accounts-kit/pull/236))
0 commit comments