Skip to content

Commit 62b5ff7

Browse files
authored
3.0.0 (#23)
* 3.0.0 * update changelog
1 parent 7e5588c commit 62b5ff7

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

CHANGELOG.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,22 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [3.0.0]
9+
10+
### Changed
11+
12+
- Second argument of `serializeError` is now an options object ([#22](https://github.com/MetaMask/eth-rpc-errors/pull/22))
13+
- Error stacks are no longer serialized by default by `serializeError` ([#22](https://github.com/MetaMask/eth-rpc-errors/pull/22))
14+
815
## [2.1.0] - 2020-05-11
916

1017
### Added
1118

1219
- New/missing errors:
13-
- `ethErrors.provider` ([EIP 1193](https://eips.ethereum.org/EIPS/eip-1474#provider-errors))
20+
- `ethErrors.provider` ([EIP-1193](https://eips.ethereum.org/EIPS/eip-1474#provider-errors))
1421
- `.disconnected`, `4900`
1522
- `.chainDisconnected`, `4901`
16-
- `ethErrors.rpc` ([EIP 1474](https://eips.ethereum.org/EIPS/eip-1474#error-codes))
23+
- `ethErrors.rpc` ([EIP-1474](https://eips.ethereum.org/EIPS/eip-1474#error-codes))
1724
- `.limitExceeded`, `-32005`
1825

1926
### Changed
@@ -31,12 +38,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3138
- Renamed affected interfaces
3239
- `ethErrors`
3340
- Added missing
34-
[EIP 1474 errors](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1474.md)
41+
[EIP-1474 errors](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1474.md)
3542
- Added corresponding codes and messages
3643
- **Namespacing**
37-
- EIP 1474 (which includes JSON RPC 2.0) errors now namespaced under `ethErrors.rpc`
44+
- EIP-1474 (which includes JSON RPC 2.0) errors now namespaced under `ethErrors.rpc`
3845
- JSON RPC 2.0 errors were formerly under `errors.jsonRpc`
39-
- EIP 1193 errors now namespaced under `ethErrors.provider`
46+
- EIP-1193 errors now namespaced under `ethErrors.provider`
4047
- Formerly under `errors.eth`
4148
- Most error getters now take a single, *optional* `opts` argument, which
4249
is either a string or an object

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eth-rpc-errors",
3-
"version": "2.1.1",
3+
"version": "3.0.0",
44
"description": "Ethereum RPC and Provider errors.",
55
"license": "MIT",
66
"author": "Erik Marks <[email protected]>",

0 commit comments

Comments
 (0)