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

Commit 65f60d9

Browse files
authored
5.2.0 (#50)
* 5.2.0 * fix git URLs * update changelog * delete babel.config
1 parent 6509b94 commit 65f60d9

3 files changed

Lines changed: 22 additions & 30 deletions

File tree

CHANGELOG.md

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,22 @@
1-
# [5.0.0]
2-
upgraded to babelify@10
1+
# Changelog
32

4-
<a name="3.0.0"></a>
5-
# [3.0.0](https://github.com/kumavis/json-rpc-engine/compare/v2.2.3...v3.0.0) (2017-04-04)
3+
All notable changes to this project will be documented in this file.
64

5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [Unreleased]
89

10+
## [5.2.0] - 2020-07-24
11+
12+
### Added
13+
14+
- Promise signatures for `engine.handle` ([#55](https://github.com/MetaMask/json-rpc-engine/pull/55))
15+
- So, in addition to `engine.handle(request, callback)`, you can do e.g. `await engine.handle(request)`.
16+
17+
### Changed
18+
19+
- Remove `async` and `promise-to-callback` dependencies
20+
- These dependencies were used internally for asynchronous control flow.
21+
They have been replaced with Promises and native `async`/`await`.
22+
This has made middleware execution faster, and may affect consumers that rely on middleware timing, advertently or not.

babel.config.js

Lines changed: 0 additions & 22 deletions
This file was deleted.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "json-rpc-engine",
3-
"version": "5.1.8",
3+
"version": "5.2.0",
44
"description": "a tool for processing JSON RPC",
55
"license": "ISC",
66
"author": "kumavis",
@@ -31,12 +31,12 @@
3131
},
3232
"repository": {
3333
"type": "git",
34-
"url": "git+https://github.com/kumavis/json-rpc-engine.git"
34+
"url": "git+https://github.com/MetaMask/json-rpc-engine.git"
3535
},
3636
"bugs": {
37-
"url": "https://github.com/kumavis/json-rpc-engine/issues"
37+
"url": "https://github.com/MetaMask/json-rpc-engine/issues"
3838
},
39-
"homepage": "https://github.com/kumavis/json-rpc-engine#readme",
39+
"homepage": "https://github.com/MetaMask/json-rpc-engine#readme",
4040
"directories": {
4141
"test": "test"
4242
},

0 commit comments

Comments
 (0)