Skip to content

Commit 6c1aa22

Browse files
authored
Release/616.0.0 (#6824)
## Explanation Releasing @metamask/bridge-controller and @metamask/bridge-status-controller @51.0.0 to enable SSE quote fetching <!-- 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 Fixes https://consensyssoftware.atlassian.net/browse/SWAPS-3026 <!-- 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] > Release `@metamask/[email protected]` adding SSE quote streaming and update `@metamask/bridge-status-controller` to `50.1.0` with peer/dev dependency on bridge-controller `^51.0.0`. > > - **Bridge Controller (`@metamask/[email protected]`)** > - Add server‑sent events quote streaming and integrate incremental updates into polling (dep: `@microsoft/fetch-event-source@^2.0.1`). > - Changelog updated and release links adjusted. > - **Bridge Status Controller (`@metamask/[email protected]`)** > - Bump peer and dev dependency on `@metamask/bridge-controller` to `^51.0.0`; changelog and links updated. > - **Repo** > - Bump monorepo version to `616.0.0`; update `yarn.lock` to reflect dependency changes. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit d380073. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
1 parent 8c27414 commit 6c1aa22

File tree

6 files changed

+21
-11
lines changed

6 files changed

+21
-11
lines changed

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": "615.0.0",
3+
"version": "616.0.0",
44
"private": true,
55
"description": "Monorepo for packages shared between MetaMask clients",
66
"repository": {

packages/bridge-controller/CHANGELOG.md

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

88
## [Unreleased]
99

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

1214
- Introduce server‑sent events quote streaming and integrates incremental quote updates into the bridge controller polling flow ([#6760](https://github.com/MetaMask/core/pull/6760))
13-
- Add private `getQuoteStreaming` handler that calls `getQuoteStream` when the `sseEnabled` flag is enabled in LaunchDarkly
15+
- Add private `handleQuoteStreaming` method that calls `getQuoteStream` when the `sseEnabled` flag is enabled in LaunchDarkly
1416
- Reuse existing polling, metrics and validation utilities when processing server-sent quotes
1517
- Add dependency on `@microsoft/fetch-event-source` at `^2.0.1` ([#6760](https://github.com/MetaMask/core/pull/6760))
1618
- Note that clients need to patch this library such that it rejects instead of resolving when the quote request is cancelled. This preserves the controller's expected request cancellation behavior
@@ -716,7 +718,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
716718

717719
- Initial release ([#5317](https://github.com/MetaMask/core/pull/5317))
718720

719-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
721+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
722+
[51.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
720723
[50.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
721724
[49.0.1]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
722725
[49.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]

packages/bridge-controller/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/bridge-controller",
3-
"version": "50.0.0",
3+
"version": "51.0.0",
44
"description": "Manages bridge-related quote fetching functionality for MetaMask",
55
"keywords": [
66
"MetaMask",

packages/bridge-status-controller/CHANGELOG.md

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

88
## [Unreleased]
99

10+
## [50.1.0]
11+
12+
### Changed
13+
14+
- Bump peer dependency `@metamask/bridge-controller` from `^50.0.0` to `^51.0.0` ([#6824](https://github.com/MetaMask/core/pull/6824))
15+
1016
## [50.0.0]
1117

1218
### Changed
@@ -654,7 +660,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
654660

655661
- Initial release ([#5317](https://github.com/MetaMask/core/pull/5317))
656662

657-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
663+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
664+
[50.1.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
658665
[50.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
659666
[49.0.1]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
660667
[49.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]

packages/bridge-status-controller/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/bridge-status-controller",
3-
"version": "50.0.0",
3+
"version": "50.1.0",
44
"description": "Manages bridge-related status fetching functionality for MetaMask",
55
"keywords": [
66
"MetaMask",
@@ -58,7 +58,7 @@
5858
"devDependencies": {
5959
"@metamask/accounts-controller": "^33.1.1",
6060
"@metamask/auto-changelog": "^3.4.4",
61-
"@metamask/bridge-controller": "^50.0.0",
61+
"@metamask/bridge-controller": "^51.0.0",
6262
"@metamask/gas-fee-controller": "^24.1.0",
6363
"@metamask/network-controller": "^24.2.1",
6464
"@metamask/snaps-controllers": "^14.0.1",
@@ -76,7 +76,7 @@
7676
},
7777
"peerDependencies": {
7878
"@metamask/accounts-controller": "^33.0.0",
79-
"@metamask/bridge-controller": "^50.0.0",
79+
"@metamask/bridge-controller": "^51.0.0",
8080
"@metamask/gas-fee-controller": "^24.0.0",
8181
"@metamask/network-controller": "^24.0.0",
8282
"@metamask/snaps-controllers": "^14.0.0",

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2725,7 +2725,7 @@ __metadata:
27252725
languageName: unknown
27262726
linkType: soft
27272727

2728-
"@metamask/bridge-controller@npm:^50.0.0, @metamask/bridge-controller@workspace:packages/bridge-controller":
2728+
"@metamask/bridge-controller@npm:^51.0.0, @metamask/bridge-controller@workspace:packages/bridge-controller":
27292729
version: 0.0.0-use.local
27302730
resolution: "@metamask/bridge-controller@workspace:packages/bridge-controller"
27312731
dependencies:
@@ -2782,7 +2782,7 @@ __metadata:
27822782
"@metamask/accounts-controller": "npm:^33.1.1"
27832783
"@metamask/auto-changelog": "npm:^3.4.4"
27842784
"@metamask/base-controller": "npm:^8.4.1"
2785-
"@metamask/bridge-controller": "npm:^50.0.0"
2785+
"@metamask/bridge-controller": "npm:^51.0.0"
27862786
"@metamask/controller-utils": "npm:^11.14.1"
27872787
"@metamask/gas-fee-controller": "npm:^24.1.0"
27882788
"@metamask/network-controller": "npm:^24.2.1"
@@ -2805,7 +2805,7 @@ __metadata:
28052805
uuid: "npm:^8.3.2"
28062806
peerDependencies:
28072807
"@metamask/accounts-controller": ^33.0.0
2808-
"@metamask/bridge-controller": ^50.0.0
2808+
"@metamask/bridge-controller": ^51.0.0
28092809
"@metamask/gas-fee-controller": ^24.0.0
28102810
"@metamask/network-controller": ^24.0.0
28112811
"@metamask/snaps-controllers": ^14.0.0

0 commit comments

Comments
 (0)