From d5126c3770d26984185aa50059a810baaf99a917 Mon Sep 17 00:00:00 2001 From: Prithpal Sooriya Date: Tue, 10 Sep 2024 11:58:00 +0100 Subject: [PATCH 1/6] Initialize Release 199.0.0 --- packages/notification-services-controller/CHANGELOG.md | 5 +++++ packages/profile-sync-controller/CHANGELOG.md | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/packages/notification-services-controller/CHANGELOG.md b/packages/notification-services-controller/CHANGELOG.md index 8380923814..6e8368ce49 100644 --- a/packages/notification-services-controller/CHANGELOG.md +++ b/packages/notification-services-controller/CHANGELOG.md @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Uncategorized + +- refactor: move contentful as a dev dependency ([#4673](https://github.com/MetaMask/core/pull/4673)) +- fix: update polygon symbol from MATIC to POL ([#4672](https://github.com/MetaMask/core/pull/4672)) + ## [0.4.1] ### Fixed diff --git a/packages/profile-sync-controller/CHANGELOG.md b/packages/profile-sync-controller/CHANGELOG.md index 990bb15a9e..d0b5f9c5ec 100644 --- a/packages/profile-sync-controller/CHANGELOG.md +++ b/packages/profile-sync-controller/CHANGELOG.md @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Uncategorized + +- feat(NOTIFY-1046): attach account sync upwards sync to `AccountsController` events ([#4665](https://github.com/MetaMask/core/pull/4665)) +- feat: added utility function to check if snap is connected ([#4668](https://github.com/MetaMask/core/pull/4668)) + ## [0.4.0] ### Added From 487f90f2ccae27184fee0c978f21b7b95994d5bf Mon Sep 17 00:00:00 2001 From: Prithpal Sooriya Date: Tue, 10 Sep 2024 12:00:14 +0100 Subject: [PATCH 2/6] Update package versions --- package.json | 2 +- packages/notification-services-controller/package.json | 6 +++--- packages/profile-sync-controller/package.json | 2 +- yarn.lock | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index b239eeb7aa..6ad5236365 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/core-monorepo", - "version": "198.0.0", + "version": "199.0.0", "private": true, "description": "Monorepo for packages shared between MetaMask clients", "repository": { diff --git a/packages/notification-services-controller/package.json b/packages/notification-services-controller/package.json index 11f9691e60..c6e7d0b2ae 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.4.1", + "version": "0.5.0", "description": "Manages New MetaMask decentralized Notification system", "keywords": [ "MetaMask", @@ -81,7 +81,7 @@ "@lavamoat/allow-scripts": "^3.0.4", "@metamask/auto-changelog": "^3.4.4", "@metamask/keyring-controller": "^17.2.0", - "@metamask/profile-sync-controller": "^0.4.0", + "@metamask/profile-sync-controller": "^0.5.0", "@types/jest": "^27.4.1", "@types/readable-stream": "^2.3.0", "contentful": "^10.15.0", @@ -96,7 +96,7 @@ }, "peerDependencies": { "@metamask/keyring-controller": "^17.0.0", - "@metamask/profile-sync-controller": "^0.4.0" + "@metamask/profile-sync-controller": "^0.5.0" }, "engines": { "node": "^18.18 || >=20" diff --git a/packages/profile-sync-controller/package.json b/packages/profile-sync-controller/package.json index 8fbe8976e9..ea20de229e 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.4.0", + "version": "0.5.0", "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 d21aed1416..d2af4340b2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3249,7 +3249,7 @@ __metadata: "@metamask/base-controller": "npm:^7.0.0" "@metamask/controller-utils": "npm:^11.2.0" "@metamask/keyring-controller": "npm:^17.2.0" - "@metamask/profile-sync-controller": "npm:^0.4.0" + "@metamask/profile-sync-controller": "npm:^0.5.0" "@types/jest": "npm:^27.4.1" "@types/readable-stream": "npm:^2.3.0" bignumber.js: "npm:^4.1.0" @@ -3267,7 +3267,7 @@ __metadata: uuid: "npm:^8.3.2" peerDependencies: "@metamask/keyring-controller": ^17.0.0 - "@metamask/profile-sync-controller": ^0.4.0 + "@metamask/profile-sync-controller": ^0.5.0 languageName: unknown linkType: soft @@ -3444,7 +3444,7 @@ __metadata: languageName: unknown linkType: soft -"@metamask/profile-sync-controller@npm:^0.4.0, @metamask/profile-sync-controller@workspace:packages/profile-sync-controller": +"@metamask/profile-sync-controller@npm:^0.5.0, @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: From d62f5fc8e090bf6ad229c10b85558717fdb8d88e Mon Sep 17 00:00:00 2001 From: Prithpal Sooriya Date: Tue, 10 Sep 2024 12:04:55 +0100 Subject: [PATCH 3/6] update @metamask/notification-services-controller changelog --- .../notification-services-controller/CHANGELOG.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/packages/notification-services-controller/CHANGELOG.md b/packages/notification-services-controller/CHANGELOG.md index 6e8368ce49..163dad320a 100644 --- a/packages/notification-services-controller/CHANGELOG.md +++ b/packages/notification-services-controller/CHANGELOG.md @@ -7,10 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -### Uncategorized +## [0.5.0] -- refactor: move contentful as a dev dependency ([#4673](https://github.com/MetaMask/core/pull/4673)) -- fix: update polygon symbol from MATIC to POL ([#4672](https://github.com/MetaMask/core/pull/4672)) +### Changed + +- move contentful as a dev dependency ([#4673](https://github.com/MetaMask/core/pull/4673)) +- update polygon symbol from MATIC to POL ([#4672](https://github.com/MetaMask/core/pull/4672)) +- Bump `@metamask/profile-sync-controller` from `^0.4.0` to `^0.5.0` ## [0.4.1] @@ -120,7 +123,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/notification-services-controller@0.4.1...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/notification-services-controller@0.5.0...HEAD +[0.5.0]: https://github.com/MetaMask/core/compare/@metamask/notification-services-controller@0.4.1...@metamask/notification-services-controller@0.5.0 [0.4.1]: https://github.com/MetaMask/core/compare/@metamask/notification-services-controller@0.4.0...@metamask/notification-services-controller@0.4.1 [0.4.0]: https://github.com/MetaMask/core/compare/@metamask/notification-services-controller@0.3.0...@metamask/notification-services-controller@0.4.0 [0.3.0]: https://github.com/MetaMask/core/compare/@metamask/notification-services-controller@0.2.1...@metamask/notification-services-controller@0.3.0 From cf2047d0acbfe076fd16b624be9600c881c961b0 Mon Sep 17 00:00:00 2001 From: Prithpal Sooriya Date: Tue, 10 Sep 2024 12:05:19 +0100 Subject: [PATCH 4/6] update @metamask/profile-sync-controller changelog --- packages/profile-sync-controller/CHANGELOG.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/packages/profile-sync-controller/CHANGELOG.md b/packages/profile-sync-controller/CHANGELOG.md index d0b5f9c5ec..ba4a2ae25e 100644 --- a/packages/profile-sync-controller/CHANGELOG.md +++ b/packages/profile-sync-controller/CHANGELOG.md @@ -7,10 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -### Uncategorized +## [0.5.0] -- feat(NOTIFY-1046): attach account sync upwards sync to `AccountsController` events ([#4665](https://github.com/MetaMask/core/pull/4665)) -- feat: added utility function to check if snap is connected ([#4668](https://github.com/MetaMask/core/pull/4668)) +### Added + +- add isSnapConnected method to the Authentication SDK ([#4668](https://github.com/MetaMask/core/pull/4668)) +- add `accountAdded` and `accountRenamed` events when triggering account syncing ([#4665](https://github.com/MetaMask/core/pull/4665)) ## [0.4.0] @@ -139,7 +141,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.4.0...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/profile-sync-controller@0.5.0...HEAD +[0.5.0]: https://github.com/MetaMask/core/compare/@metamask/profile-sync-controller@0.4.0...@metamask/profile-sync-controller@0.5.0 [0.4.0]: https://github.com/MetaMask/core/compare/@metamask/profile-sync-controller@0.3.0...@metamask/profile-sync-controller@0.4.0 [0.3.0]: https://github.com/MetaMask/core/compare/@metamask/profile-sync-controller@0.2.1...@metamask/profile-sync-controller@0.3.0 [0.2.1]: https://github.com/MetaMask/core/compare/@metamask/profile-sync-controller@0.2.0...@metamask/profile-sync-controller@0.2.1 From 4237cc08e10332f00e133b47787fd938a9f0f327 Mon Sep 17 00:00:00 2001 From: Prithpal Sooriya Date: Tue, 10 Sep 2024 12:08:57 +0100 Subject: [PATCH 5/6] update @metamask/notification-services-controller changelog --- packages/notification-services-controller/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/notification-services-controller/CHANGELOG.md b/packages/notification-services-controller/CHANGELOG.md index 163dad320a..c4057c52e8 100644 --- a/packages/notification-services-controller/CHANGELOG.md +++ b/packages/notification-services-controller/CHANGELOG.md @@ -13,7 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - move contentful as a dev dependency ([#4673](https://github.com/MetaMask/core/pull/4673)) - update polygon symbol from MATIC to POL ([#4672](https://github.com/MetaMask/core/pull/4672)) -- Bump `@metamask/profile-sync-controller` from `^0.4.0` to `^0.5.0` +- Bump `@metamask/profile-sync-controller` from `^0.4.0` to `^0.5.0` ([#4678](https://github.com/MetaMask/core/pull/4678)) ## [0.4.1] From 2ff1387a6a24f0d9c717c939e0c36d57f7f3313b Mon Sep 17 00:00:00 2001 From: Prithpal Sooriya Date: Tue, 10 Sep 2024 12:19:43 +0100 Subject: [PATCH 6/6] update @metamask/profile-sync-controller changelog --- packages/profile-sync-controller/CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/profile-sync-controller/CHANGELOG.md b/packages/profile-sync-controller/CHANGELOG.md index ba4a2ae25e..4fa073df1f 100644 --- a/packages/profile-sync-controller/CHANGELOG.md +++ b/packages/profile-sync-controller/CHANGELOG.md @@ -13,6 +13,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - add isSnapConnected method to the Authentication SDK ([#4668](https://github.com/MetaMask/core/pull/4668)) - add `accountAdded` and `accountRenamed` events when triggering account syncing ([#4665](https://github.com/MetaMask/core/pull/4665)) +- prevent accounts controller events being used when sync is in progress ([#4675](https://github.com/MetaMask/core/pull/4675)) + - add `isAccountSyncingInProgress` to `UserStorageController` + - add `isAccountSyncingInProgress` checks to abort processing `accountAdded` and `accountRenamed` events. + +### Removed + +- account sync throttling ([#4675](https://github.com/MetaMask/core/pull/4675)) + - remove `maxSyncInterval`; `lastSyncedAt`; `shouldSync` from `UserStorageController` ## [0.4.0]