From c5afd251af82a58cac7841d29ade72f3da9c50f8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 1 Sep 2026 16:29:56 +0000 Subject: [PATCH 1/2] chore(master): release 9.0.0 --- CHANGELOG.md | 16 +++++++++++++++- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 762f08f..b670768 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,19 @@ +## [9.0.0](https://github.com/restify/errors/compare/v8.0.2...v9.0.0) (2026-09-01) + + +### ⚠ BREAKING CHANGES + +* Error instances no longer expose .cause() as a callable function. Consumers must access the spec-compliant .cause property instead. Bump @netflix/nerror dependency/override to ^2.0.0-rc.0 and package version to 9.0.0-rc.0 accordingly. + +### Bug Fixes + +* **ci:** move ci to gha ([7e053db](https://github.com/restify/errors/commit/7e053db9f5fbae7782dfc3bb614faf69068a5de0)) +* **ci:** move node 24 to new optional tests ([10564a8](https://github.com/restify/errors/commit/10564a8c26f3f4119a2def4de5b8fe82c543578a)) +* include cause in toJSON ([f8cb6fb](https://github.com/restify/errors/commit/f8cb6fb644149262bb7873fc5655965b24a9d61e)) +* npm publish workflow ([#113](https://github.com/restify/errors/issues/113)) ([7e94768](https://github.com/restify/errors/commit/7e9476856b44bde4b43a303a24ae45df64c6c9dd)) +* use spec Error.cause property instead of legacy cause() function ([#112](https://github.com/restify/errors/issues/112)) ([4a6fb33](https://github.com/restify/errors/commit/4a6fb331e9966ffa97a2c1672aade357b9e04a21)) + ### 8.0.2 (2019-12-13) @@ -26,4 +41,3 @@ * drop 4.x and 6.x Node support ([56daf0b1](https://github.com/restify/errors.git/commit/56daf0b1)) - diff --git a/package-lock.json b/package-lock.json index a4e0ccb..9cdbbfe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "restify-errors", - "version": "9.0.0-rc.0", + "version": "9.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "restify-errors", - "version": "9.0.0-rc.0", + "version": "9.0.0", "license": "MIT", "dependencies": { "@netflix/nerror": "^2.0.0", diff --git a/package.json b/package.json index c47b1a4..cb57098 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "restify-errors", - "version": "9.0.0-rc.0", + "version": "9.0.0", "main": "lib/index.js", "description": "Collection of Error objects shared across restify components.", "homepage": "http://www.restify.com", From 4fd14c9acf30bc7c24b8cf3c6cba231b32efc2fc Mon Sep 17 00:00:00 2001 From: Mason Albert <77916767+mason-albert@users.noreply.github.com> Date: Tue, 1 Sep 2026 12:31:57 -0400 Subject: [PATCH 2/2] chore: update changelog Updated breaking change note for error instances and adjusted versioning. --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b670768..d2b077b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ ### ⚠ BREAKING CHANGES -* Error instances no longer expose .cause() as a callable function. Consumers must access the spec-compliant .cause property instead. Bump @netflix/nerror dependency/override to ^2.0.0-rc.0 and package version to 9.0.0-rc.0 accordingly. +* Error instances no longer expose .cause() as a callable function. Consumers must access the spec-compliant .cause property instead. Bump @netflix/nerror dependency/override to ^2.0.0 and package version to 9.0.0 accordingly. ### Bug Fixes