From cca8f5be6024df1240ecea950c20398146a7f0b4 Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 8 Oct 2024 19:42:22 +0000 Subject: [PATCH 1/6] 7.0.0 --- CHANGELOG.md | 11 ++++++++++- package.json | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 31e135d..2e84892 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [7.0.0] + +### Uncategorized + +- feat: Preserve original messages during error serialization by default ([#158](https://github.com/MetaMask/rpc-errors/pull/158)) +- chore: Migrate to Yarn 4, use JS constraints ([#156](https://github.com/MetaMask/rpc-errors/pull/156)) +- chore: Bump minimum Node version ([#154](https://github.com/MetaMask/rpc-errors/pull/154)) + ## [6.4.0] ### Changed @@ -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 diff --git a/package.json b/package.json index c32b3ea..18b261e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/rpc-errors", - "version": "6.4.0", + "version": "7.0.0", "description": "Ethereum RPC and Provider errors", "keywords": [ "rpc", From 51f565bbee27b19ce0ecb594c48df6cbd2283b82 Mon Sep 17 00:00:00 2001 From: Erik Marks <25517051+rekmarks@users.noreply.github.com> Date: Tue, 8 Oct 2024 12:46:20 -0700 Subject: [PATCH 2/6] Update CHANGELOG.md --- CHANGELOG.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2e84892..2b18736 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,11 +9,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [7.0.0] -### Uncategorized +### Changed -- feat: Preserve original messages during error serialization by default ([#158](https://github.com/MetaMask/rpc-errors/pull/158)) -- chore: Migrate to Yarn 4, use JS constraints ([#156](https://github.com/MetaMask/rpc-errors/pull/156)) -- chore: Bump minimum Node version ([#154](https://github.com/MetaMask/rpc-errors/pull/154)) +- **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()`. +- **BREAKING:** Bump minimum Node version ([#154](https://github.com/MetaMask/rpc-errors/pull/154)) ## [6.4.0] From ac1ec406916ab3868eb78cd0e21efbf27befe906 Mon Sep 17 00:00:00 2001 From: Erik Marks <25517051+rekmarks@users.noreply.github.com> Date: Tue, 8 Oct 2024 12:47:00 -0700 Subject: [PATCH 3/6] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b18736..e210e97 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.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()`. + - The behavior introduced in [5.0.0] of overwriting the original message is available by passing `shouldPreserveMessage: false` to `serializeError()`. - **BREAKING:** Bump minimum Node version ([#154](https://github.com/MetaMask/rpc-errors/pull/154)) ## [6.4.0] From 3d9356c2e3dfae3a0b5747e6ab52a3f46775a220 Mon Sep 17 00:00:00 2001 From: Erik Marks <25517051+rekmarks@users.noreply.github.com> Date: Tue, 8 Oct 2024 12:48:07 -0700 Subject: [PATCH 4/6] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e210e97..55d3d20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.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] of overwriting the original message is available by passing `shouldPreserveMessage: false` to `serializeError()`. + - The behavior introduced in [#500] of overwriting the original message is available by passing `shouldPreserveMessage: false` to `serializeError()`. - **BREAKING:** Bump minimum Node version ([#154](https://github.com/MetaMask/rpc-errors/pull/154)) ## [6.4.0] From 3a2ffe294ce925fabbfbe796683fbddb5234d177 Mon Sep 17 00:00:00 2001 From: Erik Marks <25517051+rekmarks@users.noreply.github.com> Date: Tue, 8 Oct 2024 12:48:39 -0700 Subject: [PATCH 5/6] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 55d3d20..b1fb052 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.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 [#500] of overwriting the original message is available by passing `shouldPreserveMessage: false` to `serializeError()`. + - 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 version ([#154](https://github.com/MetaMask/rpc-errors/pull/154)) ## [6.4.0] From f09e246d900b47ebef38435e8b5707b4d7a0dca0 Mon Sep 17 00:00:00 2001 From: legobeat <109787230+legobeat@users.noreply.github.com> Date: Tue, 8 Oct 2024 23:27:36 +0000 Subject: [PATCH 6/6] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b1fb052..a5d8b8b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - **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 version ([#154](https://github.com/MetaMask/rpc-errors/pull/154)) +- **BREAKING:** Bump minimum Node.js version from 16 to 18 ([#154](https://github.com/MetaMask/rpc-errors/pull/154)) ## [6.4.0]