From 98cba32e6726530218e53665250c70517c3c6293 Mon Sep 17 00:00:00 2001 From: Dan J Miller Date: Thu, 7 Mar 2024 17:19:43 -0330 Subject: [PATCH 1/4] v11.11.4 --- CHANGELOG.md | 5 ++++- package.json | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9eb16b2dc38d..a775fe6c98e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [11.11.4] + ## [11.11.3] ## [11.11.2] @@ -4440,7 +4442,8 @@ Update styles and spacing on the critical error page ([#20350](https://github.c ### Uncategorized - Added the ability to restore accounts from seed words. -[Unreleased]: https://github.com/MetaMask/metamask-extension/compare/v11.11.3...HEAD +[Unreleased]: https://github.com/MetaMask/metamask-extension/compare/v11.11.4...HEAD +[11.11.4]: https://github.com/MetaMask/metamask-extension/compare/v11.11.3...v11.11.4 [11.11.3]: https://github.com/MetaMask/metamask-extension/compare/v11.11.2...v11.11.3 [11.11.2]: https://github.com/MetaMask/metamask-extension/compare/v11.11.1...v11.11.2 [11.11.1]: https://github.com/MetaMask/metamask-extension/compare/v11.11.0...v11.11.1 diff --git a/package.json b/package.json index d59fce1f3029..e6c19dab3d1e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "metamask-crx", - "version": "11.11.3", + "version": "11.11.4", "private": true, "repository": { "type": "git", From f09261ebe491a5530577f947daf1f4f48f352dda Mon Sep 17 00:00:00 2001 From: Frederik Bolding Date: Thu, 7 Mar 2024 22:13:37 +0100 Subject: [PATCH 2/4] fix: cherry-pick snaps hotfix to RC (#23382) ## **Description** Cherry-picks https://github.com/MetaMask/metamask-extension/commit/0c992d9fa1070b5fb77d8c8f293dc1ecce776517 to the RC. --- yarn.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/yarn.lock b/yarn.lock index dc34aadc5327..e8f94f3609b3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4835,14 +4835,14 @@ __metadata: linkType: hard "@metamask/snaps-registry@npm:^3.0.0": - version: 3.0.0 - resolution: "@metamask/snaps-registry@npm:3.0.0" + version: 3.0.1 + resolution: "@metamask/snaps-registry@npm:3.0.1" dependencies: - "@metamask/utils": "npm:^8.1.0" + "@metamask/utils": "npm:^8.3.0" "@noble/curves": "npm:^1.2.0" "@noble/hashes": "npm:^1.3.2" superstruct: "npm:^1.0.3" - checksum: 3c6066807f214cf2cad1dc084b928dcd5b2c98cb09e3e38111ef56ed199f643abb2f035d1a57b7452de197643f6d0b4749541d05764723eb0c6a6f27ae314b06 + checksum: fa981560e13b4ecb077123d7123d7afe9327c06a7f29b71ca760a5e87138738b9e8075f3b9a983231ba5f5df70537eea08e3d2496b7275d649f9337f5a263154 languageName: node linkType: hard From 0f0e25a2c3010a5a90ce1e6027c26d5fb9a01cb9 Mon Sep 17 00:00:00 2001 From: Frederik Bolding Date: Thu, 7 Mar 2024 23:38:38 +0100 Subject: [PATCH 3/4] fix: cherry-pick Snaps feature flag to RC (#23384) ## **Description** Cherry-picks 9ee8738fca4502a6d84a6409013cf11f244d199e to the RC. --- shared/constants/permissions.test.js | 1 - shared/constants/snaps/permissions.ts | 4 +--- test/e2e/run-all.js | 1 - 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/shared/constants/permissions.test.js b/shared/constants/permissions.test.js index 99afcaa9208e..bfdd7162e0d7 100644 --- a/shared/constants/permissions.test.js +++ b/shared/constants/permissions.test.js @@ -13,7 +13,6 @@ describe('EndowmentPermissions', () => { expect(Object.keys(EndowmentPermissions).sort()).toStrictEqual( [ 'endowment:name-lookup', - 'endowment:page-home', ...Object.keys(endowmentPermissionBuilders).filter( (targetName) => !Object.keys(ExcludedSnapEndowments).includes(targetName), diff --git a/shared/constants/snaps/permissions.ts b/shared/constants/snaps/permissions.ts index 44693e8fa09a..7e222aeedc59 100644 --- a/shared/constants/snaps/permissions.ts +++ b/shared/constants/snaps/permissions.ts @@ -6,8 +6,8 @@ export const EndowmentPermissions = Object.freeze({ 'endowment:rpc': 'endowment:rpc', 'endowment:webassembly': 'endowment:webassembly', 'endowment:lifecycle-hooks': 'endowment:lifecycle-hooks', - ///: BEGIN:ONLY_INCLUDE_IF(build-flask) 'endowment:page-home': 'endowment:page-home', + ///: BEGIN:ONLY_INCLUDE_IF(build-flask) 'endowment:name-lookup': 'endowment:name-lookup', ///: END:ONLY_INCLUDE_IF ///: BEGIN:ONLY_INCLUDE_IF(keyring-snaps) @@ -25,8 +25,6 @@ export const ExcludedSnapEndowments = Object.freeze({ 'endowment:signature-insight': 'This endowment is in development and therefore not available.', ///: BEGIN:ONLY_INCLUDE_IF(build-main) - 'endowment:page-home': - 'This endowment is experimental and therefore not available.', 'endowment:name-lookup': 'This endowment is experimental and therefore not available.', ///: END:ONLY_INCLUDE_IF diff --git a/test/e2e/run-all.js b/test/e2e/run-all.js index 267305c5eac6..f927756f865a 100644 --- a/test/e2e/run-all.js +++ b/test/e2e/run-all.js @@ -11,7 +11,6 @@ const { loadBuildTypesConfig } = require('../../development/lib/build-type'); const FLASK_ONLY_TESTS = [ 'test-snap-txinsights-v2.spec.js', 'test-snap-namelookup.spec.js', - 'test-snap-homepage.spec.js', ]; const getTestPathsForTestDir = async (testDir) => { From 2602a3b56fe39daf182701802fa6c908f12457c8 Mon Sep 17 00:00:00 2001 From: Dan J Miller Date: Thu, 7 Mar 2024 17:44:24 -0330 Subject: [PATCH 4/4] Update changelog for v11.11.3 --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a775fe6c98e8..a49f73347627 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ## [11.11.4] +### Changed +- Enable Snaps home pages ([#23383](https://github.com/MetaMask/metamask-extension/pull/23383)) + +### Fixed +- Fix intermittent Snaps installation issues due to faulty validation ([#23380](https://github.com/MetaMask/metamask-extension/pull/23380)) ## [11.11.3]