From d537edb1bd7df8dabe1eea654cca31e145baf7a0 Mon Sep 17 00:00:00 2001 From: Prithpal Sooriya Date: Fri, 6 Sep 2024 16:45:53 +0100 Subject: [PATCH 1/4] Initialize Release 196.0.0 --- packages/profile-sync-controller/CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/profile-sync-controller/CHANGELOG.md b/packages/profile-sync-controller/CHANGELOG.md index 8e28bee202..d93809cbb1 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: add throttling to account syncing ([#4659](https://github.com/MetaMask/core/pull/4659)) +- feat: native scrypt support on Profile Sync Controller ([#4656](https://github.com/MetaMask/core/pull/4656)) + ## [0.3.0] ### Added From 4c8682c0eee31d9542d179d649e801d16741405a Mon Sep 17 00:00:00 2001 From: Prithpal Sooriya Date: Fri, 6 Sep 2024 16:53:38 +0100 Subject: [PATCH 2/4] Update package versions --- package.json | 2 +- packages/profile-sync-controller/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 24f253d85f..bb0a0f084f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/core-monorepo", - "version": "195.0.0", + "version": "196.0.0", "private": true, "description": "Monorepo for packages shared between MetaMask clients", "repository": { diff --git a/packages/profile-sync-controller/package.json b/packages/profile-sync-controller/package.json index 5d76f83a16..f17e28ef58 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.3.0", + "version": "0.3.1", "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", From a58fe95466b5a05d5cff21ed1bf4f51b3063d460 Mon Sep 17 00:00:00 2001 From: Prithpal Sooriya Date: Fri, 6 Sep 2024 16:53:53 +0100 Subject: [PATCH 3/4] 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 d93809cbb1..262a073913 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.3.1] -- feat: add throttling to account syncing ([#4659](https://github.com/MetaMask/core/pull/4659)) -- feat: native scrypt support on Profile Sync Controller ([#4656](https://github.com/MetaMask/core/pull/4656)) +### Added + +- add `maxSyncInterval` for account syncing to `UserStorageController` prevent multiple sync requests ([#4659](https://github.com/MetaMask/core/pull/4659)) +- add optional `NativeScrypt` property to `UserStorageController` to allow the scrypt implementation to be swapped out for a native version. Improving mobile performance ([#4656](https://github.com/MetaMask/core/pull/4656)) ## [0.3.0] @@ -132,7 +134,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.3.0...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/profile-sync-controller@0.3.1...HEAD +[0.3.1]: https://github.com/MetaMask/core/compare/@metamask/profile-sync-controller@0.3.0...@metamask/profile-sync-controller@0.3.1 [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 [0.2.0]: https://github.com/MetaMask/core/compare/@metamask/profile-sync-controller@0.1.4...@metamask/profile-sync-controller@0.2.0 From b4bfe988b3e4a75a3286acbbf415b6fe1361d584 Mon Sep 17 00:00:00 2001 From: Prithpal Sooriya Date: Fri, 6 Sep 2024 17:07:20 +0100 Subject: [PATCH 4/4] update dependencies As this is a v0, I've changed this publishing to a minor change instead of a patch --- packages/notification-services-controller/CHANGELOG.md | 9 ++++++++- packages/notification-services-controller/package.json | 6 +++--- packages/profile-sync-controller/CHANGELOG.md | 6 +++--- packages/profile-sync-controller/package.json | 2 +- yarn.lock | 6 +++--- 5 files changed, 18 insertions(+), 11 deletions(-) diff --git a/packages/notification-services-controller/CHANGELOG.md b/packages/notification-services-controller/CHANGELOG.md index ca87120077..211ae50bcb 100644 --- a/packages/notification-services-controller/CHANGELOG.md +++ b/packages/notification-services-controller/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.4.0] + +### Changed + +- Bump `@metamask/profile-sync-controller` from `^0.3.0` to `^0.4.0` ([#4661](https://github.com/MetaMask/core/pull/4661)) + ## [0.3.0] ### Added @@ -101,7 +107,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.3.0...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/notification-services-controller@0.4.0...HEAD +[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 [0.2.1]: https://github.com/MetaMask/core/compare/@metamask/notification-services-controller@0.2.0...@metamask/notification-services-controller@0.2.1 [0.2.0]: https://github.com/MetaMask/core/compare/@metamask/notification-services-controller@0.1.2...@metamask/notification-services-controller@0.2.0 diff --git a/packages/notification-services-controller/package.json b/packages/notification-services-controller/package.json index 88badf8b96..b2baeeeb88 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.3.0", + "version": "0.4.0", "description": "Manages New MetaMask decentralized Notification system", "keywords": [ "MetaMask", @@ -82,7 +82,7 @@ "@lavamoat/allow-scripts": "^3.0.4", "@metamask/auto-changelog": "^3.4.4", "@metamask/keyring-controller": "^17.2.0", - "@metamask/profile-sync-controller": "^0.3.0", + "@metamask/profile-sync-controller": "^0.4.0", "@types/jest": "^27.4.1", "@types/readable-stream": "^2.3.0", "deepmerge": "^4.2.2", @@ -96,7 +96,7 @@ }, "peerDependencies": { "@metamask/keyring-controller": "^17.0.0", - "@metamask/profile-sync-controller": "^0.3.0" + "@metamask/profile-sync-controller": "^0.4.0" }, "engines": { "node": "^18.18 || >=20" diff --git a/packages/profile-sync-controller/CHANGELOG.md b/packages/profile-sync-controller/CHANGELOG.md index 262a073913..990bb15a9e 100644 --- a/packages/profile-sync-controller/CHANGELOG.md +++ b/packages/profile-sync-controller/CHANGELOG.md @@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -## [0.3.1] +## [0.4.0] ### Added @@ -134,8 +134,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.3.1...HEAD -[0.3.1]: https://github.com/MetaMask/core/compare/@metamask/profile-sync-controller@0.3.0...@metamask/profile-sync-controller@0.3.1 +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/profile-sync-controller@0.4.0...HEAD +[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 [0.2.0]: https://github.com/MetaMask/core/compare/@metamask/profile-sync-controller@0.1.4...@metamask/profile-sync-controller@0.2.0 diff --git a/packages/profile-sync-controller/package.json b/packages/profile-sync-controller/package.json index f17e28ef58..8fbe8976e9 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.3.1", + "version": "0.4.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 55a7eb9382..d21aed1416 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.3.0" + "@metamask/profile-sync-controller": "npm:^0.4.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.3.0 + "@metamask/profile-sync-controller": ^0.4.0 languageName: unknown linkType: soft @@ -3444,7 +3444,7 @@ __metadata: languageName: unknown linkType: soft -"@metamask/profile-sync-controller@npm:^0.3.0, @metamask/profile-sync-controller@workspace:packages/profile-sync-controller": +"@metamask/profile-sync-controller@npm:^0.4.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: