Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

7.0.0 #160

Merged
merged 6 commits into from
Oct 8, 2024
Merged

7.0.0 #160

Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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))
- `5.0.0` behavior of overwriting the original message is available by passing `shouldPreserveMessage: false` to `serializeError()`.
rekmarks marked this conversation as resolved.
Show resolved Hide resolved
- **BREAKING:** Bump minimum Node version ([#154](https://github.com/MetaMask/rpc-errors/pull/154))
legobeat marked this conversation as resolved.
Show resolved Hide resolved

## [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
Loading