Skip to content

Commit c82fc12

Browse files
chore(release): version package (#40)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 66e600c commit c82fc12

5 files changed

+20
-26
lines changed

.changeset/metal-games-beam.md

-7
This file was deleted.

.changeset/odd-spoons-sort.md

-13
This file was deleted.

.changeset/tall-comics-jump.md

-5
This file was deleted.

CHANGELOG.md

+19
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# @litehex/node-vault
22

3+
## 1.0.0
4+
5+
### Major Changes
6+
7+
- 3775bf3: Fix: Using the environment's global `fetch` API instead of `undici`.
8+
9+
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.
10+
11+
- f922ba9: BREAKING: The responses of commands are wrapped in a record with type of `SafeReturn<T, VaultError>`.
12+
13+
This record contains two properties:
14+
15+
- `data`: The `data` property for successful responses. The value depends on the command.
16+
- `error`: The `error` property for error responses. The type is `VaultError`, which is a subclass of `Error`.
17+
18+
Read [Migration guide](https://github.com/shahradelahi/node-vault/wiki/Migration) for more details on how to use it.
19+
20+
- e2f73e7: Fix: Switched license from `GPL-3.0` to `MIT`, to make the project more open and permissive.
21+
322
## 0.2.5
423

524
### Patch Changes

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@litehex/node-vault",
3-
"version": "1.0.0-canary.0",
3+
"version": "1.0.0",
44
"description": "A client for the HashiCorp's Vault API written for Node.js",
55
"main": "dist/index.cjs",
66
"module": "dist/index.js",

0 commit comments

Comments
 (0)