From c82fc12a89877069abf0344df52acf835debe800 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 8 Oct 2024 04:52:55 -0900 Subject: [PATCH] chore(release): version package (#40) Co-authored-by: github-actions[bot] --- .changeset/metal-games-beam.md | 7 ------- .changeset/odd-spoons-sort.md | 13 ------------- .changeset/tall-comics-jump.md | 5 ----- CHANGELOG.md | 19 +++++++++++++++++++ package.json | 2 +- 5 files changed, 20 insertions(+), 26 deletions(-) delete mode 100644 .changeset/metal-games-beam.md delete mode 100644 .changeset/odd-spoons-sort.md delete mode 100644 .changeset/tall-comics-jump.md diff --git a/.changeset/metal-games-beam.md b/.changeset/metal-games-beam.md deleted file mode 100644 index 83bc084..0000000 --- a/.changeset/metal-games-beam.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@litehex/node-vault': major ---- - -Fix: Using the environment's global `fetch` API instead of `undici`. - -This change makes this library more compatible with JavaScript runtimes that do not support `Node.js` modules. If you want to use `undici` again, use the [Custom Fetcher](https://github.com/shahradelahi/node-vault/wiki/Usage#custom-fetcher) feature. diff --git a/.changeset/odd-spoons-sort.md b/.changeset/odd-spoons-sort.md deleted file mode 100644 index 44e344c..0000000 --- a/.changeset/odd-spoons-sort.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"@litehex/node-vault": major ---- - -BREAKING: The responses of commands are wrapped in a record with type of `SafeReturn`. - -This record contains two properties: - -- `data`: The `data` property for successful responses. The value depends on the command. -- `error`: The `error` property for error responses. The type is `VaultError`, which is a subclass of `Error`. - -Read [Migration guide](https://github.com/shahradelahi/node-vault/wiki/Migration) for more details on how to use it. - diff --git a/.changeset/tall-comics-jump.md b/.changeset/tall-comics-jump.md deleted file mode 100644 index a4c0a52..0000000 --- a/.changeset/tall-comics-jump.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@litehex/node-vault': major ---- - -Fix: Switched license from `GPL-3.0` to `MIT`, to make the project more open and permissive. diff --git a/CHANGELOG.md b/CHANGELOG.md index d0ac415..2ddcdb1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,24 @@ # @litehex/node-vault +## 1.0.0 + +### Major Changes + +- 3775bf3: Fix: Using the environment's global `fetch` API instead of `undici`. + + This change makes this library more compatible with JavaScript runtimes that do not support `Node.js` modules. If you want to use `undici` again, use the [Custom Fetcher](https://github.com/shahradelahi/node-vault/wiki/Usage#custom-fetcher) feature. + +- f922ba9: BREAKING: The responses of commands are wrapped in a record with type of `SafeReturn`. + + This record contains two properties: + + - `data`: The `data` property for successful responses. The value depends on the command. + - `error`: The `error` property for error responses. The type is `VaultError`, which is a subclass of `Error`. + + Read [Migration guide](https://github.com/shahradelahi/node-vault/wiki/Migration) for more details on how to use it. + +- e2f73e7: Fix: Switched license from `GPL-3.0` to `MIT`, to make the project more open and permissive. + ## 0.2.5 ### Patch Changes diff --git a/package.json b/package.json index 8dca38c..280a3db 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@litehex/node-vault", - "version": "1.0.0-canary.0", + "version": "1.0.0", "description": "A client for the HashiCorp's Vault API written for Node.js", "main": "dist/index.cjs", "module": "dist/index.js",