@dotenvx/dotenvx 0.44.1 → 0.44.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +684 -0
- package/README.md +4 -4
- package/package.json +6 -4
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,684 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
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.
|
|
4
|
+
|
|
5
|
+
## [Unreleased](https://github.com/dotenvx/dotenvx/compare/v0.44.3...main)
|
|
6
|
+
|
|
7
|
+
## 0.44.3
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
* Include `CHANGELOG.md` in npm release
|
|
12
|
+
* Include `install.sh` in package release
|
|
13
|
+
|
|
14
|
+
## 0.44.2
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
* Fix license in `package.json` to match project's license BSD-3.
|
|
19
|
+
|
|
20
|
+
## 0.44.1
|
|
21
|
+
|
|
22
|
+
### Changed
|
|
23
|
+
|
|
24
|
+
* Respect decryption of zero length strings - `dotenvx set HELLO '' --encrypt` ([#236](https://github.com/dotenvx/dotenvx/pull/236))
|
|
25
|
+
|
|
26
|
+
## 0.44.0
|
|
27
|
+
|
|
28
|
+
### Added
|
|
29
|
+
|
|
30
|
+
* Added `options.debug`, `options.verbose`, `options.quiet`, and `options.logLevel` to `.config()` ([#233](https://github.com/dotenvx/dotenvx/pull/233))
|
|
31
|
+
|
|
32
|
+
## 0.43.2
|
|
33
|
+
|
|
34
|
+
### Changed
|
|
35
|
+
|
|
36
|
+
* Patch `replace` when replacing double, single, or backticked quoted at anywhere in the `.env` file. ([#232](https://github.com/dotenvx/dotenvx/pull/232))
|
|
37
|
+
|
|
38
|
+
## 0.43.1
|
|
39
|
+
|
|
40
|
+
### Changed
|
|
41
|
+
|
|
42
|
+
* Improved `replace` function regex - to handle more edge case scenarios with replacing KEY/values ([#227](https://github.com/dotenvx/dotenvx/pull/227))
|
|
43
|
+
|
|
44
|
+
## 0.43.0
|
|
45
|
+
|
|
46
|
+
### Added
|
|
47
|
+
|
|
48
|
+
* Support `require('@dotenvx/dotenvx').config()` for `DOTENV_PRIVATE_KEY` decryption ([#225](https://github.com/dotenvx/dotenvx/pull/225))
|
|
49
|
+
|
|
50
|
+
## 0.42.0
|
|
51
|
+
|
|
52
|
+
### Added
|
|
53
|
+
|
|
54
|
+
* Added `.env.vault deprecated` warning when using `DOTENV_KEY`. Provide instructions to convert to encrypted `.env` files. ([#224](https://github.com/dotenvx/dotenvx/pull/224))
|
|
55
|
+
|
|
56
|
+
## 0.41.0
|
|
57
|
+
|
|
58
|
+
### Added
|
|
59
|
+
|
|
60
|
+
* Added `vault convert` command to list convert instructions for converting `.env.vault` to encrypted .env files ([#222](https://github.com/dotenvx/dotenvx/pull/222))
|
|
61
|
+
|
|
62
|
+
```sh
|
|
63
|
+
To convert your .env.vault file to encrypted .env file(s):
|
|
64
|
+
|
|
65
|
+
1. Run [dotenvx vault decrypt]
|
|
66
|
+
2. Run [ls -a .env*]
|
|
67
|
+
|
|
68
|
+
Lastly, convert each .env(.environment) file:
|
|
69
|
+
|
|
70
|
+
3. Run [dotenvx convert -f .env.production]
|
|
71
|
+
|
|
72
|
+
For example:
|
|
73
|
+
|
|
74
|
+
$ dotenvx convert -f .env
|
|
75
|
+
$ dotenvx convert -f .env.ci
|
|
76
|
+
$ dotenvx convert -f .env.production
|
|
77
|
+
|
|
78
|
+
Afterward:
|
|
79
|
+
|
|
80
|
+
Update production with your new DOTENV_PRIVATE_KEY_PRODUCTION located in .env.keys
|
|
81
|
+
|
|
82
|
+
Learn more at [https://dotenvx.com/docs/quickstart#add-encryption]
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
### Changed
|
|
86
|
+
|
|
87
|
+
* Rename `encryptme` to `convert` ([#222](https://github.com/dotenvx/dotenvx/pull/222))
|
|
88
|
+
|
|
89
|
+
## 0.40.1
|
|
90
|
+
|
|
91
|
+
### Added
|
|
92
|
+
|
|
93
|
+
* Support encryption replacemnt of multiline values ([#220](https://github.com/dotenvx/dotenvx/pull/220))
|
|
94
|
+
|
|
95
|
+
## 0.40.0
|
|
96
|
+
|
|
97
|
+
### Added
|
|
98
|
+
|
|
99
|
+
* Added `dotenvx encryptme` command to convert an entire `.env` file to an encrypted `.env` file. ([#213](https://github.com/dotenvx/dotenvx/pull/213))
|
|
100
|
+
|
|
101
|
+
### Changed
|
|
102
|
+
|
|
103
|
+
* Made `precommit` smart enough to check if a `.env*` file is encrypted or not. If fully encrypted, then allow `precommit` check to pass ([#211](https://github.com/dotenvx/dotenvx/pull/211))
|
|
104
|
+
|
|
105
|
+
### Removed
|
|
106
|
+
|
|
107
|
+
* Do not warn of missing files for conventions (too noisy) ([#216](https://github.com/dotenvx/dotenvx/pull/216))
|
|
108
|
+
|
|
109
|
+
## 0.39.0
|
|
110
|
+
|
|
111
|
+
### Added
|
|
112
|
+
|
|
113
|
+
* Add `--convention` flag to `get`
|
|
114
|
+
|
|
115
|
+
### Removed
|
|
116
|
+
|
|
117
|
+
* Removed help messages like 'in production' and 'in ci'. Too specific and could lead to confusion.
|
|
118
|
+
|
|
119
|
+
## 0.38.0
|
|
120
|
+
|
|
121
|
+
### Changed
|
|
122
|
+
|
|
123
|
+
* ⚠️ DEPRECATION NOTICE: the following commands are being moved. Please, update any code and muscle memory you have related to these:
|
|
124
|
+
* `dotenvx encrypt` => `dotenvx vault encrypt`
|
|
125
|
+
* `dotenvx decrypt` => `dotenvx vault decrypt`
|
|
126
|
+
* `dotenvx status` => `dotenvx vault status`
|
|
127
|
+
* ⚠️ DEPRECATION NOTICE: the beta `hub` commands are being completely deprecated (they will be fully removed in upcoming 1.0.0 release). We will provide .env.keys tooling at a later time (replacing hub) but in the context of the new `--encrypt` flag functionality below
|
|
128
|
+
|
|
129
|
+
### Added
|
|
130
|
+
|
|
131
|
+
* Add encryption to your `.env` files with a single command. Pass the `--encrypt` flag. 🎉
|
|
132
|
+
|
|
133
|
+
```sh
|
|
134
|
+
$ dotenvx set HELLO World --encrypt
|
|
135
|
+
set HELLO with encryption (.env)
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+

|
|
139
|
+
|
|
140
|
+
> A `DOTENV_PUBLIC_KEY` (encryption key) and a `DOTENV_PRIVATE_KEY` (decryption key) is generated using the same public-key cryptography as [Bitcoin](https://en.bitcoin.it/wiki/Secp256k1).
|
|
141
|
+
|
|
142
|
+
Further notes:
|
|
143
|
+
|
|
144
|
+
* `DOTENV_PUBLIC_KEY` lives in the `.env` file. You can safely share this with whomever you wish.
|
|
145
|
+
* `DOTENV_PRIVATE_KEY` lives in your `.env.keys` file. Share this only with those you trust to decrypt your secrets.
|
|
146
|
+
* If using encrypted `.env` files like this it is safe to commmit them to source code. This makes reviewing PRs that contain secrets much easier.
|
|
147
|
+
* Tell your contributors to contribute a secret using the command `dotenvx set HELLO world --encrypt`.
|
|
148
|
+
* Set your `DOTENV_PRIVATE_KEY` on your server to decrypt these values using `dotenvx run -- yourcommand`
|
|
149
|
+
* You can repeat all this per environment by modifying your set command to `dotenvx set HELLO production -f .env.production --encrypt` (for example)
|
|
150
|
+
* In time we will add better tooling for sharing the private keys living in `.env.keys`, but until then safely share with team members you trust.
|
|
151
|
+
* This mechanism should be particularly useful for open source projects that want to permit secrets contributions without handing out the decryption keys. Now anyone can contribute a secret and only you can decrypt it to see what was changed.
|
|
152
|
+
* This solution is brand new, but I intend it to be the future for `.env` files. It has many benefits over `.env.vault` files. We will be sunsetting the `.env.vault` mechanism but its tooling will stay around in `dotenvx` for at least 1 year to come - under `dotenvx vault` parent command.
|
|
153
|
+
* Be patient as we update our documentation to prioritize this improved encryption format for `.env` files.
|
|
154
|
+
|
|
155
|
+
## 0.37.1
|
|
156
|
+
|
|
157
|
+
* warn when running `dotenvx status` against any untracked (not in .env.vault) files ([#196](https://github.com/dotenvx/dotenvx/pull/196))
|
|
158
|
+
|
|
159
|
+
## 0.37.0
|
|
160
|
+
|
|
161
|
+
* add `--convention nextjs` flag to `dotenvx run` ([#193](https://github.com/dotenvx/dotenvx/pull/193))
|
|
162
|
+
* improve `status` error message when decrypt fails or no `.env*` files ([#192](https://github.com/dotenvx/dotenvx/pull/192))
|
|
163
|
+
|
|
164
|
+
## 0.36.1
|
|
165
|
+
|
|
166
|
+
* handle `SIGTERM` ([#191](https://github.com/dotenvx/dotenvx/pull/191))
|
|
167
|
+
|
|
168
|
+
## 0.36.0
|
|
169
|
+
|
|
170
|
+
* add `dotenvx status` command ([#186](https://github.com/dotenvx/dotenvx/pull/186))
|
|
171
|
+
* add `dotenvx decrypt [directory]` argument option ([#186](https://github.com/dotenvx/dotenvx/pull/186))
|
|
172
|
+
* add `dotenvx decrypt --environment` flag option ([#186](https://github.com/dotenvx/dotenvx/pull/186))
|
|
173
|
+
* normalize windows `\` paths ([#186](https://github.com/dotenvx/dotenvx/pull/186))
|
|
174
|
+
|
|
175
|
+
## 0.35.1
|
|
176
|
+
|
|
177
|
+
### Changed
|
|
178
|
+
|
|
179
|
+
* exit code `1` if `get KEY` not found/undefined ([#185](https://github.com/dotenvx/dotenvx/pull/185))
|
|
180
|
+
|
|
181
|
+
## 0.35.0
|
|
182
|
+
|
|
183
|
+
### Added
|
|
184
|
+
|
|
185
|
+
* added `set` command, and optionally pass `--env-file` flag(s) to `set` usage: `dotenvx set HELLO World` ([#182](https://github.com/dotenvx/dotenvx/pull/182))
|
|
186
|
+
|
|
187
|
+
## 0.34.0
|
|
188
|
+
|
|
189
|
+
### Changed
|
|
190
|
+
|
|
191
|
+
* make `hub push` more forgiving by permitting full filepath like `hub push directory/.env.keys` ([#180](https://github.com/dotenvx/dotenvx/pull/180))
|
|
192
|
+
* add note on generated `.env.example` ([#181](https://github.com/dotenvx/dotenvx/pull/181))
|
|
193
|
+
|
|
194
|
+
## 0.33.1
|
|
195
|
+
|
|
196
|
+
### Changed
|
|
197
|
+
|
|
198
|
+
* patch injection around falsy values ([#177](https://github.com/dotenvx/dotenvx/pull/177))
|
|
199
|
+
|
|
200
|
+
## 0.33.0
|
|
201
|
+
|
|
202
|
+
### Added
|
|
203
|
+
|
|
204
|
+
* add .env.vault support for `.env.something.something` (useful for Next.js pattern of .env.development.local) ([#174](https://github.com/dotenvx/dotenvx/pull/174))
|
|
205
|
+
|
|
206
|
+
## 0.32.0
|
|
207
|
+
|
|
208
|
+
### Changed
|
|
209
|
+
|
|
210
|
+
* quiet exit code 1 message ([#173](https://github.com/dotenvx/dotenvx/pull/173))
|
|
211
|
+
|
|
212
|
+
## 0.31.1
|
|
213
|
+
|
|
214
|
+
### Changed
|
|
215
|
+
|
|
216
|
+
* improve error messages ([#171](https://github.com/dotenvx/dotenvx/pull/171))
|
|
217
|
+
|
|
218
|
+
## 0.31.0
|
|
219
|
+
|
|
220
|
+
### Added
|
|
221
|
+
|
|
222
|
+
* add `hub logout` command ([#170](https://github.com/dotenvx/dotenvx/pull/170))
|
|
223
|
+
|
|
224
|
+
## 0.30.2
|
|
225
|
+
|
|
226
|
+
### Changed
|
|
227
|
+
|
|
228
|
+
* small fixes for windows users related to `hub open` and `hub push` ([#169](https://github.com/dotenvx/dotenvx/pull/169))
|
|
229
|
+
|
|
230
|
+
## 0.30.1
|
|
231
|
+
|
|
232
|
+
### Changed
|
|
233
|
+
|
|
234
|
+
* remove windows warnings related to missing `git` or `git origin` ([#166](https://github.com/dotenvx/dotenvx/pull/166) [#167](https://github.com/dotenvx/dotenvx/pull/167))
|
|
235
|
+
|
|
236
|
+
## 0.30.0
|
|
237
|
+
|
|
238
|
+
### Added
|
|
239
|
+
|
|
240
|
+
* `dotenvx get --quiet` will display the value no matter what (adds a `blank0` logger level) ([#161](https://github.com/dotenvx/dotenvx/pull/161))
|
|
241
|
+
|
|
242
|
+
### Changed
|
|
243
|
+
|
|
244
|
+
* refactor `dotenvx get` to use `run` under the hood
|
|
245
|
+
|
|
246
|
+
## 0.29.2
|
|
247
|
+
|
|
248
|
+
### Changed
|
|
249
|
+
|
|
250
|
+
* fix broken `hub login` and `hub open` ([#160](https://github.com/dotenvx/dotenvx/pull/160))
|
|
251
|
+
|
|
252
|
+
## 0.29.1
|
|
253
|
+
|
|
254
|
+
### Changed
|
|
255
|
+
|
|
256
|
+
* patch situation where `DOTENV_KEY` is present and `--env-file` flag is set. assume to still look for `.env.vault` file as first in line ([#157](https://github.com/dotenvx/dotenvx/pull/157))
|
|
257
|
+
|
|
258
|
+
## 0.29.0
|
|
259
|
+
|
|
260
|
+
### Changed
|
|
261
|
+
|
|
262
|
+
* respect order for `--env-vault-file`, `--env-file` and `--env` flags (for example: `dotenvx run --env "HELLO=one" --env-file=.env` will prioritize `--env` flag. Add `--overload` here to prioritize `--env-file` or reverse the order.). you can now mix and match multiple flags in any complex order you wish and dotenvx will respect it. ([#155](https://github.com/dotenvx/dotenvx/pull/155))
|
|
263
|
+
|
|
264
|
+
## 0.28.0
|
|
265
|
+
|
|
266
|
+
### Added
|
|
267
|
+
|
|
268
|
+
* add `dotenvx settings` command to list your current settings. in the future we'll provide ways to modify these settings as dotenvx's functionality grows ([#153](https://github.com/dotenvx/dotenvx/pull/153))
|
|
269
|
+
|
|
270
|
+
## 0.27.2
|
|
271
|
+
|
|
272
|
+
### Added
|
|
273
|
+
|
|
274
|
+
* add windows postrelease step to check that `dotenvx.exe` is functional immediately after release ([#141](https://github.com/dotenvx/dotenvx/pull/141))
|
|
275
|
+
|
|
276
|
+
### Changed
|
|
277
|
+
|
|
278
|
+
* replace `package-json` with `undici` ([#146](https://github.com/dotenvx/dotenvx/pull/146))
|
|
279
|
+
* prune redundant packages ([#148](https://github.com/dotenvx/dotenvx/pull/148))
|
|
280
|
+
* return current version if remote version fails ([#149](https://github.com/dotenvx/dotenvx/pull/149))
|
|
281
|
+
* switch to our own update notice mechanism (eliminating multiple deps) ([#151](https://github.com/dotenvx/dotenvx/pull/151))
|
|
282
|
+
|
|
283
|
+
## 0.27.1
|
|
284
|
+
|
|
285
|
+
### Added
|
|
286
|
+
|
|
287
|
+
* provide `.zip` download option for windows executable ([#140](https://github.com/dotenvx/dotenvx/pull/140))
|
|
288
|
+
|
|
289
|
+
### Removed
|
|
290
|
+
|
|
291
|
+
* remove `got` from top level deps ([#139](https://github.com/dotenvx/dotenvx/pull/139))
|
|
292
|
+
|
|
293
|
+
## 0.27.0
|
|
294
|
+
|
|
295
|
+
### Changed
|
|
296
|
+
|
|
297
|
+
* move `update-notifier` into `lib/helpers` for more control over `got` lib ([#138](https://github.com/dotenvx/dotenvx/pull/138))
|
|
298
|
+
* move `clipboardy` into `lib/helpers` for more control and to support commonjs going forward (sindre has dropped support and many mature systems still require commonjs for their infra and have need of dotenvx). ([#137](https://github.com/dotenvx/dotenvx/pull/137))
|
|
299
|
+
|
|
300
|
+
## 0.26.0
|
|
301
|
+
|
|
302
|
+
### Added
|
|
303
|
+
|
|
304
|
+
* add `hub pull` command to pull a repo's `.env.keys` down. ([#129](https://github.com/dotenvx/dotenvx/pull/129))
|
|
305
|
+
|
|
306
|
+
## 0.25.1
|
|
307
|
+
|
|
308
|
+
### Changed
|
|
309
|
+
|
|
310
|
+
* 🐞 patch bug with evaluate commands. do not attempt to evaluate risky preset envs in `process.env`. evaluate only what's set in a `.env*` file ([#125](https://github.com/dotenvx/dotenvx/pull/125))
|
|
311
|
+
|
|
312
|
+
## 0.25.0
|
|
313
|
+
|
|
314
|
+
### Added
|
|
315
|
+
|
|
316
|
+
* expand `hub push` with `[directory]` option. use for monorepos. for example: `dotenvx hub push apps/backend` ([#121](https://github.com/dotenvx/dotenvx/pull/121))
|
|
317
|
+
|
|
318
|
+
## 0.24.0
|
|
319
|
+
|
|
320
|
+
### Added
|
|
321
|
+
|
|
322
|
+
* add command substitution. for example `DATABASE_URL="postgres://$(whoami)@localhost/my_database"` ([#113](https://github.com/dotenvx/dotenvx/pull/113))
|
|
323
|
+
|
|
324
|
+
## 0.23.0
|
|
325
|
+
|
|
326
|
+
### Added
|
|
327
|
+
|
|
328
|
+
* support personal environment variables. anything after the comment `# personal.dotenvx.com` will be considered personal and will not be encrypted to .env.vault ([#110](https://github.com/dotenvx/dotenvx/pull/110))
|
|
329
|
+
|
|
330
|
+
## 0.22.0
|
|
331
|
+
|
|
332
|
+
### Added
|
|
333
|
+
|
|
334
|
+
* `require('@dotenvx/dotenvx').config()` expands/interpolates variables. this matches the behavior of `run`. (note that this behavior differs from the original `require('dotenv').config()` ([#107](https://github.com/dotenvx/dotenvx/pull/107))
|
|
335
|
+
|
|
336
|
+
## 0.21.0
|
|
337
|
+
|
|
338
|
+
### Added
|
|
339
|
+
|
|
340
|
+
* expose `genexample` function on `lib/main.js` for export convenience ([#102](https://github.com/dotenvx/dotenvx/pull/102))
|
|
341
|
+
|
|
342
|
+
### Changed
|
|
343
|
+
|
|
344
|
+
* rely on `which` npm module to find system command path for user inputted command(s) ([#105](https://github.com/dotenvx/dotenvx/pull/105))
|
|
345
|
+
|
|
346
|
+
### Removed
|
|
347
|
+
|
|
348
|
+
* remove `main.inject` function ([#102](https://github.com/dotenvx/dotenvx/pull/102))
|
|
349
|
+
|
|
350
|
+
## 0.20.2
|
|
351
|
+
|
|
352
|
+
### Added
|
|
353
|
+
|
|
354
|
+
* added support for `--env` flag on the `.env.vault` decryption portion of `run` ([#101](https://github.com/dotenvx/dotenvx/pull/101))
|
|
355
|
+
|
|
356
|
+
## 0.20.1
|
|
357
|
+
|
|
358
|
+
### Changed
|
|
359
|
+
|
|
360
|
+
* use system command path ([#98](https://github.com/dotenvx/dotenvx/pull/98))
|
|
361
|
+
|
|
362
|
+
## 0.20.0
|
|
363
|
+
|
|
364
|
+
### Changed
|
|
365
|
+
|
|
366
|
+
* added `--env` flag. for example, `dotenvx --env="HELLO=World" -- yourcommand` ([#94](https://github.com/dotenvx/dotenvx/pull/94))
|
|
367
|
+
|
|
368
|
+
## 0.19.1
|
|
369
|
+
|
|
370
|
+
### Changed
|
|
371
|
+
|
|
372
|
+
* patched up the `precommit` command ([#91](https://github.com/dotenvx/dotenvx/pull/91))
|
|
373
|
+
|
|
374
|
+
## 0.19.0
|
|
375
|
+
|
|
376
|
+
### Added
|
|
377
|
+
|
|
378
|
+
* added `scan` command to scan for possible leaked secrets in your code ([#90](https://github.com/dotenvx/dotenvx/pull/90))
|
|
379
|
+
|
|
380
|
+
## 0.18.0
|
|
381
|
+
|
|
382
|
+
### Added
|
|
383
|
+
|
|
384
|
+
* added `get` command, optionally pass `--env-file` flag(s) to `get`, optionally pass `--overload`, and optionally pass `--pretty-print`. usage: `dotenvx get HELLO` => `World` ([#89](https://github.com/dotenvx/dotenvx/pull/89))
|
|
385
|
+
|
|
386
|
+
## 0.17.1
|
|
387
|
+
|
|
388
|
+
### Changed
|
|
389
|
+
|
|
390
|
+
* expose `main.encrypt` and `main.ls` functions
|
|
391
|
+
|
|
392
|
+
## 0.17.0
|
|
393
|
+
|
|
394
|
+
### Added
|
|
395
|
+
|
|
396
|
+
* added `[directory]` argument to `encrypt`. for example, in your nx repo from root `dotenvx encrypt apps/backend` will encrypt .env* files in that directory and manage the `.env.keys` and `.env.vault` in that directory as well ([#82](https://github.com/dotenvx/dotenvx/pull/82))
|
|
397
|
+
|
|
398
|
+
## 0.16.1
|
|
399
|
+
|
|
400
|
+
### Changed
|
|
401
|
+
|
|
402
|
+
* bumped `dotenv` version to fix `encrypt` bug
|
|
403
|
+
|
|
404
|
+
## 0.16.0
|
|
405
|
+
|
|
406
|
+
### Added
|
|
407
|
+
|
|
408
|
+
* added `ls` command to list all your `.env*` files ([#80](https://github.com/dotenvx/dotenvx/pull/80))
|
|
409
|
+
* added `--env-file` option `ls` ([#82](https://github.com/dotenvx/dotenvx/pull/82))
|
|
410
|
+
* optionally specify `--env-vault-file` path to `.env.vault` (defaults to `.env.vault`) ([#73](https://github.com/dotenvx/dotenvx/pull/73))
|
|
411
|
+
|
|
412
|
+
## 0.15.4
|
|
413
|
+
|
|
414
|
+
### Changed
|
|
415
|
+
|
|
416
|
+
* 🐞 patch `--overload` flag logic ([#66](https://github.com/dotenvx/dotenvx/pull/66))
|
|
417
|
+
|
|
418
|
+
## 0.15.3
|
|
419
|
+
|
|
420
|
+
### Changed
|
|
421
|
+
|
|
422
|
+
* 🐞 fix undici readablestream error ([#65](https://github.com/dotenvx/dotenvx/pull/65))
|
|
423
|
+
|
|
424
|
+
## 0.15.2
|
|
425
|
+
|
|
426
|
+
### Changed
|
|
427
|
+
|
|
428
|
+
* switch from axios to undici ([#59](https://github.com/dotenvx/dotenvx/pull/59))
|
|
429
|
+
* bump `dotenv-expand` ([#63](https://github.com/dotenvx/dotenvx/pull/63))
|
|
430
|
+
|
|
431
|
+
## 0.15.1
|
|
432
|
+
|
|
433
|
+
### Changed
|
|
434
|
+
|
|
435
|
+
* use improved dotenv expansion ([#62](https://github.com/dotenvx/dotenvx/pull/62))
|
|
436
|
+
|
|
437
|
+
## 0.15.0
|
|
438
|
+
|
|
439
|
+
### Added
|
|
440
|
+
|
|
441
|
+
* add expansion ([#60](https://github.com/dotenvx/dotenvx/pull/60))
|
|
442
|
+
* use `dotenvx.com` ([#56](https://github.com/dotenvx/dotenvx/pull/56))
|
|
443
|
+
|
|
444
|
+
## 0.14.1
|
|
445
|
+
|
|
446
|
+
### Changed
|
|
447
|
+
|
|
448
|
+
* patch esm issue. use update-notifier ^5.1.0
|
|
449
|
+
|
|
450
|
+
## 0.14.0
|
|
451
|
+
|
|
452
|
+
### Added
|
|
453
|
+
|
|
454
|
+
* Added `genexample` command. Generate `.env.example` from your `.env` file. ([#49](https://github.com/dotenvx/dotenvx/pull/49))
|
|
455
|
+
* couple security patches ([#50](https://github.com/dotenvx/dotenvx/pull/50), [#51](https://github.com/dotenvx/dotenvx/pull/51))
|
|
456
|
+
|
|
457
|
+
## 0.13.0
|
|
458
|
+
|
|
459
|
+
### Added
|
|
460
|
+
|
|
461
|
+
* Added `decrypt` command. Decrypt `.env.vault` to prospective `.env*` files. `.env.keys` must be present. ([#48](https://github.com/dotenvx/dotenvx/pull/48))
|
|
462
|
+
|
|
463
|
+
## 0.12.0
|
|
464
|
+
|
|
465
|
+
### Added
|
|
466
|
+
|
|
467
|
+
* Append to `.gitignore` with `gitignore` command (also `.dockerignore`, `.npmignore`, and `.vercelignore` if existing) ([#47](https://github.com/dotenvx/dotenvx/pull/47))
|
|
468
|
+
|
|
469
|
+
## 0.11.0
|
|
470
|
+
|
|
471
|
+
### Removed
|
|
472
|
+
|
|
473
|
+
* no longer append to `*ignore` files automatically. too invasive. will provide as separate cli command ([#45](https://github.com/dotenvx/dotenvx/pull/45))
|
|
474
|
+
|
|
475
|
+
## 0.10.6
|
|
476
|
+
|
|
477
|
+
### Changed
|
|
478
|
+
|
|
479
|
+
* Improve error message when decryption fails ([#40](https://github.com/dotenvx/dotenvx/pull/40))
|
|
480
|
+
|
|
481
|
+
## 0.10.5
|
|
482
|
+
|
|
483
|
+
### Changed
|
|
484
|
+
|
|
485
|
+
* Rename `predockerbuild` command to `prebuild` ([#36](https://github.com/dotenvx/pull/36))
|
|
486
|
+
|
|
487
|
+
## 0.10.4
|
|
488
|
+
|
|
489
|
+
### Added
|
|
490
|
+
|
|
491
|
+
* Add `predockerbuild` command to prevent including `.env` file in your docker builds ([#35](https://github.com/dotenvx/pull/35))
|
|
492
|
+
|
|
493
|
+
## 0.10.3
|
|
494
|
+
|
|
495
|
+
### Changed
|
|
496
|
+
|
|
497
|
+
* If dotenvx is missing tell user how to install it from pre-commit ([#34](https://github.com/dotenvx/pull/34))
|
|
498
|
+
* Add help notice for ci (when .env file not present) ([#33](https://github.com/dotenvx/pull/33))
|
|
499
|
+
|
|
500
|
+
## 0.10.2
|
|
501
|
+
|
|
502
|
+
### Changed
|
|
503
|
+
|
|
504
|
+
* Improve error message when custom `--env-file` passed ([#32](https://github.com/dotenvx/pull/32))
|
|
505
|
+
|
|
506
|
+
## 0.10.1
|
|
507
|
+
|
|
508
|
+
### Changed
|
|
509
|
+
|
|
510
|
+
* Adjust `precommit` verbosity and coloring
|
|
511
|
+
* Add `--install` flag to precommit - installs to `.git/hooks/pre-commit` ([#31](https://github.com/dotenvx/dotenvx/pull/31))
|
|
512
|
+
|
|
513
|
+
## 0.10.0
|
|
514
|
+
|
|
515
|
+
### Added
|
|
516
|
+
|
|
517
|
+
* Added `dotenvx precommit` command and instructions for git pre-commit hook ([#30](https://github.com/dotenvx/dotenvx/pull/30))
|
|
518
|
+
|
|
519
|
+
## 0.9.0
|
|
520
|
+
|
|
521
|
+
### Changed
|
|
522
|
+
|
|
523
|
+
* Remove `.flaskenv` from appends ([#27](https://github.com/dotenvx/dotenvx/pull/27))
|
|
524
|
+
* Improved error message when .env file is missing ([#28](https://github.com/dotenvx/dotenvx/pull/28))
|
|
525
|
+
|
|
526
|
+
## 0.8.4
|
|
527
|
+
|
|
528
|
+
### Changed
|
|
529
|
+
|
|
530
|
+
Load `axios` with a try/catch depending on context 🐞 ([#24](https://github.com/dotenvx/dotenvx/pull/24))
|
|
531
|
+
|
|
532
|
+
## 0.8.3
|
|
533
|
+
|
|
534
|
+
### Changed
|
|
535
|
+
|
|
536
|
+
Patched `helpers.guessEnvironment` bug when filepath contained a `.` in the folder name. 🐞 ([#23](https://github.com/dotenvx/dotenvx/pull/23))
|
|
537
|
+
|
|
538
|
+
## 0.8.2
|
|
539
|
+
|
|
540
|
+
### Changed
|
|
541
|
+
|
|
542
|
+
Change path to axios in attempt for `pkg` to build correctly.
|
|
543
|
+
|
|
544
|
+
## 0.8.1
|
|
545
|
+
|
|
546
|
+
### Added
|
|
547
|
+
|
|
548
|
+
Add axios (missing) to `package-lock.json`
|
|
549
|
+
|
|
550
|
+
## 0.8.0
|
|
551
|
+
|
|
552
|
+
### Added
|
|
553
|
+
|
|
554
|
+
Added [hub](https://hub.dotenvx.com) support. 🎉 ([#16](https://github.com/dotenvx/dotenvx/pull/16))
|
|
555
|
+
|
|
556
|
+
## 0.7.4
|
|
557
|
+
|
|
558
|
+
### Changed
|
|
559
|
+
|
|
560
|
+
Create binaries with root:root defaults. ([#21](https://github.com/dotenvx/dotenvx/pull/21))
|
|
561
|
+
|
|
562
|
+
## 0.7.3
|
|
563
|
+
|
|
564
|
+
### Added
|
|
565
|
+
|
|
566
|
+
Tell user about undefined subprocess with additional `debug` logs ([#19](https://github.com/dotenvx/dotenvx/pull/19))
|
|
567
|
+
|
|
568
|
+
## 0.7.2
|
|
569
|
+
|
|
570
|
+
### Added
|
|
571
|
+
|
|
572
|
+
`debug` other signals send to execa process ([#18](https://github.com/dotenvx/dotenvx/pull/18))
|
|
573
|
+
|
|
574
|
+
## 0.7.1
|
|
575
|
+
|
|
576
|
+
### Changed
|
|
577
|
+
|
|
578
|
+
Fix missed package.json#version
|
|
579
|
+
|
|
580
|
+
## 0.7.0
|
|
581
|
+
|
|
582
|
+
### Added
|
|
583
|
+
|
|
584
|
+
handle `SIGINT` ([#17](https://github.com/dotenvx/dotenvx/pull/17))
|
|
585
|
+
|
|
586
|
+
## 0.6.13
|
|
587
|
+
|
|
588
|
+
write to `/latest` only for [releases](https://github.com/dotenvx/releases) repo ([#15](https://github.com/dotenvx/dotenvx/pull/15))
|
|
589
|
+
|
|
590
|
+
## 0.6.12
|
|
591
|
+
|
|
592
|
+
### Changed
|
|
593
|
+
|
|
594
|
+
do not package README alongside binary. adds noise to a user's machine. keep their machine shiny. ([#14](https://github.com/dotenvx/dotenvx/pull/14))
|
|
595
|
+
|
|
596
|
+
## 0.6.11
|
|
597
|
+
|
|
598
|
+
### Added
|
|
599
|
+
|
|
600
|
+
tell user what to do next ([#13](https://github.com/dotenvx/dotenvx/pull/13))
|
|
601
|
+
|
|
602
|
+
## 0.6.10
|
|
603
|
+
|
|
604
|
+
### Patched
|
|
605
|
+
|
|
606
|
+
do not log when error code is 0 ([#12](https://github.com/dotenvx/dotenvx/pull/12))
|
|
607
|
+
|
|
608
|
+
## 0.6.9
|
|
609
|
+
|
|
610
|
+
### Added
|
|
611
|
+
|
|
612
|
+
tell user when no changes to re-encrypt ([#11](https://github.com/dotenvx/dotenvx/pull/11))
|
|
613
|
+
|
|
614
|
+
## 0.6.8
|
|
615
|
+
|
|
616
|
+
### Added
|
|
617
|
+
|
|
618
|
+
added help text when user's command fails. include link to report issue ([#10](https://github.com/dotenvx/dotenvx/pull/10))
|
|
619
|
+
|
|
620
|
+
## 0.6.7
|
|
621
|
+
|
|
622
|
+
## Added
|
|
623
|
+
|
|
624
|
+
added next step help message when running `dotenvx run` with no argument ([#9](https://github.com/dotenvx/dotenvx/pull/9))
|
|
625
|
+
|
|
626
|
+
|
|
627
|
+
## 0.6.6
|
|
628
|
+
|
|
629
|
+
### Added
|
|
630
|
+
|
|
631
|
+
help includes a command example as well as a full working 'try it out' example ([#8](https://github.com/dotenvx/dotenvx/pull/8))
|
|
632
|
+
|
|
633
|
+
## 0.6.5
|
|
634
|
+
|
|
635
|
+
### Changed
|
|
636
|
+
|
|
637
|
+
made the info messaging more succinct ([#7](https://github.com/dotenvx/dotenvx/pull/7))
|
|
638
|
+
|
|
639
|
+
## 0.6.4
|
|
640
|
+
|
|
641
|
+
### Added
|
|
642
|
+
|
|
643
|
+
added tagged images to [hub.docker.com/u/dotenv](https://hub.docker.com/r/dotenv/dotenvx/tags)
|
|
644
|
+
|
|
645
|
+
## 0.6.3
|
|
646
|
+
|
|
647
|
+
### Changed
|
|
648
|
+
|
|
649
|
+
fixed the `.env.keys` file comment. spacing was off. ([#6](https://github.com/dotenvx/dotenvx/pull/6))
|
|
650
|
+
|
|
651
|
+
## 0.6.2
|
|
652
|
+
|
|
653
|
+
### Added
|
|
654
|
+
|
|
655
|
+
added help text to `encrypt`. ([#5](https://github.com/dotenvx/dotenvx/pull/5))
|
|
656
|
+
|
|
657
|
+
## 0.6.1
|
|
658
|
+
|
|
659
|
+
### Changed
|
|
660
|
+
|
|
661
|
+
removed the `pad` on the logging level. didn't look good when running in default INFO mode. ([#4](https://github.com/dotenvx/dotenvx/pull/4))
|
|
662
|
+
|
|
663
|
+
## 0.6.0
|
|
664
|
+
|
|
665
|
+
### Added
|
|
666
|
+
|
|
667
|
+
prevent committing a `.env*` file to code. append to `.gitignore`, `.dockerignore`, `.vercelignore`, and `.npmignore` 🗂️ ([#3](https://github.com/dotenvx/dotenvx/pull/3))
|
|
668
|
+
|
|
669
|
+
## 0.5.0
|
|
670
|
+
|
|
671
|
+
### Added
|
|
672
|
+
|
|
673
|
+
`run` support for `.env.vault` files 🔑 ([#2](https://github.com/dotenvx/dotenvx/pull/2))
|
|
674
|
+
|
|
675
|
+
## 0.4.0
|
|
676
|
+
|
|
677
|
+
### Added
|
|
678
|
+
|
|
679
|
+
`encrypt` 🔐 ([#1](https://github.com/dotenvx/dotenvx/pull/1))
|
|
680
|
+
|
|
681
|
+
## 0.3.9 and prior
|
|
682
|
+
|
|
683
|
+
Please see commit history.
|
|
684
|
+
|
package/README.md
CHANGED
|
@@ -240,7 +240,7 @@ More examples
|
|
|
240
240
|
```sh
|
|
241
241
|
FROM node:latest
|
|
242
242
|
RUN echo "HELLO=World" > .env && echo "console.log('Hello ' + process.env.HELLO)" > index.js
|
|
243
|
-
RUN curl -fsS https://dotenvx.sh/ | sh
|
|
243
|
+
RUN curl -fsS https://dotenvx.sh/install.sh | sh
|
|
244
244
|
CMD ["dotenvx", "run", "--", "echo", "Hello $HELLO"]
|
|
245
245
|
```
|
|
246
246
|
|
|
@@ -261,7 +261,7 @@ More examples
|
|
|
261
261
|
- uses: actions/setup-node@v3
|
|
262
262
|
with:
|
|
263
263
|
node-version: 16
|
|
264
|
-
- run: curl -fsS https://dotenvx.sh/ | sh
|
|
264
|
+
- run: curl -fsS https://dotenvx.sh/install.sh | sh
|
|
265
265
|
- run: dotenvx run -- node build.js
|
|
266
266
|
env:
|
|
267
267
|
DOTENV_KEY: ${{ secrets.DOTENV_KEY }}
|
|
@@ -277,7 +277,7 @@ More examples
|
|
|
277
277
|
heroku buildpacks:add https://github.com/dotenvx/heroku-buildpack-dotenvx
|
|
278
278
|
|
|
279
279
|
# docker
|
|
280
|
-
RUN curl -fsS https://dotenvx.sh/ | sh
|
|
280
|
+
RUN curl -fsS https://dotenvx.sh/install.sh | sh
|
|
281
281
|
|
|
282
282
|
# vercel
|
|
283
283
|
npm install @dotenvx/dotenvx --save
|
|
@@ -1173,7 +1173,7 @@ More examples
|
|
|
1173
1173
|
Add it to your `Dockerfile`.
|
|
1174
1174
|
|
|
1175
1175
|
```sh
|
|
1176
|
-
RUN curl -fsS https://dotenvx.sh/ | sh
|
|
1176
|
+
RUN curl -fsS https://dotenvx.sh/install.sh | sh
|
|
1177
1177
|
|
|
1178
1178
|
...
|
|
1179
1179
|
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.44.
|
|
2
|
+
"version": "0.44.3",
|
|
3
3
|
"name": "@dotenvx/dotenvx",
|
|
4
4
|
"description": "a better dotenv–from the creator of `dotenv`",
|
|
5
5
|
"author": "@motdotla",
|
|
@@ -9,9 +9,10 @@
|
|
|
9
9
|
],
|
|
10
10
|
"homepage": "https://github.com/dotenvx/dotenvx",
|
|
11
11
|
"repository": "dotenvx/dotenvx",
|
|
12
|
-
"license": "
|
|
12
|
+
"license": "BSD-3-Clause",
|
|
13
13
|
"files": [
|
|
14
|
-
"src/**/*"
|
|
14
|
+
"src/**/*",
|
|
15
|
+
"CHANGELOG.md"
|
|
15
16
|
],
|
|
16
17
|
"main": "src/lib/main.js",
|
|
17
18
|
"bin": {
|
|
@@ -22,7 +23,8 @@
|
|
|
22
23
|
"standard": "standard",
|
|
23
24
|
"standard:fix": "standard --fix",
|
|
24
25
|
"test": "tap run --show-full-coverage",
|
|
25
|
-
"
|
|
26
|
+
"testshell": "bash shellspec",
|
|
27
|
+
"prerelease": "npm test && npm run testshell",
|
|
26
28
|
"release": "standard-version"
|
|
27
29
|
},
|
|
28
30
|
"funding": "https://dotenvx.com",
|