From 0998e10a91630cfa760476431ba0f213b3976db9 Mon Sep 17 00:00:00 2001 From: Joshua Daniel Pratt Nielsen Date: Tue, 17 Sep 2024 12:08:26 +0200 Subject: [PATCH] chore(release): 2.0.0-0 --- CHANGELOG.md | 21 ++++++++++++++++++++- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 23 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3047e7d..8c932b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,25 @@ # Changelog -All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines. + +## [2.0.0-0](https://github.com/jdpnielsen/contextual-error/compare/v1.2.3...v2.0.0-0) (2024-09-17) + + +### ⚠ BREAKING CHANGES + +* CError's static .cause() method was changed to .getCause(). Constructor +arguments were consolidated, so there are now two optional arguments +instead. +* Target ES version is now ES2022 + +### deps + +* update typescript to v5 & node to v22 ([3dc28bc](https://github.com/jdpnielsen/contextual-error/commit/3dc28bc05438d4c63fb5e17b2dd698e45b6ebfdf)) + + +### Features + +* Reuse native javascript cause property ([67575a8](https://github.com/jdpnielsen/contextual-error/commit/67575a87ab7ff3d7470b2dff925800323bc24982)) ### [1.2.3](https://github.com/jdpnielsen/contextual-error/compare/v1.2.2...v1.2.3) (2021-05-27) diff --git a/package-lock.json b/package-lock.json index 0ef40b9..418e306 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@jdpnielsen/contextual-error", - "version": "1.2.3", + "version": "2.0.0-0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@jdpnielsen/contextual-error", - "version": "1.2.3", + "version": "2.0.0-0", "license": "MIT", "devDependencies": { "@istanbuljs/nyc-config-typescript": "^1.0.1", diff --git a/package.json b/package.json index 8843ff2..25c898e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@jdpnielsen/contextual-error", - "version": "1.2.3", + "version": "2.0.0-0", "description": "Extended error supporting cause and contextual enhancements", "main": "build/main/index.js", "browser": "build/main/index.js",