@metamask-previews/json-rpc-engine 7.3.2-preview.8cdddaf → 7.3.2-preview.91dd28a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
# Changelog
|
|
2
|
+
|
|
2
3
|
All notable changes to this project will be documented in this file.
|
|
3
4
|
|
|
4
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
@@ -7,45 +8,62 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
8
|
## [Unreleased]
|
|
8
9
|
|
|
9
10
|
## [7.3.2]
|
|
11
|
+
|
|
10
12
|
### Changed
|
|
13
|
+
|
|
11
14
|
- Bump `@metamask/utils` to `^8.3.0` ([#3769](https://github.com/MetaMask/core/pull/3769))
|
|
12
15
|
|
|
13
16
|
## [7.3.1]
|
|
17
|
+
|
|
14
18
|
### Changed
|
|
19
|
+
|
|
15
20
|
- There are no consumer-facing changes to this package. This version is a part of a synchronized release across all packages in our monorepo.
|
|
16
21
|
|
|
17
22
|
## [7.3.0]
|
|
23
|
+
|
|
18
24
|
### Added
|
|
25
|
+
|
|
19
26
|
- Migrate `@metamask/json-rpc-engine` into the core monorepo ([#1895](https://github.com/MetaMask/core/pull/1895))
|
|
20
27
|
|
|
21
28
|
### Changed
|
|
29
|
+
|
|
22
30
|
- Bump `@metamask/utils` from `^8.1.0` to `^8.2.0` ([#1895](https://github.com/MetaMask/core/pull/1895))
|
|
23
31
|
- Bump `@metamask/rpc-errors` from `^6.0.0` to `^6.1.0` ([#1882](https://github.com/MetaMask/core/pull/1882))
|
|
24
32
|
- Bump `@metamask/auto-changelog` from `3.4.2` to `3.4.3` ([#1997](https://github.com/MetaMask/core/pull/1997))
|
|
25
33
|
|
|
26
34
|
## [7.2.0]
|
|
35
|
+
|
|
27
36
|
### Added
|
|
37
|
+
|
|
28
38
|
- Applied eslint rules from core monorepo ([#172](https://github.com/MetaMask/json-rpc-engine/pull/172))
|
|
29
39
|
|
|
30
40
|
## [7.1.1]
|
|
41
|
+
|
|
31
42
|
### Changed
|
|
43
|
+
|
|
32
44
|
- Bumped `@metamask/utils` from `^5.0.2` to `^8.1.0` [#158](https://github.com/MetaMask/json-rpc-engine/pull/158) ([#162](https://github.com/MetaMask/json-rpc-engine/pull/162))
|
|
33
45
|
- Bumped `@metamask/rpc-errors` from `^5.0.0` to `^6.0.0` ([#162](https://github.com/MetaMask/json-rpc-engine/pull/162))
|
|
34
46
|
|
|
35
47
|
## [7.1.0]
|
|
48
|
+
|
|
36
49
|
### Changed
|
|
50
|
+
|
|
37
51
|
- Bumped `@metamask/safe-event-emitter` from `^2.0.0` to `^3.0.0` ([#148](https://github.com/MetaMask/json-rpc-engine/pull/148))
|
|
38
52
|
- Bumped `@metamask/utils` from `^5.0.1` to `^5.0.2` ([#151](https://github.com/MetaMask/json-rpc-engine/pull/151))
|
|
39
53
|
|
|
40
54
|
### Fixed
|
|
55
|
+
|
|
41
56
|
- Fixed handling of empty batch array in requests ([#153](https://github.com/MetaMask/json-rpc-engine/pull/153))
|
|
42
57
|
|
|
43
58
|
## [7.0.0]
|
|
59
|
+
|
|
44
60
|
### Added
|
|
61
|
+
|
|
45
62
|
- Added JSON-RPC notification handling ([#104](https://github.com/MetaMask/json-rpc-engine/pull/104))
|
|
46
63
|
- Added `destroy` method ([#106](https://github.com/MetaMask/json-rpc-engine/pull/106))
|
|
47
64
|
|
|
48
65
|
### Changed
|
|
66
|
+
|
|
49
67
|
- **BREAKING:** Require a minimum Node version of 16 ([#139](https://github.com/MetaMask/json-rpc-engine/pull/139))
|
|
50
68
|
- **BREAKING:** Use `@metamask/utils` types ([#105](https://github.com/MetaMask/json-rpc-engine/pull/105))
|
|
51
69
|
- The JSON-RPC engine and all middleware now use `@metamask/utils` JSON-RPC types
|
|
@@ -55,18 +73,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
55
73
|
- Use `@metamask/rpc-errors` ([#138](https://github.com/MetaMask/json-rpc-engine/pull/138))
|
|
56
74
|
|
|
57
75
|
## [6.1.0] - 2020-11-20
|
|
76
|
+
|
|
58
77
|
### Added
|
|
78
|
+
|
|
59
79
|
- Add `PendingJsonRpcResponse` interface for use in middleware ([#75](https://github.com/MetaMask/json-rpc-engine/pull/75))
|
|
60
80
|
|
|
61
81
|
### Changed
|
|
82
|
+
|
|
62
83
|
- Use `async`/`await` and `try`/`catch` instead of Promise methods everywhere ([#74](https://github.com/MetaMask/json-rpc-engine/pull/74))
|
|
63
84
|
- Consumers may notice improved stack traces on certain platforms.
|
|
64
85
|
|
|
65
86
|
## [6.0.0] - 2020-11-19
|
|
87
|
+
|
|
66
88
|
### Added
|
|
89
|
+
|
|
67
90
|
- Add docstrings for public `JsonRpcEngine` methods ([#70](https://github.com/MetaMask/json-rpc-engine/pull/70))
|
|
68
91
|
|
|
69
92
|
### Changed
|
|
93
|
+
|
|
70
94
|
- **(BREAKING)** Refactor exports ([#69](https://github.com/MetaMask/json-rpc-engine/pull/69))
|
|
71
95
|
- All exports are now named, and available via the package entry point.
|
|
72
96
|
- All default exports have been removed.
|
|
@@ -81,19 +105,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
81
105
|
- Make some internal `JsonRpcEngine` methods `static` ([#71](https://github.com/MetaMask/json-rpc-engine/pull/71))
|
|
82
106
|
|
|
83
107
|
## [5.4.0] - 2020-11-07
|
|
108
|
+
|
|
84
109
|
### Changed
|
|
110
|
+
|
|
85
111
|
- Make the TypeScript types not terrible ([#66](https://github.com/MetaMask/json-rpc-engine/pull/66), [#67](https://github.com/MetaMask/json-rpc-engine/pull/67))
|
|
86
112
|
|
|
87
113
|
## [5.3.0] - 2020-07-30
|
|
114
|
+
|
|
88
115
|
### Changed
|
|
116
|
+
|
|
89
117
|
- Response object errors no longer include a `stack` property
|
|
90
118
|
|
|
91
119
|
## [5.2.0] - 2020-07-24
|
|
120
|
+
|
|
92
121
|
### Added
|
|
122
|
+
|
|
93
123
|
- Promise signatures for `engine.handle` ([#55](https://github.com/MetaMask/json-rpc-engine/pull/55))
|
|
94
124
|
- So, in addition to `engine.handle(request, callback)`, you can do e.g. `await engine.handle(request)`.
|
|
95
125
|
|
|
96
126
|
### Changed
|
|
127
|
+
|
|
97
128
|
- Remove `async` and `promise-to-callback` dependencies
|
|
98
129
|
- These dependencies were used internally for middleware flow control.
|
|
99
130
|
They have been replaced with Promises and native `async`/`await`, which means that some operations are _no longer_ eagerly executed.
|