-
-
Couldn't load subscription status.
- Fork 251
Release/638.0.0 #6923
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release/638.0.0 #6923
Conversation
d6462d7 to
13cc042
Compare
| - Bump `@metamask/base-controller` from `^8.4.1` to `^8.4.2` ([#6917](https://github.com/MetaMask/core/pull/6917)) | ||
| - Update `AccountActivityService` to use new `forceReconnection()` method instead of manually calling disconnect/connect ([#6861](https://github.com/MetaMask/core/pull/6861)) | ||
| - **BREAKING:** Update allowed actions for `AccountActivityService` messenger: remove `BackendWebSocketService:disconnect`, add `BackendWebSocketService:forceConnect` ([#6861](https://github.com/MetaMask/core/pull/6861)) | ||
| - **BREAKING:** Update allowed actions for `AccountActivityService` messenger: remove `BackendWebSocketService:disconnect`, add `BackendWebSocketService:forceReconnection` ([#6861](https://github.com/MetaMask/core/pull/6861)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For some reason there was a typo in the messenger action
13cc042 to
04add81
Compare
04add81 to
481f7f7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
…r/multichain-transactions-controller * origin/main: (35 commits) feat: `JsonRpcEngineV2` (#6176) Release 641.0.0 (#6940) feat: Add transaction emulation actions (#6935) Release/640.0.0 (#6934) fix(core-backend): control randomness to fix flaky test (#6936) chore: Add `@metamask-previews/*` to NPM age gate exceptions (#6937) Release/639.0.0 (#6931) feat: make getCryptoApproveTransactionParams synchronous (#6930) feat: add new actions to `KeyringController` (#6928) feat: add `getAccounts` to `AccountsController` (#6927) chore: remove `Monad Mainnet` single call balance contract and add into account v4 (#6929) Release/638.0.0 (#6923) fix: Downgrade `multiformats` to `^9.9.0` to avoid ESM-only dependency (#6920) Release/637.0.0 (#6919) feat(account-tree-controller): add callbacks for hidden and pinned data (#6910) Release 636.0.0 (#6918) fix(core-backend): reconnection logic (#6861) fix: Tx state listener and signature coverage (#6906) Release/635.0.0 (#6917) fix(base-controller): add TypeScript declaration file for legacy module resolution (#6915) ...
Explanation
This PR releases @metamask/core-backend@3.0.0 with significant improvements to WebSocket reconnection reliability and robustness for real-time balance updates.
Current State & Problems Addressed
The previous WebSocket implementation had several reliability issues:
Solution
This release introduces robust reconnection logic with the following improvements:
1. Idempotent Reconnection Scheduling
2. Stable Connection Timer
3. Force Reconnection Method
forceReconnection()public API for controlled subscription state cleanupBackendWebSocketService:forceReconnectionmessenger action4. Improved Error Handling
5. Better State Management
disconnect()now properly resets reconnect attempts counterconnect()that could bypass exponential backoffTechnical Details
Reconnection Behavior:
Breaking Changes:
AccountActivityServicemessenger allowed actions updated: removedBackendWebSocketService:disconnect, addedBackendWebSocketService:forceReconnectionImpact
This improves the reliability of real-time balance updates across MetaMask Extension and Mobile by:
forceReconnection()References
Checklist
Note
Releases
@metamask/core-backend@3.0.0with robust WebSocket reconnection and updates dependent packages/peer deps (assets-controllers@83,bridge-controller@55,bridge-status-controller@55); bumps monorepo version to 638.0.0.@metamask/core-backend@3.0.0with improved, idempotent WS reconnection, stable-connection timer,forceReconnection()API, logging and error‑handling tweaks.AccountActivityServicemessenger actions updated (removedisconnect, addBackendWebSocketService:forceReconnection).@metamask/assets-controllers@83.0.0: BREAKING peer dep bump to@metamask/core-backend@^3.0.0.@metamask/bridge-controller@55.0.0: BREAKING peer/dev dep bump to@metamask/assets-controllers@^83.0.0.@metamask/bridge-status-controller@55.0.0: BREAKING peer/dev dep bump to@metamask/bridge-controller@^55.0.0.638.0.0; update changelogs and package versions accordingly.Written by Cursor Bugbot for commit 54996e2. This will update automatically on new commits. Configure here.