Commit d703297
authored
Release/677.0.0 (#7147)
## Explanation
Major bump of the `@metamask/notification-services-controller` from
`19.0.0` to `20.0.0`
Extension Preview:
MetaMask/metamask-extension#37709
Mobile Preview: MetaMask/metamask-mobile#22539
<!--
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
- [x] I've updated the test suite for new or updated code as appropriate
- [x] I've updated documentation (JSDoc, Markdown, etc.) for new or
updated code as appropriate
- [x] I've communicated my changes to consumers by [updating changelogs
for packages I've
changed](https://github.com/MetaMask/core/tree/main/docs/contributing.md#updating-changelogs),
highlighting breaking changes as necessary
- [x] I've prepared draft pull requests for clients and consumer
packages to resolve any breaking changes
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> Publishes core 677.0.0 and updates
`@metamask/notification-services-controller` to 20.0.0 with breaking
Notification API v3 migration documented.
>
> - **Release**
> - Bump monorepo `version` to `677.0.0` in `package.json`.
> - **@metamask/notification-services-controller (20.0.0)**
> - `package.json`: version bump to `20.0.0`.
> - `CHANGELOG.md`: document breaking migration from Notification API v2
to v3, including:
> - Endpoint changes to `/api/v3/notifications` and request format
update (`{ addresses: string[], locale?: string }`).
> - Response structure updates with `notification_type` and nested
payloads; new platform notifications with templates.
> - Type and function renames; import path updates to
`api-notifications`.
> - Auto-expiry reduced to 30 days; optional `locale` support in
controller constructor.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
584085c. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->1 parent bfc7658 commit d703297
File tree
3 files changed
+6
-3
lines changed- packages/notification-services-controller
3 files changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
618 | 620 | | |
619 | 621 | | |
620 | 622 | | |
621 | | - | |
| 623 | + | |
| 624 | + | |
622 | 625 | | |
623 | 626 | | |
624 | 627 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments