From f2685b5f8194406fc5522f943fe14cdbe9303546 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 11 May 2023 10:19:20 +0900 Subject: [PATCH] 11.0.0 (#261) * 11.0.0 --------- Co-authored-by: github-actions --- CHANGELOG.md | 14 +++++++++++++- package.json | 2 +- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c59c71af..db6d61a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [11.0.0] +### Changed +- **BREAKING**: Minimum Node.js version 16 ([#254](https://github.com/MetaMask/providers/pull/254)) +- Support Flask and Beta in the external extension provider ([#252](https://github.com/MetaMask/providers/pull/252)) +- Bump @metamask/safe-event-emitter from 2.0.0 to 3.0.0 ([#255](https://github.com/MetaMask/providers/pull/255)) + +### Fixed +- Fix console warning about deprecated `webextension-polyfill-ts` ([#249](https://github.com/MetaMask/providers/pull/249)) +- Prevent `accountsChanged` + `eth_accounts` callback loop ([#248](https://github.com/MetaMask/providers/pull/248)) + - If you listen to the provider `accountsChanged` event, modify the returned accounts, then call `eth_accounts`, it was possible to enter an infinite loop. This was caused by the provider mistakenly thinking the accounts had changed because of the mutation performed in the event listener, triggering redundant `accountsChanged` events. This was fixed; there should be no more redundant `accountsChanged` events and no infinite loop. + ## [10.2.1] ### Changed - Update `json-rpc-middleware-stream` ([#234](https://github.com/MetaMask/providers/pull/234)) @@ -209,7 +220,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 added deprecation warnings for them ([#30](https://github.com/MetaMask/providers/pull/30)) - Un-deprecated `sendAsync` ([#29](https://github.com/MetaMask/providers/pull/29)) -[Unreleased]: https://github.com/MetaMask/providers/compare/v10.2.1...HEAD +[Unreleased]: https://github.com/MetaMask/providers/compare/v11.0.0...HEAD +[11.0.0]: https://github.com/MetaMask/providers/compare/v10.2.1...v11.0.0 [10.2.1]: https://github.com/MetaMask/providers/compare/v10.2.0...v10.2.1 [10.2.0]: https://github.com/MetaMask/providers/compare/v10.1.0...v10.2.0 [10.1.0]: https://github.com/MetaMask/providers/compare/v10.0.0...v10.1.0 diff --git a/package.json b/package.json index 8fd29156..b6b3c3d8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/providers", - "version": "10.2.1", + "version": "11.0.0", "description": "A JavaScript Ethereum provider that connects to the wallet over a stream.", "keywords": [ "MetaMask",