Skip to content

Commit

Permalink
7.0.0 (#160)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
4 people authored Oct 8, 2024
1 parent 807a177 commit a659bc6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [7.0.0]

### Changed

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

## [6.4.0]

### Changed
Expand Down Expand Up @@ -202,7 +210,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `serializeError`
- 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

[Unreleased]: https://github.com/MetaMask/rpc-errors/compare/v6.4.0...HEAD
[Unreleased]: https://github.com/MetaMask/rpc-errors/compare/v7.0.0...HEAD
[7.0.0]: https://github.com/MetaMask/rpc-errors/compare/v6.4.0...v7.0.0
[6.4.0]: https://github.com/MetaMask/rpc-errors/compare/v6.3.1...v6.4.0
[6.3.1]: https://github.com/MetaMask/rpc-errors/compare/v6.3.0...v6.3.1
[6.3.0]: https://github.com/MetaMask/rpc-errors/compare/v6.2.1...v6.3.0
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/rpc-errors",
"version": "6.4.0",
"version": "7.0.0",
"description": "Ethereum RPC and Provider errors",
"keywords": [
"rpc",
Expand Down

0 comments on commit a659bc6

Please sign in to comment.