Skip to content
This repository was archived by the owner on Nov 9, 2023. It is now read-only.

Commit c3a774c

Browse files
authored
6.0.0 (#72)
* 6.0.0 * Update changelog
1 parent cf777cf commit c3a774c

File tree

2 files changed

+36
-1
lines changed

2 files changed

+36
-1
lines changed

CHANGELOG.md

+35
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [6.0.0] - 2020-11-19
11+
12+
### Added
13+
14+
- Add docstrings for public `JsonRpcEngine` methods ([#70](https://github.com/MetaMask/json-rpc-engine/pull/70))
15+
16+
### Changed
17+
18+
- **(BREAKING)** Refactor exports ([#69](https://github.com/MetaMask/json-rpc-engine/pull/69))
19+
- All exports are now named, and available via the package entry point.
20+
- All default exports have been removed.
21+
- **(BREAKING)** Convert `asMiddleware` to instance method ([#69](https://github.com/MetaMask/json-rpc-engine/pull/69))
22+
- The `asMiddleware` export has been removed.
23+
- **(BREAKING)** Add runtime typechecks to `JsonRpcEngine.handle()`, and error responses if they fail ([#70](https://github.com/MetaMask/json-rpc-engine/pull/70))
24+
- Requests will now error if:
25+
- The request is not a plain object, or if the `method` property is not a `string`. Empty strings are allowed.
26+
- A `next` middleware callback is called with a truthy, non-function parameter.
27+
- Migrate to TypeScript ([#69](https://github.com/MetaMask/json-rpc-engine/pull/69))
28+
- Hopefully improve stack traces by removing uses of `Promise.then` and `.catch` internally ([#70](https://github.com/MetaMask/json-rpc-engine/pull/70))
29+
- Make some internal `JsonRpcEngine` methods `static` ([#71](https://github.com/MetaMask/json-rpc-engine/pull/71))
30+
1031
## [5.4.0] - 2020-11-07
1132

1233
### Changed
@@ -33,3 +54,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3354
They have been replaced with Promises and native `async`/`await`, which means that some operations are _no longer_ eagerly executed.
3455
This change may affect consumers that depend on the eager execution of middleware _during_ request processing, _outside of_ middleware functions and request handlers.
3556
- In general, it is a bad practice to work with state that depends on middleware execution, while the middleware are executing.
57+
58+
[Unreleased]:https://github.com/MetaMask/json-rpc-engine/compare/v6.0.0...HEAD
59+
[6.0.0]:https://github.com/MetaMask/json-rpc-engine/compare/v5.4.0...v6.0.0
60+
[5.4.0]:https://github.com/MetaMask/json-rpc-engine/compare/v5.3.0...v5.4.0
61+
[5.3.0]:https://github.com/MetaMask/json-rpc-engine/compare/v5.2.0...v5.3.0
62+
[5.2.0]:https://github.com/MetaMask/json-rpc-engine/compare/v5.1.8...v5.2.0
63+
[5.1.8]:https://github.com/MetaMask/json-rpc-engine/compare/v5.1.6...v5.1.8
64+
[5.1.6]:https://github.com/MetaMask/json-rpc-engine/compare/v5.1.5...v5.1.6
65+
[5.1.5]:https://github.com/MetaMask/json-rpc-engine/compare/v5.1.4...v5.1.5
66+
[5.1.4]:https://github.com/MetaMask/json-rpc-engine/compare/v5.1.3...v5.1.4
67+
[5.1.3]:https://github.com/MetaMask/json-rpc-engine/compare/v5.1.1...v5.1.3
68+
[5.1.1]:https://github.com/MetaMask/json-rpc-engine/compare/v5.1.0...v5.1.1
69+
[5.1.0]:https://github.com/MetaMask/json-rpc-engine/compare/v5.0.0...v5.1.0
70+
[5.0.0]:https://github.com/MetaMask/json-rpc-engine/compare/v4.0.0...v5.0.0

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "json-rpc-engine",
3-
"version": "5.4.0",
3+
"version": "6.0.0",
44
"description": "A tool for processing JSON-RPC messages.",
55
"license": "ISC",
66
"author": "kumavis",

0 commit comments

Comments
 (0)