Skip to content

Commit 61bc3f8

Browse files
mj-kiwijeffsmale90
authored andcommitted
Categorized the changelog for v0.3.0.
1 parent a337a71 commit 61bc3f8

File tree

2 files changed

+100
-102
lines changed

2 files changed

+100
-102
lines changed

packages/gator-permissions-snap/CHANGELOG.md

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

1010
## [0.3.0]
1111

12-
### Uncategorized
12+
### Added
1313

1414
- Add hideSnapBranding flag to preinstalled snap manifest
15-
- Order numerically testnet metadatas
16-
- Fix Polygon Amoy Testnet incorrectly attributed as Metis Sepolia. Rename BNB to BNB Smart Chain.
1715
- Add chain metadata for supported testnets
16+
- feat: add lifecycle hooks permission for local development and refactor onInstall handler
17+
- feat(manifest): add environment-based manifest management ([#153](https://github.com/MetaMask/snap-7715-permissions/pull/153))
18+
- Add retry logic to all clients
19+
- Add priceApi response validation
20+
- Add account API client validation and fetch timeout
21+
- feat(ui): add TokenBalanceField component for displaying token balances ([#142](https://github.com/MetaMask/snap-7715-permissions/pull/142))
22+
- feat(ui): add TokenField component for displaying token info ([#136](https://github.com/MetaMask/snap-7715-permissions/pull/136))
23+
- Allow user to select EOA from which to grant the permission ([#125](https://github.com/MetaMask/snap-7715-permissions/pull/125))
24+
- Add the nonce enforcer as a default caveat for all permissions ([#127](https://github.com/MetaMask/snap-7715-permissions/pull/127))
25+
- Async confirmation ([#114](https://github.com/MetaMask/snap-7715-permissions/pull/114))
26+
- Add new permissionsProvider_getGrantedPermissions RPC ([#108](https://github.com/MetaMask/snap-7715-permissions/pull/108))
27+
- Add `erc-20-token-periodic` permission type ([#106](https://github.com/MetaMask/snap-7715-permissions/pull/106))
28+
- Allow setting SUPPORTED_CHAINS, and GATSBY_SUPPORTED_CHAINS (for site package). ([#105](https://github.com/MetaMask/snap-7715-permissions/pull/105))
29+
- Add support for token icons ([#104](https://github.com/MetaMask/snap-7715-permissions/pull/104))
30+
- Add valueLTE caveat to erc20 streaming permission ([#103](https://github.com/MetaMask/snap-7715-permissions/pull/103))
31+
- Feat/ephemeral permission offer registry ([#101](https://github.com/MetaMask/snap-7715-permissions/pull/101))
32+
- Add `erc20-token-stream` permission ([#100](https://github.com/MetaMask/snap-7715-permissions/pull/100))
33+
- Fetch token metadata ([#99](https://github.com/MetaMask/snap-7715-permissions/pull/99))
34+
- Add `native-token-periodic` permission ([#89](https://github.com/MetaMask/snap-7715-permissions/pull/89))
35+
- Add iconAltText to rule icon data
36+
- Add close icon for the input fields
37+
- Add token logo for the input fields
38+
- feat: add native token periodic permission type and handler
39+
- Add tests for ruleModalManager and rules
40+
- Add rules abstraction, somewhat shoehorned into existing baseOrchestrator
41+
42+
### Changed
43+
44+
- Order numerically testnet metadatas
1845
- Provide metadata when signing delegation ([#169](https://github.com/MetaMask/snap-7715-permissions/pull/169))
1946
- Rename RCP Urls To Be Consistent ([#168](https://github.com/MetaMask/snap-7715-permissions/pull/168))
2047
- Refactor getTokenBalance to return bigint zero using 0n and optimize address comparison
21-
- Merge branch 'main' into feat/account-api-v2
2248
- When signing the delegation with eth_signTypedData, provide origin and justification in metadata property on EIP-712 payload
2349
- chore: changed to plural refereces of permissionProvider
24-
- Remove endowment lifecycle hooks ([#164](https://github.com/MetaMask/snap-7715-permissions/pull/164))
2550
- chore: rename rpc urls to be consistent
26-
- fix: remove conditional iconUrl assignment in getTokenMetadata response
27-
- fix: sanitize icon URL in token metadata response
2851
- feat: remove local development hooks and add InstallButton component
29-
- Merge branch 'dev' into feat/account-api-v2
30-
- Missing runtime verification for api responses ([#158](https://github.com/MetaMask/snap-7715-permissions/pull/158))
31-
- feat: add lifecycle hooks permission for local development and refactor onInstall handler
3252
- Disable logging in production ([#161](https://github.com/MetaMask/snap-7715-permissions/pull/161))
33-
- fix mock interfearance in tests
34-
- feat(manifest): add environment-based manifest management ([#153](https://github.com/MetaMask/snap-7715-permissions/pull/153))
3553
- tests upadate
3654
- update headers setup for account API and balance formating
37-
- Merge branch 'feat/retry-logic' of github.com:MetaMask/snap-7715-permissions into feat/account-api-v2
3855
- Better makeValidatedRequestWithRetry typings
39-
- Merge branch '6.3-Gator---Missing-Runtime-Verification-for-API-Responses' of github.com:MetaMask/snap-7715-permissions into feat/retry-logic
4056
- clear timeout move to finally block
41-
- fix: TokenIcon runtime type enforcement ([#155](https://github.com/MetaMask/snap-7715-permissions/pull/155))
4257
- account api v2
4358
- refactor retry http logic into helper function
44-
- Merge branch '6.3-Gator---Missing-Runtime-Verification-for-API-Responses' of github.com:MetaMask/snap-7715-permissions into feat/retry-logic
45-
- Missing runtime schema verification for profile sync store/retrieve ([#157](https://github.com/MetaMask/snap-7715-permissions/pull/157))
4659
- rename method
4760
- Schema address validation updates, naming updates and creating httpClient utils to merge duplicating code
48-
- test fix
49-
- Add retry logic to all clients
50-
- Fix misleading debug message ([#156](https://github.com/MetaMask/snap-7715-permissions/pull/156))
5161
- Process permission requests sequentially ([#150](https://github.com/MetaMask/snap-7715-permissions/pull/150))
5262
- try caipAssetType normal and case insesitive lookup as fallback
53-
- Add priceApi response validation
54-
- Add account API client validation and fetch timeout
5563
- chore: remove 'viem' dependency from package.json and related files ([#154](https://github.com/MetaMask/snap-7715-permissions/pull/154))
56-
- feat: Incorrect token currency shown ([#152](https://github.com/MetaMask/snap-7715-permissions/pull/152))
57-
- Remove development constants from production artifacts ([#148](https://github.com/MetaMask/snap-7715-permissions/pull/148))
58-
- feat(ui): add TokenBalanceField component for displaying token balances ([#142](https://github.com/MetaMask/snap-7715-permissions/pull/142))
5964
- Use null where appropriate ([#143](https://github.com/MetaMask/snap-7715-permissions/pull/143))
6065
- refactor(core): validate chain support early in permission request ([#145](https://github.com/MetaMask/snap-7715-permissions/pull/145))
61-
- Handle Price API errors ([#146](https://github.com/MetaMask/snap-7715-permissions/pull/146))
6266
- Change generic errors with snap errors ([#135](https://github.com/MetaMask/snap-7715-permissions/pull/135))
6367
- switch expiry and startTime types to number since we are expecting a timestamp ([#139](https://github.com/MetaMask/snap-7715-permissions/pull/139))
64-
- fix(gator-permissions-snap): fix return type for account addresses ([#141](https://github.com/MetaMask/snap-7715-permissions/pull/141))
6568
- Update shasum, in preparation for merge to main ([#137](https://github.com/MetaMask/snap-7715-permissions/pull/137))
6669
- Chore/integrate new permission types ([#134](https://github.com/MetaMask/snap-7715-permissions/pull/134))
67-
- feat(ui): add TokenField component for displaying token info ([#136](https://github.com/MetaMask/snap-7715-permissions/pull/136))
6870
- Update architecture doc to reflect updated architecture ([#133](https://github.com/MetaMask/snap-7715-permissions/pull/133))
6971
- Update homepage to remove reference to Smart Contract Account. ([#131](https://github.com/MetaMask/snap-7715-permissions/pull/131))
7072
- Return unbind handler when calling `UserEventDispatcher.on()` ([#132](https://github.com/MetaMask/snap-7715-permissions/pull/132))
71-
- Allow user to select EOA from which to grant the permission ([#125](https://github.com/MetaMask/snap-7715-permissions/pull/125))
7273
- Update input validation ([#110](https://github.com/MetaMask/snap-7715-permissions/pull/110))
7374
- Refactor: extract common field components into reusable Field component ([#122](https://github.com/MetaMask/snap-7715-permissions/pull/122))
74-
- Add the nonce enforcer as a default caveat for all permissions ([#127](https://github.com/MetaMask/snap-7715-permissions/pull/127))
7575
- Better handle date time ([#115](https://github.com/MetaMask/snap-7715-permissions/pull/115))
76-
- Validation errors disables grant button ([#126](https://github.com/MetaMask/snap-7715-permissions/pull/126))
77-
- Improve ERC20 token parsing error and fix fetching bug ([#124](https://github.com/MetaMask/snap-7715-permissions/pull/124))
7876
- Remove add more rules modal, and replace it with a simple toggle ([#120](https://github.com/MetaMask/snap-7715-permissions/pull/120))
7977
- style: update component class definition to include text color
8078
- style: fix indentation in package.json files and docs
8179
- build: downgrade @types/react from 18.3.23 to 18.2.4
82-
- EOAAccountController should serialize delegation salt as bigint when calling eth_signTypedData_v4 ([#116](https://github.com/MetaMask/snap-7715-permissions/pull/116))
8380
- update error message
8481
- update manifest
85-
- Merge branch 'main' of https://github.com/MetaMask/snap-7715-permissions into chore/justification-sanitation
8682
- manifest update
8783
- import order fix
88-
- Merge branch 'main' of https://github.com/MetaMask/snap-7715-permissions into chore/sequentialEventHandling
8984
- manifest update
9085
- fix import order
91-
- Merge branch 'main' of https://github.com/MetaMask/snap-7715-permissions into chore/dependency-updates
92-
- Async confirmation ([#114](https://github.com/MetaMask/snap-7715-permissions/pull/114))
9386
- execute handlers sequentially and function rename
94-
- address potential race condition
9587
- update docs
9688
- update snap manifest
9789
- Make sure events are processes sequentially and that all events are proccessed before granting permission
9890
- update manifest
99-
- linter fixes
10091
- update manifest
10192
- make justification optional and show default message in this case
10293
- Update linter rule for empty line is js docs and update comments to have an empty line
10394
- update manifest
104-
- Merge branch 'main' of https://github.com/MetaMask/snap-7715-permissions into chore/dependency-updates
105-
- Merge branch 'main' of https://github.com/MetaMask/snap-7715-permissions into chore/justification-sanitation
106-
- Add new permissionsProvider_getGrantedPermissions RPC ([#108](https://github.com/MetaMask/snap-7715-permissions/pull/108))
107-
- Merge branch 'main' of https://github.com/MetaMask/snap-7715-permissions into chore/justification-sanitation
10895
- update snap manifest
109-
- linter fixes
11096
- Update snap manifest
111-
- Merge branch 'main' of https://github.com/MetaMask/snap-7715-permissions into chore/dependency-updates
11297
- Update message-signing-snap dependency to 1.1.3
113-
- Remove unused code and images ([#111](https://github.com/MetaMask/snap-7715-permissions/pull/111))
11498
- bump major version on dependencies
11599
- update node version, bump dependencies
116100
- Reduce usage of @metamask/delegation-toolkit and viem ([#107](https://github.com/MetaMask/snap-7715-permissions/pull/107))
117-
- Add `erc-20-token-periodic` permission type ([#106](https://github.com/MetaMask/snap-7715-permissions/pull/106))
118-
- Allow setting SUPPORTED_CHAINS, and GATSBY_SUPPORTED_CHAINS (for site package). ([#105](https://github.com/MetaMask/snap-7715-permissions/pull/105))
119-
- Add support for token icons ([#104](https://github.com/MetaMask/snap-7715-permissions/pull/104))
120-
- Add valueLTE caveat to erc20 streaming permission ([#103](https://github.com/MetaMask/snap-7715-permissions/pull/103))
121-
- Feat/ephemeral permission offer registry ([#101](https://github.com/MetaMask/snap-7715-permissions/pull/101))
122-
- Add `erc20-token-stream` permission ([#100](https://github.com/MetaMask/snap-7715-permissions/pull/100))
123-
- Fetch token metadata ([#99](https://github.com/MetaMask/snap-7715-permissions/pull/99))
124-
- Fix issue where accountMeta was not being included on the response object correctly. ([#95](https://github.com/MetaMask/snap-7715-permissions/pull/95))
125-
- Add `native-token-periodic` permission ([#89](https://github.com/MetaMask/snap-7715-permissions/pull/89))
126-
- Fix typos ([#98](https://github.com/MetaMask/snap-7715-permissions/pull/98))
127101
- Update snapshots due to layout changes
128-
- Merge branch 'main' into feat/native-token-periodic
129-
- Merge branch 'main' into feat/native-token-periodic
130-
- Add iconAltText to rule icon data
131102
- Bump the npm_and_yarn group across 1 directory with 3 updates ([#78](https://github.com/MetaMask/snap-7715-permissions/pull/78))
132103
- refactor: reduce boilerplate in permission definitions
133104
- Improve asynchronicity when resolving context for period permissions. Fix various linting issues.
134-
- Fix failing test
135-
- Fix lint error
136105
- Fix merge conflict
137106
- Use dropdown + explicit seconds for selecting the period duration
138-
- Fix failing test
139-
- Add close icon for the input fields
140-
- Add token logo for the input fields
141107
- Update packages/gator-permissions-snap/src/permissions/nativeTokenPeriodic/caveats.ts
142-
- feat: add native token periodic permission type and handler
143108
- Move confirmation wrapper into shared permissionHandlerContent.tsx - title - add more rules button
144109
- Move ruleManager, permissionHandler, ruleModalManager to core
145110
- Update documentation
146-
- Fix linting
147111
- Remove defunct handlers from confirmation
148112
- Implement handler pattern: - decouple handler out of orchestrator - update naming throughout handlers and orchestrators to be more consistent
149-
- Fix those tests
150113
- Remove shared rules, move expiry rule back into native token stream
151-
- Fix linting: - add eslint packages to packages - fix linting errors in gator permissions snap
152114
- refactor: extract shared expiry rule, remove defunct permissions/types.ts
153-
- Add tests for ruleModalManager and rules
154115
- Update tests to match implementation
155116
- Standardise some naming
156-
- Add rules abstraction, somewhat shoehorned into existing baseOrchestrator
157117
- Try again to fix shasum
158-
- Fix shasum
159-
- Manual fixes to linting errors
160118
- Enable linting of tsx files in gator-permissions. Auto fix linting problems.
161119
- Move allSupportedChains itno BaseAccountController as private static member
162-
- Fix environment variable parsing
163-
- Merge main
164120
- Improve profile sync dev experience ([#86](https://github.com/MetaMask/snap-7715-permissions/pull/86))
165121

122+
### Fixed
123+
124+
- Fix Polygon Amoy Testnet incorrectly attributed as Metis Sepolia. Rename BNB to BNB Smart Chain.
125+
- fix: remove conditional iconUrl assignment in getTokenMetadata response
126+
- fix: sanitize icon URL in token metadata response
127+
- Missing runtime verification for api responses ([#158](https://github.com/MetaMask/snap-7715-permissions/pull/158))
128+
- fix mock interfearance in tests
129+
- fix: TokenIcon runtime type enforcement ([#155](https://github.com/MetaMask/snap-7715-permissions/pull/155))
130+
- Missing runtime schema verification for profile sync store/retrieve ([#157](https://github.com/MetaMask/snap-7715-permissions/pull/157))
131+
- test fix
132+
- Fix misleading debug message ([#156](https://github.com/MetaMask/snap-7715-permissions/pull/156))
133+
- feat: Incorrect token currency shown ([#152](https://github.com/MetaMask/snap-7715-permissions/pull/152))
134+
- Handle Price API errors ([#146](https://github.com/MetaMask/snap-7715-permissions/pull/146))
135+
- fix(gator-permissions-snap): fix return type for account addresses ([#141](https://github.com/MetaMask/snap-7715-permissions/pull/141))
136+
- Validation errors disables grant button ([#126](https://github.com/MetaMask/snap-7715-permissions/pull/126))
137+
- Improve ERC20 token parsing error and fix fetching bug ([#124](https://github.com/MetaMask/snap-7715-permissions/pull/124))
138+
- EOAAccountController should serialize delegation salt as bigint when calling eth_signTypedData_v4 ([#116](https://github.com/MetaMask/snap-7715-permissions/pull/116))
139+
- address potential race condition
140+
- linter fixes
141+
- linter fixes
142+
- Fix typos ([#98](https://github.com/MetaMask/snap-7715-permissions/pull/98))
143+
- Fix failing test
144+
- Fix lint error
145+
- Fix failing test
146+
- Fix those tests
147+
- Fix linting: - add eslint packages to packages - fix linting errors in gator permissions snap
148+
- Fix shasum
149+
- Manual fixes to linting errors
150+
- Fix environment variable parsing
151+
152+
### Removed
153+
154+
- Remove endowment lifecycle hooks ([#164](https://github.com/MetaMask/snap-7715-permissions/pull/164))
155+
- Remove development constants from production artifacts ([#148](https://github.com/MetaMask/snap-7715-permissions/pull/148))
156+
- Remove unused code and images ([#111](https://github.com/MetaMask/snap-7715-permissions/pull/111))
157+
166158
## [0.2.1]
167159

168160
### Fixed
@@ -217,5 +209,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
217209
[0.3.0]: https://github.com/MetaMask/snap-7715-permissions/compare/@metamask/[email protected]...@metamask/[email protected]
218210
[0.2.1]: https://github.com/MetaMask/snap-7715-permissions/compare/@metamask/[email protected]...@metamask/[email protected]
219211
[0.2.0]: https://github.com/MetaMask/snap-7715-permissions/compare/@metamask/[email protected]...@metamask/[email protected]
220-
[0.1.0]: https://github.com/MetaMask/snap-7715-permissions/compare/@metamask/gator-permissions-snap@0.0.1...@metamask/gator-permissions-snap@0.1.0
212+
[0.1.0]: https://github.com/MetaMask/snap-7715-permissions/compare/@metamask/gator-permissions-snap@0.1.0...@metamask/gator-permissions-snap@0.2.0
221213
[0.0.1]: https://github.com/MetaMask/snap-7715-permissions/releases/tag/@metamask/[email protected]

0 commit comments

Comments
 (0)