Skip to content

Commit d7c720e

Browse files
mj-kiwijeffsmale90
authored andcommitted
Update Release 5.0.0
1 parent a942610 commit d7c720e

File tree

5 files changed

+231
-5
lines changed

5 files changed

+231
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/snap-7715-permissions-monorepo",
3-
"version": "4.0.0",
3+
"version": "5.0.0",
44
"private": true,
55
"description": "Monorepo for 7715 permissions snaps.",
66
"repository": {

packages/gator-permissions-snap/CHANGELOG.md

Lines changed: 158 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,162 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.3.0]
11+
12+
### Uncategorized
13+
14+
- 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.
17+
- Add chain metadata for supported testnets
18+
- Provide metadata when signing delegation ([#169](https://github.com/MetaMask/snap-7715-permissions/pull/169))
19+
- Rename RCP Urls To Be Consistent ([#168](https://github.com/MetaMask/snap-7715-permissions/pull/168))
20+
- Refactor getTokenBalance to return bigint zero using 0n and optimize address comparison
21+
- Merge branch 'main' into feat/account-api-v2
22+
- When signing the delegation with eth_signTypedData, provide origin and justification in metadata property on EIP-712 payload
23+
- chore: changed to plural refereces of permissionProvider
24+
- Remove endowment lifecycle hooks ([#164](https://github.com/MetaMask/snap-7715-permissions/pull/164))
25+
- 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
28+
- 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
32+
- 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))
35+
- tests upadate
36+
- 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
38+
- 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
40+
- clear timeout move to finally block
41+
- fix: TokenIcon runtime type enforcement ([#155](https://github.com/MetaMask/snap-7715-permissions/pull/155))
42+
- account api v2
43+
- 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))
46+
- rename method
47+
- 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))
51+
- Process permission requests sequentially ([#150](https://github.com/MetaMask/snap-7715-permissions/pull/150))
52+
- try caipAssetType normal and case insesitive lookup as fallback
53+
- Add priceApi response validation
54+
- Add account API client validation and fetch timeout
55+
- 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))
59+
- Use null where appropriate ([#143](https://github.com/MetaMask/snap-7715-permissions/pull/143))
60+
- 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))
62+
- Change generic errors with snap errors ([#135](https://github.com/MetaMask/snap-7715-permissions/pull/135))
63+
- 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))
65+
- Update shasum, in preparation for merge to main ([#137](https://github.com/MetaMask/snap-7715-permissions/pull/137))
66+
- 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))
68+
- Update architecture doc to reflect updated architecture ([#133](https://github.com/MetaMask/snap-7715-permissions/pull/133))
69+
- Update homepage to remove reference to Smart Contract Account. ([#131](https://github.com/MetaMask/snap-7715-permissions/pull/131))
70+
- 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))
72+
- Update input validation ([#110](https://github.com/MetaMask/snap-7715-permissions/pull/110))
73+
- 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))
75+
- 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))
78+
- Remove add more rules modal, and replace it with a simple toggle ([#120](https://github.com/MetaMask/snap-7715-permissions/pull/120))
79+
- style: update component class definition to include text color
80+
- style: fix indentation in package.json files and docs
81+
- 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))
83+
- update error message
84+
- update manifest
85+
- Merge branch 'main' of https://github.com/MetaMask/snap-7715-permissions into chore/justification-sanitation
86+
- manifest update
87+
- import order fix
88+
- Merge branch 'main' of https://github.com/MetaMask/snap-7715-permissions into chore/sequentialEventHandling
89+
- manifest update
90+
- 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))
93+
- execute handlers sequentially and function rename
94+
- address potential race condition
95+
- update docs
96+
- update snap manifest
97+
- Make sure events are processes sequentially and that all events are proccessed before granting permission
98+
- update manifest
99+
- linter fixes
100+
- update manifest
101+
- make justification optional and show default message in this case
102+
- Update linter rule for empty line is js docs and update comments to have an empty line
103+
- 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
108+
- update snap manifest
109+
- linter fixes
110+
- Update snap manifest
111+
- Merge branch 'main' of https://github.com/MetaMask/snap-7715-permissions into chore/dependency-updates
112+
- 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))
114+
- bump major version on dependencies
115+
- update node version, bump dependencies
116+
- 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))
127+
- 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
131+
- Bump the npm_and_yarn group across 1 directory with 3 updates ([#78](https://github.com/MetaMask/snap-7715-permissions/pull/78))
132+
- refactor: reduce boilerplate in permission definitions
133+
- Improve asynchronicity when resolving context for period permissions. Fix various linting issues.
134+
- Fix failing test
135+
- Fix lint error
136+
- Fix merge conflict
137+
- 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
141+
- Update packages/gator-permissions-snap/src/permissions/nativeTokenPeriodic/caveats.ts
142+
- feat: add native token periodic permission type and handler
143+
- Move confirmation wrapper into shared permissionHandlerContent.tsx - title - add more rules button
144+
- Move ruleManager, permissionHandler, ruleModalManager to core
145+
- Update documentation
146+
- Fix linting
147+
- Remove defunct handlers from confirmation
148+
- Implement handler pattern: - decouple handler out of orchestrator - update naming throughout handlers and orchestrators to be more consistent
149+
- Fix those tests
150+
- 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
152+
- refactor: extract shared expiry rule, remove defunct permissions/types.ts
153+
- Add tests for ruleModalManager and rules
154+
- Update tests to match implementation
155+
- Standardise some naming
156+
- Add rules abstraction, somewhat shoehorned into existing baseOrchestrator
157+
- Try again to fix shasum
158+
- Fix shasum
159+
- Manual fixes to linting errors
160+
- Enable linting of tsx files in gator-permissions. Auto fix linting problems.
161+
- Move allSupportedChains itno BaseAccountController as private static member
162+
- Fix environment variable parsing
163+
- Merge main
164+
- Improve profile sync dev experience ([#86](https://github.com/MetaMask/snap-7715-permissions/pull/86))
165+
10166
## [0.2.1]
11167

12168
### Fixed
@@ -57,7 +213,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
57213
- Ensure create-release-branch cli tool passes ([#54](https://github.com/MetaMask/snap-7715-permissions/pull/54))
58214
- Add changelog scripts ([#55](https://github.com/MetaMask/snap-7715-permissions/pull/55))
59215

60-
[Unreleased]: https://github.com/MetaMask/snap-7715-permissions/compare/@metamask/[email protected]
216+
[Unreleased]: https://github.com/MetaMask/snap-7715-permissions/compare/@metamask/[email protected]
217+
[0.3.0]: https://github.com/MetaMask/snap-7715-permissions/compare/@metamask/[email protected]...@metamask/[email protected]
61218
[0.2.1]: https://github.com/MetaMask/snap-7715-permissions/compare/@metamask/[email protected]...@metamask/[email protected]
62219
[0.2.0]: https://github.com/MetaMask/snap-7715-permissions/compare/@metamask/[email protected]...@metamask/[email protected]
63220
[0.1.0]: https://github.com/MetaMask/snap-7715-permissions/compare/@metamask/[email protected]...@metamask/[email protected]

packages/gator-permissions-snap/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/gator-permissions-snap",
3-
"version": "0.2.1",
3+
"version": "0.3.0",
44
"description": "Grants 7715 permissions from a DeleGator smart account",
55
"homepage": "https://github.com/MetaMask/snap-7715-permissions/tree/main/packages/permissions-kernel-snap#readme",
66
"bugs": {

0 commit comments

Comments
 (0)