Skip to content

Commit 29840ad

Browse files
Release/1087.0.0 (#9348)
## Explanation This reverts commit 5ba7759. (The previous/initial release PR had malformed title and did not get picked up by CI) Publishes new versions of money account upgrade controller, authenticated user storage and notification services controller. The changes for these packages can be found #9316 These new packages are necessary to fix the current type issues related to notification preferences type the notifications team is facing when adding the new notification settings section for price alerts <!-- Thanks for your contribution! Take a moment to answer these questions so that reviewers have the information they need to properly understand your changes: * What is the current state of things and why does it need to change? * What is the solution your changes offer and how does it work? * Are there any changes whose purpose might not obvious to those unfamiliar with the domain? * If your primary goal was to update one package but you found you had to update another one along the way, why did you do so? * If you had to upgrade a dependency, why did you do so? --> ## References <!-- Are there any issues that this pull request is tied to? Are there other links that reviewers should consult to understand these changes better? Are there client or consumer pull requests to adopt any breaking changes? For example: * Fixes #12345 * Related to #67890 --> ## Checklist - [ ] I've updated the test suite for new or updated code as appropriate - [ ] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate - [ ] I've communicated my changes to consumers by [updating changelogs for packages I've changed](https://github.com/MetaMask/core/tree/main/docs/processes/updating-changelogs.md) - [ ] I've introduced [breaking changes](https://github.com/MetaMask/core/tree/main/docs/processes/breaking-changes.md) in this PR and have prepared draft pull requests for clients and consumer packages to resolve them <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Medium Risk** > Publishing AUS 3.0.0 with breaking `NotificationPreferences` typing and behavior (required fields, no client backfill) forces all bumped consumers to align; the PR itself is low-risk metadata but the released API contract is breaking for clients. > > **Overview** > **Monorepo release `1087.0.0`** that cuts new package versions and wires dependents to **`@metamask/authenticated-user-storage@^3.0.0`** (plus `yarn.lock`). > > **`@metamask/authenticated-user-storage@3.0.0`** is published with changelog entries for notification-preference work from [#9316](#9316): required `priceAlerts` / `DEFAULT_PRICE_ALERT_PREFERENCES`, **breaking** required `agenticCli`, and removal of client-side backfill in `getNotificationPreferences` (defaults come from the API on GET). > > **`@metamask/notification-services-controller@24.3.0`** documents initializing `priceAlerts` for fresh preferences and re-exporting `DEFAULT_PRICE_ALERT_PREFERENCES`, and bumps the AUS dependency. **`@metamask/money-account-upgrade-controller@2.2.0`** is a dependency-only release on AUS 3.x; **`perps-controller`** updates its devDependency to `^3.0.0`. This diff is version/changelog/lockfile only—no runtime source edits in the PR. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 53b29df. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY --> --------- Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 5ba7759 commit 29840ad

9 files changed

Lines changed: 28 additions & 15 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/core-monorepo",
3-
"version": "1086.0.0",
3+
"version": "1087.0.0",
44
"private": true,
55
"description": "Monorepo for packages shared between MetaMask clients",
66
"repository": {

packages/authenticated-user-storage/CHANGELOG.md

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

88
## [Unreleased]
99

10+
## [3.0.0]
11+
1012
### Added
1113

1214
- Add `PriceAlertPreference` type, required `priceAlerts` field on `NotificationPreferences`, and `DEFAULT_PRICE_ALERT_PREFERENCES` constant ([#9316](https://github.com/MetaMask/core/pull/9316))
@@ -61,7 +63,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6163

6264
- **BREAKING**: Rename `SocialAIPreference.traderProfileIds` to `mutedTraderProfileIds` in types and notification-preferences validation to match the API payload. ([#8536](https://github.com/MetaMask/core/pull/8536))
6365

64-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/authenticated-user-storage@2.1.0...HEAD
66+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/authenticated-user-storage@3.0.0...HEAD
67+
[3.0.0]: https://github.com/MetaMask/core/compare/@metamask/authenticated-user-storage@2.1.0...@metamask/authenticated-user-storage@3.0.0
6568
[2.1.0]: https://github.com/MetaMask/core/compare/@metamask/authenticated-user-storage@2.0.0...@metamask/authenticated-user-storage@2.1.0
6669
[2.0.0]: https://github.com/MetaMask/core/compare/@metamask/authenticated-user-storage@1.0.1...@metamask/authenticated-user-storage@2.0.0
6770
[1.0.1]: https://github.com/MetaMask/core/compare/@metamask/authenticated-user-storage@1.0.0...@metamask/authenticated-user-storage@1.0.1

packages/authenticated-user-storage/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/authenticated-user-storage",
3-
"version": "2.1.0",
3+
"version": "3.0.0",
44
"description": "SDK for authenticated (non-encrypted) user storage endpoints",
55
"keywords": [
66
"Ethereum",

packages/money-account-upgrade-controller/CHANGELOG.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [2.2.0]
11+
1012
### Changed
1113

12-
- Bump `@metamask/authenticated-user-storage` from `^2.0.0` to `^2.1.0` ([#9220](https://github.com/MetaMask/core/pull/9220))
14+
- Bump `@metamask/authenticated-user-storage` from `^2.0.0` to `^3.0.0` ([#9220](https://github.com/MetaMask/core/pull/9220), [#9348](https://github.com/MetaMask/core/pull/9348))
1315

1416
## [2.1.0]
1517

@@ -132,7 +134,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
132134

133135
- Add `MoneyAccountUpgradeController` with `upgradeAccount` method ([#8426](https://github.com/MetaMask/core/pull/8426))
134136

135-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/money-account-upgrade-controller@2.1.0...HEAD
137+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/money-account-upgrade-controller@2.2.0...HEAD
138+
[2.2.0]: https://github.com/MetaMask/core/compare/@metamask/money-account-upgrade-controller@2.1.0...@metamask/money-account-upgrade-controller@2.2.0
136139
[2.1.0]: https://github.com/MetaMask/core/compare/@metamask/money-account-upgrade-controller@2.0.5...@metamask/money-account-upgrade-controller@2.1.0
137140
[2.0.5]: https://github.com/MetaMask/core/compare/@metamask/money-account-upgrade-controller@2.0.4...@metamask/money-account-upgrade-controller@2.0.5
138141
[2.0.4]: https://github.com/MetaMask/core/compare/@metamask/money-account-upgrade-controller@2.0.3...@metamask/money-account-upgrade-controller@2.0.4

packages/money-account-upgrade-controller/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/money-account-upgrade-controller",
3-
"version": "2.1.0",
3+
"version": "2.2.0",
44
"description": "MetaMask Money account upgrade controller",
55
"keywords": [
66
"Ethereum",
@@ -53,7 +53,7 @@
5353
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch"
5454
},
5555
"dependencies": {
56-
"@metamask/authenticated-user-storage": "^2.1.0",
56+
"@metamask/authenticated-user-storage": "^3.0.0",
5757
"@metamask/base-controller": "^9.1.0",
5858
"@metamask/chomp-api-service": "^3.1.0",
5959
"@metamask/delegation-controller": "^3.0.2",

packages/notification-services-controller/CHANGELOG.md

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

88
## [Unreleased]
99

10+
## [24.3.0]
11+
1012
### Added
1113

1214
- Add `DEFAULT_PRICE_ALERT_PREFERENCES` and initialize `priceAlerts` when building fresh notification preferences via `NotificationServicesController` ([#9316](https://github.com/MetaMask/core/pull/9316))
1315
- Re-export `DEFAULT_PRICE_ALERT_PREFERENCES` from `@metamask/authenticated-user-storage`.
1416

17+
### Changed
18+
19+
- Bump `@metamask/authenticated-user-storage` from `^2.1.0` to `^3.0.0` ([#9348](https://github.com/MetaMask/core/pull/9348))
20+
1521
## [24.2.0]
1622

1723
### Added
@@ -791,7 +797,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
791797

792798
- Initial release
793799

794-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/notification-services-controller@24.2.0...HEAD
800+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/notification-services-controller@24.3.0...HEAD
801+
[24.3.0]: https://github.com/MetaMask/core/compare/@metamask/notification-services-controller@24.2.0...@metamask/notification-services-controller@24.3.0
795802
[24.2.0]: https://github.com/MetaMask/core/compare/@metamask/notification-services-controller@24.1.3...@metamask/notification-services-controller@24.2.0
796803
[24.1.3]: https://github.com/MetaMask/core/compare/@metamask/notification-services-controller@24.1.2...@metamask/notification-services-controller@24.1.3
797804
[24.1.2]: https://github.com/MetaMask/core/compare/@metamask/notification-services-controller@24.1.1...@metamask/notification-services-controller@24.1.2

packages/notification-services-controller/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/notification-services-controller",
3-
"version": "24.2.0",
3+
"version": "24.3.0",
44
"description": "Manages New MetaMask decentralized Notification system",
55
"keywords": [
66
"Ethereum",
@@ -106,7 +106,7 @@
106106
},
107107
"dependencies": {
108108
"@contentful/rich-text-html-renderer": "^16.5.2",
109-
"@metamask/authenticated-user-storage": "^2.1.0",
109+
"@metamask/authenticated-user-storage": "^3.0.0",
110110
"@metamask/base-controller": "^9.1.0",
111111
"@metamask/controller-utils": "^12.3.0",
112112
"@metamask/keyring-controller": "^27.1.0",

packages/perps-controller/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
},
110110
"devDependencies": {
111111
"@metamask/account-tree-controller": "^7.5.3",
112-
"@metamask/authenticated-user-storage": "^2.1.0",
112+
"@metamask/authenticated-user-storage": "^3.0.0",
113113
"@metamask/auto-changelog": "^6.1.0",
114114
"@metamask/geolocation-controller": "^0.1.3",
115115
"@metamask/keyring-controller": "^27.1.0",

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5818,7 +5818,7 @@ __metadata:
58185818
languageName: node
58195819
linkType: hard
58205820

5821-
"@metamask/authenticated-user-storage@npm:^2.1.0, @metamask/authenticated-user-storage@workspace:packages/authenticated-user-storage":
5821+
"@metamask/authenticated-user-storage@npm:^3.0.0, @metamask/authenticated-user-storage@workspace:packages/authenticated-user-storage":
58225822
version: 0.0.0-use.local
58235823
resolution: "@metamask/authenticated-user-storage@workspace:packages/authenticated-user-storage"
58245824
dependencies:
@@ -7485,7 +7485,7 @@ __metadata:
74857485
version: 0.0.0-use.local
74867486
resolution: "@metamask/money-account-upgrade-controller@workspace:packages/money-account-upgrade-controller"
74877487
dependencies:
7488-
"@metamask/authenticated-user-storage": "npm:^2.1.0"
7488+
"@metamask/authenticated-user-storage": "npm:^3.0.0"
74897489
"@metamask/auto-changelog": "npm:^6.1.0"
74907490
"@metamask/base-controller": "npm:^9.1.0"
74917491
"@metamask/chomp-api-service": "npm:^3.1.0"
@@ -7770,7 +7770,7 @@ __metadata:
77707770
"@contentful/rich-text-html-renderer": "npm:^16.5.2"
77717771
"@lavamoat/allow-scripts": "npm:^3.0.4"
77727772
"@lavamoat/preinstall-always-fail": "npm:^2.1.0"
7773-
"@metamask/authenticated-user-storage": "npm:^2.1.0"
7773+
"@metamask/authenticated-user-storage": "npm:^3.0.0"
77747774
"@metamask/auto-changelog": "npm:^6.1.0"
77757775
"@metamask/base-controller": "npm:^9.1.0"
77767776
"@metamask/controller-utils": "npm:^12.3.0"
@@ -7923,7 +7923,7 @@ __metadata:
79237923
dependencies:
79247924
"@metamask/abi-utils": "npm:^2.0.3"
79257925
"@metamask/account-tree-controller": "npm:^7.5.3"
7926-
"@metamask/authenticated-user-storage": "npm:^2.1.0"
7926+
"@metamask/authenticated-user-storage": "npm:^3.0.0"
79277927
"@metamask/auto-changelog": "npm:^6.1.0"
79287928
"@metamask/base-controller": "npm:^9.1.0"
79297929
"@metamask/controller-utils": "npm:^12.3.0"

0 commit comments

Comments
 (0)