Skip to content

Commit

Permalink
chore(release): version package (#40)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Oct 8, 2024
1 parent 66e600c commit c82fc12
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 26 deletions.
7 changes: 0 additions & 7 deletions .changeset/metal-games-beam.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/odd-spoons-sort.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tall-comics-jump.md

This file was deleted.

19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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<T, VaultError>`.

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
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": "@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",
Expand Down

0 comments on commit c82fc12

Please sign in to comment.