Skip to content

Commit 2058ae1

Browse files
committed
docs: Update changelogs
1 parent bb89c25 commit 2058ae1

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

packages/eth-json-rpc-provider/CHANGELOG.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212
- **BREAKING:** Replace `SafeEventEmitterProvider` with `InternalProvider` ([#6796](https://github.com/MetaMask/core/pull/6796))
1313
- The new class is behaviorally equivalent to the previous version except it does not extend `SafeEventEmitter`.
1414
- `SafeEventEmitterProvider` is for now still exported as a deprecated alias of `InternalProvider` for backwards compatibility.
15-
- Support constructing `InternalProvider` with a `JsonRpcServer` instance ([#7001](https://github.com/MetaMask/core/pull/7001))
16-
- The `rpcHandler` constructor option accepts either a `JsonRpcServer` or a legacy `JsonRpcEngine`. It is mutually exclusive with the `engine` option.
15+
- **BREAKING:** Use `JsonRpcServer` instead of `JsonRpcEngine` ([#7001](https://github.com/MetaMask/core/pull/7001))
16+
- Adds a new `server` constructor option to the `InternalProvider` class, mutually exclusive with the now deprecated `engine` option.
17+
- Legacy `JsonRpcEngine` instances are wrapped in a `JsonRpcServer` internally
18+
wherever they appear. Due to differences in error serialization, this may be
19+
breaking for consumers.
1720

1821
## [5.0.1]
1922

packages/json-rpc-engine/CHANGELOG.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Added
1111

12-
- `JsonRpcEngineV2` ([#6176](https://github.com/MetaMask/core/pull/6176), [#6971](https://github.com/MetaMask/core/pull/6971), [#6975](https://github.com/MetaMask/core/pull/6975), [#6990](https://github.com/MetaMask/core/pull/6990), [#6991](https://github.com/MetaMask/core/pull/6991), [#7032](https://github.com/MetaMask/core/pull/7032))
13-
- This is a complete rewrite of `JsonRpcEngine`, intended to replace the original implementation.
14-
See the readme for details.
12+
- `JsonRpcEngineV2` ([#6176](https://github.com/MetaMask/core/pull/6176), [#6971](https://github.com/MetaMask/core/pull/6971), [#6975](https://github.com/MetaMask/core/pull/6975), [#6990](https://github.com/MetaMask/core/pull/6990), [#6991](https://github.com/MetaMask/core/pull/6991), [#7001](https://github.com/MetaMask/core/pull/7001), [#7032](https://github.com/MetaMask/core/pull/7032))
13+
- This is a complete rewrite of `JsonRpcEngine`, intended to replace the original implementation. See the readme for details.
1514

1615
## [10.1.1]
1716

0 commit comments

Comments
 (0)