From e441444f473ffe75257000f0948d1e4590790224 Mon Sep 17 00:00:00 2001 From: Prithpal Sooriya Date: Fri, 19 Jul 2024 17:22:52 +0100 Subject: [PATCH] Release 178.0.0 (#4542) Releases new version of `@metamask/notification-services-controller` & `@metamask/profile-sync-controller`. This adds fixes found in extension and infura SDK integration. --- package.json | 2 +- .../CHANGELOG.md | 15 +++++++++++++- .../package.json | 6 +++--- packages/profile-sync-controller/CHANGELOG.md | 20 ++++++++++++++++++- packages/profile-sync-controller/package.json | 2 +- yarn.lock | 6 +++--- 6 files changed, 41 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 583f3def98..19942e8149 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/core-monorepo", - "version": "177.0.0", + "version": "178.0.0", "private": true, "description": "Monorepo for packages shared between MetaMask clients", "repository": { diff --git a/packages/notification-services-controller/CHANGELOG.md b/packages/notification-services-controller/CHANGELOG.md index 0286f0f5b5..83070274d9 100644 --- a/packages/notification-services-controller/CHANGELOG.md +++ b/packages/notification-services-controller/CHANGELOG.md @@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.1.2] + +### Added + +- added catch statements in NotificationServicesController to silently fail push notifications ([#4536](https://github.com/MetaMask/core/pull/4536)) + +- added checks to see feature announcement environments before fetching announcements ([#4530](https://github.com/MetaMask/core/pull/4530)) + +### Removed + +- removed retries when fetching announcements and wallet notifications. Clients are to handle retries now. ([#4531](https://github.com/MetaMask/core/pull/4531)) + ## [0.1.1] ### Added @@ -29,6 +41,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial release -[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/notification-services-controller@0.1.1...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/notification-services-controller@0.1.2...HEAD +[0.1.2]: https://github.com/MetaMask/core/compare/@metamask/notification-services-controller@0.1.1...@metamask/notification-services-controller@0.1.2 [0.1.1]: https://github.com/MetaMask/core/compare/@metamask/notification-services-controller@0.1.0...@metamask/notification-services-controller@0.1.1 [0.1.0]: https://github.com/MetaMask/core/releases/tag/@metamask/notification-services-controller@0.1.0 diff --git a/packages/notification-services-controller/package.json b/packages/notification-services-controller/package.json index 01bf65a02c..23ef4f1e36 100644 --- a/packages/notification-services-controller/package.json +++ b/packages/notification-services-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/notification-services-controller", - "version": "0.1.1", + "version": "0.1.2", "description": "Manages New MetaMask decentralized Notification system", "keywords": [ "MetaMask", @@ -45,7 +45,7 @@ "@metamask/base-controller": "^6.0.1", "@metamask/controller-utils": "^11.0.1", "@metamask/keyring-controller": "^17.1.1", - "@metamask/profile-sync-controller": "^0.1.3", + "@metamask/profile-sync-controller": "^0.1.4", "bignumber.js": "^4.1.0", "contentful": "^10.3.6", "firebase": "^10.11.0", @@ -68,7 +68,7 @@ }, "peerDependencies": { "@metamask/keyring-controller": "^17.0.0", - "@metamask/profile-sync-controller": "^0.1.2" + "@metamask/profile-sync-controller": "^0.1.4" }, "engines": { "node": "^18.18 || >=20" diff --git a/packages/profile-sync-controller/CHANGELOG.md b/packages/profile-sync-controller/CHANGELOG.md index 27408a1add..ab2ad99ed2 100644 --- a/packages/profile-sync-controller/CHANGELOG.md +++ b/packages/profile-sync-controller/CHANGELOG.md @@ -7,6 +7,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.1.4] + +### Added + +- added `LoginResponse` validation in profile syncing SDK ([#4541](https://github.com/MetaMask/core/pull/4541)) + +- added snap caching when calling the message signing snap ([#4532](https://github.com/MetaMask/core/pull/4532)) + +### Removed + +- removed a server-side node dependency from profile-sync-sdk ([#4539](https://github.com/MetaMask/core/pull/4539)) + +### Fixed + +- removed a catch statement call in AuthenticationController to prevent infinite crashes. ([#4533](https://github.com/MetaMask/core/pull/4533)) + ## [0.1.3] ### Changed @@ -18,6 +34,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - added platform field when logging in to receive correct OIDC access token ([#4480](https://github.com/MetaMask/core/pull/4480)) + - added metametrics validation in constructor ([#4480](https://github.com/MetaMask/core/pull/4480)) ### Changed @@ -40,7 +57,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial release -[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/profile-sync-controller@0.1.3...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/profile-sync-controller@0.1.4...HEAD +[0.1.4]: https://github.com/MetaMask/core/compare/@metamask/profile-sync-controller@0.1.3...@metamask/profile-sync-controller@0.1.4 [0.1.3]: https://github.com/MetaMask/core/compare/@metamask/profile-sync-controller@0.1.2...@metamask/profile-sync-controller@0.1.3 [0.1.2]: https://github.com/MetaMask/core/compare/@metamask/profile-sync-controller@0.1.1...@metamask/profile-sync-controller@0.1.2 [0.1.1]: https://github.com/MetaMask/core/compare/@metamask/profile-sync-controller@0.1.0...@metamask/profile-sync-controller@0.1.1 diff --git a/packages/profile-sync-controller/package.json b/packages/profile-sync-controller/package.json index 658ac12479..ae1bc9efd6 100644 --- a/packages/profile-sync-controller/package.json +++ b/packages/profile-sync-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/profile-sync-controller", - "version": "0.1.3", + "version": "0.1.4", "description": "The profile sync helps developers synchronize data across multiple clients and devices in a privacy-preserving way. All data saved in the user storage database is encrypted client-side to preserve privacy. The user storage provides a modular design, giving developers the flexibility to construct and manage their storage spaces in a way that best suits their needs", "keywords": [ "MetaMask", diff --git a/yarn.lock b/yarn.lock index 1eef5f68e2..85024425df 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3307,7 +3307,7 @@ __metadata: "@metamask/base-controller": "npm:^6.0.1" "@metamask/controller-utils": "npm:^11.0.1" "@metamask/keyring-controller": "npm:^17.1.1" - "@metamask/profile-sync-controller": "npm:^0.1.3" + "@metamask/profile-sync-controller": "npm:^0.1.4" "@types/jest": "npm:^27.4.1" "@types/readable-stream": "npm:^2.3.0" bignumber.js: "npm:^4.1.0" @@ -3325,7 +3325,7 @@ __metadata: uuid: "npm:^8.3.2" peerDependencies: "@metamask/keyring-controller": ^17.0.0 - "@metamask/profile-sync-controller": ^0.1.2 + "@metamask/profile-sync-controller": ^0.1.4 languageName: unknown linkType: soft @@ -3518,7 +3518,7 @@ __metadata: languageName: unknown linkType: soft -"@metamask/profile-sync-controller@npm:^0.1.3, @metamask/profile-sync-controller@workspace:packages/profile-sync-controller": +"@metamask/profile-sync-controller@npm:^0.1.4, @metamask/profile-sync-controller@workspace:packages/profile-sync-controller": version: 0.0.0-use.local resolution: "@metamask/profile-sync-controller@workspace:packages/profile-sync-controller" dependencies: