Skip to content

Commit a659bc6

Browse files
github-actions[bot]github-actionsrekmarkslegobeat
authored
7.0.0 (#160)
This is the release candidate for version 7.0.0. --------- Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: Erik Marks <25517051+rekmarks@users.noreply.github.com> Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
1 parent 807a177 commit a659bc6

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [7.0.0]
11+
12+
### Changed
13+
14+
- **BREAKING**: Preserve original messages during error serialization by default ([#158](https://github.com/MetaMask/rpc-errors/pull/158))
15+
- The behavior introduced in [`5.0.0`](#500) of overwriting the original message is available by passing `shouldPreserveMessage: false` to `serializeError()`.
16+
- **BREAKING:** Bump minimum Node.js version from 16 to 18 ([#154](https://github.com/MetaMask/rpc-errors/pull/154))
17+
1018
## [6.4.0]
1119

1220
### Changed
@@ -202,7 +210,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
202210
- `serializeError`
203211
- If the object passed to the function has a `.message` property, it will preferred over the `.message` property of the fallback error when creating the returned serialized error object
204212

205-
[Unreleased]: https://github.com/MetaMask/rpc-errors/compare/v6.4.0...HEAD
213+
[Unreleased]: https://github.com/MetaMask/rpc-errors/compare/v7.0.0...HEAD
214+
[7.0.0]: https://github.com/MetaMask/rpc-errors/compare/v6.4.0...v7.0.0
206215
[6.4.0]: https://github.com/MetaMask/rpc-errors/compare/v6.3.1...v6.4.0
207216
[6.3.1]: https://github.com/MetaMask/rpc-errors/compare/v6.3.0...v6.3.1
208217
[6.3.0]: https://github.com/MetaMask/rpc-errors/compare/v6.2.1...v6.3.0

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/rpc-errors",
3-
"version": "6.4.0",
3+
"version": "7.0.0",
44
"description": "Ethereum RPC and Provider errors",
55
"keywords": [
66
"rpc",

0 commit comments

Comments
 (0)