From 8ac2143f6851884e4cb277ed10b57b947374f4be Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 12 Mar 2024 15:22:59 -0700 Subject: [PATCH] 16.0.0 (#308) * 16.0.0 * Update changelog --------- Co-authored-by: github-actions Co-authored-by: Jiexi Luan --- CHANGELOG.md | 18 +++++++++++++++++- package.json | 2 +- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b52f494b..6541fae9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [16.0.0] + +### Removed + +- **BREAKING:** Remove deprecated properties, networkChanged event, and offline send() net_version support ([#306](https://github.com/MetaMask/providers/pull/306)) + - `window.ethereum.chainId` has been removed. Use the 'eth_chainId' RPC method instead. + - `window.ethereum.networkVersion` has been removed. Use the 'net_version' RPC method instead. + - `window.ethereum.selectedAddress` has been removed. Use the 'eth_accounts' RPC method instead. + - `networkChanged` event has been removed. The closest equivalent is the `chainChanged` event. + - `window.ethereum.send()` no longer resolves `net_version` offline (from cache). + +## Changed + +- Bump @metamask/json-rpc-engine from 7.3.2 to 7.3.3 ([#305](https://github.com/MetaMask/providers/pull/305)) + ## [15.0.0] ### Added @@ -367,7 +382,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/v15.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/providers/compare/v16.0.0...HEAD +[16.0.0]: https://github.com/MetaMask/providers/compare/v15.0.0...v16.0.0 [15.0.0]: https://github.com/MetaMask/providers/compare/v14.0.2...v15.0.0 [14.0.2]: https://github.com/MetaMask/providers/compare/v14.0.1...v14.0.2 [14.0.1]: https://github.com/MetaMask/providers/compare/v14.0.0...v14.0.1 diff --git a/package.json b/package.json index 8d8d3e4a..2ff82c58 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/providers", - "version": "15.0.0", + "version": "16.0.0", "description": "A JavaScript Ethereum provider that connects to the wallet over a stream", "keywords": [ "MetaMask",