@dotenvx/dotenvx 2.38.1 → 3.0.0-beta.1

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.
Files changed (271) hide show
  1. package/README.md +186 -3315
  2. package/bin/dotenvx.cjs +34 -0
  3. package/config.cjs +1 -0
  4. package/config.d.ts +1 -0
  5. package/config.mjs +2 -0
  6. package/index.cjs +139 -0
  7. package/index.d.ts +66 -0
  8. package/index.mjs +3 -0
  9. package/lib/cli.cjs +43 -0
  10. package/lib/native-package.cjs +21 -0
  11. package/lib/platforms.cjs +18 -0
  12. package/{src/lib/helpers/redactOutput.js → lib/redactOutput.cjs} +2 -48
  13. package/lib/redaction.cjs +64 -0
  14. package/lib/validateOptions.cjs +57 -0
  15. package/native.cjs +23 -0
  16. package/package.json +57 -65
  17. package/CHANGELOG.md +0 -2727
  18. package/src/cli/actions/armor/down.js +0 -38
  19. package/src/cli/actions/armor/invite.js +0 -21
  20. package/src/cli/actions/armor/move.js +0 -43
  21. package/src/cli/actions/armor/open.js +0 -28
  22. package/src/cli/actions/armor/pull.js +0 -38
  23. package/src/cli/actions/armor/push.js +0 -38
  24. package/src/cli/actions/armor/status.js +0 -7
  25. package/src/cli/actions/armor/up.js +0 -38
  26. package/src/cli/actions/check.js +0 -78
  27. package/src/cli/actions/curl.js +0 -71
  28. package/src/cli/actions/decrypt.js +0 -119
  29. package/src/cli/actions/del.js +0 -54
  30. package/src/cli/actions/doctor.js +0 -22
  31. package/src/cli/actions/encrypt.js +0 -104
  32. package/src/cli/actions/ext/genexample.js +0 -36
  33. package/src/cli/actions/ext/gitignore.js +0 -106
  34. package/src/cli/actions/ext/prebuild.js +0 -7
  35. package/src/cli/actions/ext/precommit.js +0 -38
  36. package/src/cli/actions/ext/scan.js +0 -33
  37. package/src/cli/actions/feedback.js +0 -42
  38. package/src/cli/actions/get.js +0 -128
  39. package/src/cli/actions/init.js +0 -67
  40. package/src/cli/actions/keychain/down.js +0 -30
  41. package/src/cli/actions/keychain/pull.js +0 -30
  42. package/src/cli/actions/keychain/push.js +0 -30
  43. package/src/cli/actions/keychain/up.js +0 -30
  44. package/src/cli/actions/keypair.js +0 -84
  45. package/src/cli/actions/login.js +0 -64
  46. package/src/cli/actions/logout.js +0 -37
  47. package/src/cli/actions/ls.js +0 -76
  48. package/src/cli/actions/policy.js +0 -14
  49. package/src/cli/actions/primitivesCheck.js +0 -32
  50. package/src/cli/actions/primitivesProfile.js +0 -15
  51. package/src/cli/actions/primitivesRedact.js +0 -19
  52. package/src/cli/actions/protect.js +0 -75
  53. package/src/cli/actions/protectDocker.js +0 -30
  54. package/src/cli/actions/protectProcess.js +0 -126
  55. package/src/cli/actions/protectStdin.js +0 -80
  56. package/src/cli/actions/run.js +0 -203
  57. package/src/cli/actions/set.js +0 -103
  58. package/src/cli/actions/settings/device.js +0 -23
  59. package/src/cli/actions/settings/hostname.js +0 -20
  60. package/src/cli/actions/settings/off.js +0 -14
  61. package/src/cli/actions/settings/on.js +0 -14
  62. package/src/cli/actions/settings/path.js +0 -20
  63. package/src/cli/actions/settings/token.js +0 -23
  64. package/src/cli/actions/settings/username.js +0 -20
  65. package/src/cli/actions/update.js +0 -15
  66. package/src/cli/commandAction.js +0 -16
  67. package/src/cli/commands/armor.js +0 -129
  68. package/src/cli/commands/custody.js +0 -45
  69. package/src/cli/commands/ext.js +0 -88
  70. package/src/cli/commands/fileOptions.js +0 -22
  71. package/src/cli/commands/native.js +0 -54
  72. package/src/cli/commands/primitives.js +0 -73
  73. package/src/cli/commands/settings.js +0 -63
  74. package/src/cli/dotenvx.js +0 -443
  75. package/src/cli/help.js +0 -179
  76. package/src/db/device.js +0 -67
  77. package/src/db/session.js +0 -330
  78. package/src/lib/api/getAccount.js +0 -32
  79. package/src/lib/api/getConnectionResources.js +0 -21
  80. package/src/lib/api/getTeamConnections.js +0 -27
  81. package/src/lib/api/getTeamServices.js +0 -23
  82. package/src/lib/api/getTeams.js +0 -28
  83. package/src/lib/api/postArmorDown.js +0 -48
  84. package/src/lib/api/postArmorMove.js +0 -48
  85. package/src/lib/api/postArmorPull.js +0 -48
  86. package/src/lib/api/postArmorPush.js +0 -48
  87. package/src/lib/api/postArmorUp.js +0 -53
  88. package/src/lib/api/postConnectionKeypair.js +0 -23
  89. package/src/lib/api/postFeedback.js +0 -31
  90. package/src/lib/api/postLogout.js +0 -34
  91. package/src/lib/api/postOauthDeviceCode.js +0 -38
  92. package/src/lib/api/postOauthToken.js +0 -35
  93. package/src/lib/api/postTeamInvitation.js +0 -28
  94. package/src/lib/api/teamConnectionSetup.js +0 -31
  95. package/src/lib/config.d.ts +0 -1
  96. package/src/lib/config.js +0 -1
  97. package/src/lib/conventions/environment.js +0 -27
  98. package/src/lib/conventions/filepaths.js +0 -9
  99. package/src/lib/conventions/keynames.js +0 -38
  100. package/src/lib/custodians/index.js +0 -75
  101. package/src/lib/custodians/local/bitwarden.js +0 -165
  102. package/src/lib/custodians/local/file.js +0 -18
  103. package/src/lib/custodians/local/native/backend.js +0 -56
  104. package/src/lib/custodians/local/native/index.js +0 -28
  105. package/src/lib/custodians/local/native/store.js +0 -24
  106. package/src/lib/custodians/local/onepassword.js +0 -149
  107. package/src/lib/custodians/managed/armor/index.js +0 -14
  108. package/src/lib/custodians/managed/armor/store.js +0 -48
  109. package/src/lib/custodians/resolveLocalKey.js +0 -67
  110. package/src/lib/decryptors/armor/index.js +0 -23
  111. package/src/lib/decryptors/decryptor-worker.js +0 -6
  112. package/src/lib/decryptors/index.js +0 -69
  113. package/src/lib/envfile/discovery/discoverEnvFiles.js +0 -29
  114. package/src/lib/envfile/discovery/extractEnvKeys.js +0 -173
  115. package/src/lib/envfile/discovery/scanSource.js +0 -79
  116. package/src/lib/envfile/parsing/formatEnvfileSyntaxError.js +0 -24
  117. package/src/lib/envfile/parsing/readEnvfile.js +0 -43
  118. package/src/lib/envfile/parsing/resolveEnvfilePath.js +0 -5
  119. package/src/lib/envfile/rendering/normalizeEnvfile.js +0 -53
  120. package/src/lib/envfile/rendering/previewEnvfile.js +0 -43
  121. package/src/lib/envfile/rendering/renderEnvfile.js +0 -30
  122. package/src/lib/envfile/validation/diagnosticLocation.js +0 -29
  123. package/src/lib/envfile/validation/protectEnvfile.js +0 -40
  124. package/src/lib/envfile/validation/validateEnvfile.js +0 -14
  125. package/src/lib/events/backends/armor.js +0 -31
  126. package/src/lib/events/background.js +0 -59
  127. package/src/lib/events/catalog.js +0 -14
  128. package/src/lib/events/cli.js +0 -40
  129. package/src/lib/events/delivery.js +0 -89
  130. package/src/lib/events/index.js +0 -73
  131. package/src/lib/events/metadata.js +0 -25
  132. package/src/lib/events/sdk.js +0 -44
  133. package/src/lib/events/worker.js +0 -29
  134. package/src/lib/events/workerEnvironment.js +0 -14
  135. package/src/lib/helpers/armoredKeyDisplay.js +0 -10
  136. package/src/lib/helpers/arrayToTree.js +0 -27
  137. package/src/lib/helpers/buildApiError.js +0 -19
  138. package/src/lib/helpers/buildCommandEnvs.js +0 -40
  139. package/src/lib/helpers/buildConfigEnvs.js +0 -13
  140. package/src/lib/helpers/buildEnvs.js +0 -24
  141. package/src/lib/helpers/buildOauthError.js +0 -14
  142. package/src/lib/helpers/canonicalEnvFilename.js +0 -13
  143. package/src/lib/helpers/catchAndLog.js +0 -16
  144. package/src/lib/helpers/checklist.js +0 -50
  145. package/src/lib/helpers/chomp.js +0 -5
  146. package/src/lib/helpers/colorDepth.js +0 -23
  147. package/src/lib/helpers/conventions.js +0 -28
  148. package/src/lib/helpers/createElapsedStatus.js +0 -17
  149. package/src/lib/helpers/createProtectSpinner.js +0 -13
  150. package/src/lib/helpers/createSpinner.js +0 -40
  151. package/src/lib/helpers/cryptography/decryptKeyValue.js +0 -50
  152. package/src/lib/helpers/cryptography/index.js +0 -7
  153. package/src/lib/helpers/cryptography/isDotenvPublicKey.js +0 -7
  154. package/src/lib/helpers/cryptography/isPlainKey.js +0 -7
  155. package/src/lib/helpers/cryptography/mutateKeysSrc.js +0 -22
  156. package/src/lib/helpers/cryptography/mutateSrc.js +0 -24
  157. package/src/lib/helpers/custodySelect.js +0 -25
  158. package/src/lib/helpers/decryptDeviceValue.js +0 -7
  159. package/src/lib/helpers/detectEncoding.js +0 -22
  160. package/src/lib/helpers/detectEncodingSync.js +0 -22
  161. package/src/lib/helpers/dotenvOptionPaths.js +0 -25
  162. package/src/lib/helpers/dotenvPrivateKeyNames.js +0 -7
  163. package/src/lib/helpers/enclavedHint.js +0 -11
  164. package/src/lib/helpers/encryptDeviceValue.js +0 -7
  165. package/src/lib/helpers/envResolution/determine.js +0 -49
  166. package/src/lib/helpers/envResolution/index.js +0 -8
  167. package/src/lib/helpers/errors.js +0 -374
  168. package/src/lib/helpers/escape.js +0 -6
  169. package/src/lib/helpers/execute.js +0 -12
  170. package/src/lib/helpers/executeCommand.js +0 -208
  171. package/src/lib/helpers/executeDynamic.js +0 -86
  172. package/src/lib/helpers/executeExtension.js +0 -39
  173. package/src/lib/helpers/filterKeys.js +0 -15
  174. package/src/lib/helpers/findEnvFiles.js +0 -25
  175. package/src/lib/helpers/formatCode.js +0 -11
  176. package/src/lib/helpers/fsx.js +0 -110
  177. package/src/lib/helpers/guessPrivateKeyFilename.js +0 -15
  178. package/src/lib/helpers/hasPlaintextSecrets.js +0 -7
  179. package/src/lib/helpers/http.js +0 -14
  180. package/src/lib/helpers/installPrecommitHook.js +0 -82
  181. package/src/lib/helpers/installProtectFilter.js +0 -57
  182. package/src/lib/helpers/installProtectIgnore.js +0 -27
  183. package/src/lib/helpers/isPublicKey.js +0 -3
  184. package/src/lib/helpers/isTeamRequiredError.js +0 -10
  185. package/src/lib/helpers/jsonToEnv.js +0 -7
  186. package/src/lib/helpers/keypairMetadata.js +0 -90
  187. package/src/lib/helpers/kits/sample.js +0 -5
  188. package/src/lib/helpers/linuxSecretService.js +0 -52
  189. package/src/lib/helpers/listenForOpenKey.js +0 -46
  190. package/src/lib/helpers/logProtectedFiles.js +0 -9
  191. package/src/lib/helpers/logSetSummary.js +0 -21
  192. package/src/lib/helpers/macosKeychain.js +0 -52
  193. package/src/lib/helpers/mask.js +0 -22
  194. package/src/lib/helpers/maskEnvSrc.js +0 -15
  195. package/src/lib/helpers/maskProcessedEnvs.js +0 -29
  196. package/src/lib/helpers/matchesStoredKey.js +0 -5
  197. package/src/lib/helpers/nativeStoreError.js +0 -10
  198. package/src/lib/helpers/normalizeDotenvConfigConvention.js +0 -13
  199. package/src/lib/helpers/normalizeDotenvConfigIgnore.js +0 -18
  200. package/src/lib/helpers/normalizeDotenvConfigPath.js +0 -14
  201. package/src/lib/helpers/normalizeDotenvConfigQuiet.js +0 -13
  202. package/src/lib/helpers/normalizeToken.js +0 -5
  203. package/src/lib/helpers/openUrl.js +0 -7
  204. package/src/lib/helpers/packageJson.js +0 -3
  205. package/src/lib/helpers/parseWithDecryptor.js +0 -115
  206. package/src/lib/helpers/plaintextKeys.js +0 -9
  207. package/src/lib/helpers/precommitEnvPatterns.js +0 -1
  208. package/src/lib/helpers/prependPublicKey.js +0 -17
  209. package/src/lib/helpers/preserveShebang.js +0 -16
  210. package/src/lib/helpers/prompts.js +0 -169
  211. package/src/lib/helpers/protectSettings.js +0 -64
  212. package/src/lib/helpers/ptyCommand.js +0 -27
  213. package/src/lib/helpers/readEnvKey.js +0 -32
  214. package/src/lib/helpers/redact.js +0 -9
  215. package/src/lib/helpers/redactProcessOutput.js +0 -58
  216. package/src/lib/helpers/redactedValues.js +0 -29
  217. package/src/lib/helpers/removeDynamicHelpSection.js +0 -21
  218. package/src/lib/helpers/removeEnvKey.js +0 -51
  219. package/src/lib/helpers/removeLegacyProtectFilter.js +0 -43
  220. package/src/lib/helpers/removeOptionsHelpParts.js +0 -59
  221. package/src/lib/helpers/resolveBitwardenPassword.js +0 -165
  222. package/src/lib/helpers/resolveDirectoryFilepath.js +0 -16
  223. package/src/lib/helpers/resolveEnvKeysFile.js +0 -11
  224. package/src/lib/helpers/resolveHome.js +0 -12
  225. package/src/lib/helpers/resolveOnePassword.js +0 -82
  226. package/src/lib/helpers/sanitizeCommandForMetadata.js +0 -64
  227. package/src/lib/helpers/selectConnection.js +0 -51
  228. package/src/lib/helpers/selectConnectionResource.js +0 -41
  229. package/src/lib/helpers/selectEnvfileEnvs.js +0 -29
  230. package/src/lib/helpers/selectKeyStorage.js +0 -140
  231. package/src/lib/helpers/statusReporter.js +0 -8
  232. package/src/lib/helpers/storeKeyStorage.js +0 -39
  233. package/src/lib/helpers/teamChoicesFromMeta.js +0 -8
  234. package/src/lib/helpers/truncate.js +0 -10
  235. package/src/lib/helpers/uninstallPrecommitHook.js +0 -67
  236. package/src/lib/helpers/upsertEnvKey.js +0 -62
  237. package/src/lib/helpers/windowsCredentialManager.js +0 -166
  238. package/src/lib/main.d.ts +0 -509
  239. package/src/lib/main.js +0 -468
  240. package/src/lib/providers/index.js +0 -86
  241. package/src/lib/providers/native/index.js +0 -2
  242. package/src/lib/resolvers/envs.js +0 -416
  243. package/src/lib/resolvers/get.js +0 -87
  244. package/src/lib/resolvers/keypair.js +0 -135
  245. package/src/lib/resolvers/ls.js +0 -69
  246. package/src/lib/services/armorDown.js +0 -73
  247. package/src/lib/services/armorInvite.js +0 -36
  248. package/src/lib/services/armorMove.js +0 -55
  249. package/src/lib/services/armorOpen.js +0 -26
  250. package/src/lib/services/armorPull.js +0 -73
  251. package/src/lib/services/armorPush.js +0 -66
  252. package/src/lib/services/armorUp.js +0 -71
  253. package/src/lib/services/custodyTransfer.js +0 -50
  254. package/src/lib/services/doctor.js +0 -93
  255. package/src/lib/services/genexample.js +0 -112
  256. package/src/lib/services/init.js +0 -83
  257. package/src/lib/services/keychainDown.js +0 -60
  258. package/src/lib/services/keychainPull.js +0 -46
  259. package/src/lib/services/keychainPush.js +0 -51
  260. package/src/lib/services/keychainUp.js +0 -72
  261. package/src/lib/services/login.js +0 -51
  262. package/src/lib/services/logout.js +0 -26
  263. package/src/lib/services/prebuild.js +0 -91
  264. package/src/lib/services/precommit.js +0 -144
  265. package/src/lib/services/validate.js +0 -57
  266. package/src/lib/transforms/decrypt.js +0 -98
  267. package/src/lib/transforms/del.js +0 -58
  268. package/src/lib/transforms/encrypt.js +0 -164
  269. package/src/lib/transforms/set.js +0 -144
  270. package/src/shared/colors.js +0 -67
  271. package/src/shared/logger.js +0 -148
package/CHANGELOG.md DELETED
@@ -1,2727 +0,0 @@
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/v2.38.1...main)
6
-
7
- ## [2.38.1](https://github.com/dotenvx/dotenvx/compare/v2.38.0...v2.38.1) (2026-10-19)
8
-
9
- ### Changed
10
-
11
- * Surface Armor approval prompts to stderr ([#1030](https://github.com/dotenvx/dotenvx/pull/1030))
12
-
13
- ## [2.38.0](https://github.com/dotenvx/dotenvx/compare/v2.37.0...v2.38.0) (2026-10-16)
14
-
15
- ### Added
16
-
17
- * Add `getSync` convenience ([#1029](https://github.com/dotenvx/dotenvx/pull/1029))
18
-
19
- ### Changed
20
-
21
- * Default to file key storage in non-interactive mode ([#1028](https://github.com/dotenvx/dotenvx/pull/1028))
22
-
23
- ## [2.37.0](https://github.com/dotenvx/dotenvx/compare/v2.36.0...v2.37.0) (2026-10-15)
24
-
25
- ### Added
26
-
27
- * New: Dotenvx Armor Enclaved Keys - software enclaved on the remote provider like Vercel, GitHub Actions, and more. ([#1026](https://github.com/dotenvx/dotenvx/pull/1026))
28
-
29
- ```text
30
- ⛨ Choose key type …
31
- ⛨ Armored
32
- ❯ ◊ Enclaved
33
- ```
34
-
35
- ## [2.36.0](https://github.com/dotenvx/dotenvx/compare/v2.35.0...v2.36.0) (2026-10-14)
36
-
37
- ### Added
38
-
39
- * Add `dotenvx armor invite` command ([#1025](https://github.com/dotenvx/dotenvx/pull/1025))
40
-
41
- ## [2.35.0](https://github.com/dotenvx/dotenvx/compare/v2.34.2...v2.35.0) (2026-10-13)
42
-
43
- ### Added
44
-
45
- * Add `encrypt --with` to bring public key. Useful for Dotenvx Armor's new remote enclaved private keys. Encrypt locally but decrypt only on the remote software enclave. Private keys never leave. ([#1022](https://github.com/dotenvx/dotenvx/pull/1022))
46
-
47
- ### Changed
48
-
49
- * Use atomic file writes in `protect` ([#1019](https://github.com/dotenvx/dotenvx/pull/1019))
50
-
51
- ## [2.34.2](https://github.com/dotenvx/dotenvx/compare/v2.34.1...v2.34.2) (2026-10-09)
52
-
53
- ### Changed
54
-
55
- * Patch: fix atomic edge case of writing .env and .env.keys file ([#1014](https://github.com/dotenvx/dotenvx/pull/1014))
56
-
57
- ## [2.34.1](https://github.com/dotenvx/dotenvx/compare/v2.34.0...v2.34.1) (2026-10-08)
58
-
59
- ### Changed
60
-
61
- * Patch: don't write public key on ctrl+c or prompt failure ([#1009](https://github.com/dotenvx/dotenvx/pull/1009))
62
-
63
- ## [2.34.0](https://github.com/dotenvx/dotenvx/compare/v2.33.0...v2.34.0) (2026-10-08)
64
-
65
- ### Changed
66
-
67
- * Swap internal provider logic for @dotenvx/providers ([#1008](https://github.com/dotenvx/dotenvx/pull/1008))
68
- * BREAKING: Remove `lock` commands and support for unlocking. Passwords are too difficult to manage securely. Convenience not worth it for the agentic future we are entering. ([#1008](https://github.com/dotenvx/dotenvx/pull/1008))
69
- * Return provider information with `dotenvx keypair` command ([#1008](https://github.com/dotenvx/dotenvx/pull/1008))
70
- * Swap armor provider logic to @dotenvx/providers#armor ([#1009](https://github.com/dotenvx/dotenvx/pull/1009))
71
-
72
- ## [2.33.0](https://github.com/dotenvx/dotenvx/compare/v2.32.4...v2.33.0) (2026-10-05)
73
-
74
- ### Added
75
-
76
- * Add Envfile profiles for selecting .env file combinations with `--profile` or `DOTENV_ENV`.
77
- * Automatically redact stdout/stderr from `config()` when an Envfile is present.
78
-
79
- ### Changed
80
-
81
- * Move Envfile processing into `@dotenvx/primitives`.
82
- * First file wins when combining Envfile rules. `run` and `check` validate final values; encryption rules apply to `encrypt`, `set`, and `protect`.
83
-
84
- ## [2.32.4](https://github.com/dotenvx/dotenvx/compare/v2.32.3...v2.32.4) (2026-10-01)
85
-
86
- ### Changed
87
-
88
- * Make `Envfile` the filename. Final decision. ([#1003](https://github.com/dotenvx/dotenvx/pull/1003))
89
-
90
- ## [2.32.3](https://github.com/dotenvx/dotenvx/compare/v2.32.2...v2.32.3) (2026-09-30)
91
-
92
- ### Changed
93
-
94
- * Make `Dotenvspec` the filename ([#1002](https://github.com/dotenvx/dotenvx/pull/1002))
95
- * Improve startup time for cli ([#1001](https://github.com/dotenvx/dotenvx/pull/1001))
96
-
97
- ## [2.32.2](https://github.com/dotenvx/dotenvx/compare/v2.32.1...v2.32.2) (2026-09-29)
98
-
99
- ### Changed
100
-
101
- * Improve bundle size ([#1000](https://github.com/dotenvx/dotenvx/pull/1000))
102
-
103
- ## [2.32.1](https://github.com/dotenvx/dotenvx/compare/v2.32.0...v2.32.1) (2026-09-29)
104
-
105
- ### Changed
106
-
107
- * Simplify custody picker to 3 initial options ([#998](https://github.com/dotenvx/dotenvx/pull/998))
108
-
109
- ```text
110
- ? Choose private key custody …
111
- ❯ ⛉ Local
112
- ⛨ Dotenvx Armor
113
- ⛊ Password Managers
114
- ```
115
-
116
- ## [2.32.0](https://github.com/dotenvx/dotenvx/compare/v2.31.1...v2.32.0) (2026-09-29)
117
-
118
- ### Changed
119
-
120
- * BREAKING: `Envfile` renamed to `Envspec` file ([#996](https://github.com/dotenvx/dotenvx/pull/996))
121
- * BREAKING: `dotenvx init` removed. renamed to `dotenvx spec`. ([#996](https://github.com/dotenvx/dotenvx/pull/996))
122
-
123
- ### Added
124
-
125
- * Envspec rules now guide check, run, encrypt, and protect. ([#996](https://github.com/dotenvx/dotenvx/pull/996))
126
-
127
- ## [2.31.1](https://github.com/dotenvx/dotenvx/compare/v2.31.0...v2.31.1) (2026-09-27)
128
-
129
- ### Changed
130
-
131
- * `armor up` should read for os secret store, 1password, and bitwarden ([#992](https://github.com/dotenvx/dotenvx/pull/992))
132
-
133
- ## [2.31.0](https://github.com/dotenvx/dotenvx/compare/v2.30.0...v2.31.0) (2026-09-27)
134
-
135
- ### Added
136
-
137
- * Add `dotenvx feedback` command so you (and your coding agent) can give feedback on the cli ([#987](https://github.com/dotenvx/dotenvx/pull/987))
138
- * Add `dotenvx init` for generating your `Envfile` ([#990](https://github.com/dotenvx/dotenvx/pull/990))
139
-
140
- ### Changed
141
-
142
- * Restore ESM named imports such as `import { config } from '@dotenvx/dotenvx'`, broken in 2.30.0 by the `withEvents` export ([#989](https://github.com/dotenvx/dotenvx/issues/989)).
143
- * BREAKING: `dotenvx validate` renamed to `dotenvx check` and works off Envfile only going forward. Support for .env.example dropped. Switch to using an `Envfile`.
144
-
145
- ### Removed
146
-
147
- * BREAKING: `dotenvx define` removed. Use `dotenvx init`.
148
-
149
- ## [2.30.0](https://github.com/dotenvx/dotenvx/compare/v2.29.0...v2.30.0) (2026-09-22)
150
-
151
- ### Added
152
-
153
- * Add support for secrets references as safe from `dotenvx protect` ([#985](https://github.com/dotenvx/dotenvx/pull/985))
154
- * Add cli audit logging for Armor customers ([#983](https://github.com/dotenvx/dotenvx/pull/983))
155
-
156
- ## [2.29.0](https://github.com/dotenvx/dotenvx/compare/v2.28.2...v2.29.0) (2026-09-21)
157
-
158
- ### Added
159
-
160
- * Add `dotenvx protect` to prevent plaintext .env files from being committed to code on a machine ([#980](https://github.com/dotenvx/dotenvx/pull/980))
161
-
162
- ### Changed
163
-
164
- * Deprecate `dotenvx gitignore`. Use `dotenvx protect`.
165
- * Deprecate `dotenvx precommit`. Use `dotenvx protect`.
166
- * Deprecate `dotenvx prebuild`. Use `dotenvx protect --docker`.
167
-
168
- ## [2.28.2](https://github.com/dotenvx/dotenvx/compare/v2.28.1...v2.28.2) (2026-09-19)
169
-
170
- ### Changed
171
-
172
- * Only owner can write to and read from .env.keys file ([#979](https://github.com/dotenvx/dotenvx/pull/979))
173
-
174
- ## [2.28.1](https://github.com/dotenvx/dotenvx/compare/v2.28.0...v2.28.1) (2026-09-19)
175
-
176
- ### Changed
177
-
178
- * Send pk via stdin to keychain. was argv. thank you @kta1kri for the security report. ([#978](https://github.com/dotenvx/dotenvx/pull/978))
179
- * Move some commands under a hidden menu ([#973](https://github.com/dotenvx/dotenvx/pull/973))
180
-
181
- ## [2.28.0](https://github.com/dotenvx/dotenvx/compare/v2.27.0...v2.28.0) (2026-09-16)
182
-
183
- ### Added
184
-
185
- * Choose where you custody your keys ([#972](https://github.com/dotenvx/dotenvx/pull/972))
186
-
187
- ```text
188
- Your private key
189
- ├── ⛉ Local Custody
190
- │ ├── OS (macOS Keychain / Windows Credential Manager / Linux Secret Service)
191
- │ ├── 1Password
192
- │ ├── Bitwarden
193
- │ └── File (.env.keys)
194
- └── ⛊ Managed Custody
195
- └── ⛨ Armor
196
- ```
197
-
198
- ## [2.27.0](https://github.com/dotenvx/dotenvx/compare/v2.26.1...v2.27.0) (2026-09-16)
199
-
200
- ### Removed
201
-
202
- * BREAKING: Removed `run --validate` flag and `validate` command against .env.example file. To be replaced soon with a modern validation scheme.
203
-
204
- ## [2.26.1](https://github.com/dotenvx/dotenvx/compare/v2.26.0...v2.26.1) (2026-09-15)
205
-
206
- ### Changed
207
-
208
- * Add `dotenvx 1password up|down|push|pull` and `dotenvx bitwarden up|down|push|pull` ([#969](https://github.com/dotenvx/dotenvx/pull/969))
209
-
210
- ## [2.26.0](https://github.com/dotenvx/dotenvx/compare/v2.25.0...v2.26.0) (2026-09-15)
211
-
212
- ### Added
213
-
214
- * Add support for storing private key to bitwarden or 1password ([#968](https://github.com/dotenvx/dotenvx/pull/968))
215
-
216
- ## [2.25.0](https://github.com/dotenvx/dotenvx/compare/v2.24.1...v2.25.0) (2026-09-14)
217
-
218
- ### Changed
219
-
220
- * Store private key to os secret store rather than `.env.keys` by default ([#967](https://github.com/dotenvx/dotenvx/pull/967))
221
-
222
- ## [2.24.1](https://github.com/dotenvx/dotenvx/compare/v2.24.0...v2.24.1) (2026-09-11)
223
-
224
- ### Changed
225
-
226
- * Upgraded to latest [@dotenvx/primitives](https://www.npmjs.com/package/@dotenvx/primitives)
227
-
228
- ## [2.24.0](https://github.com/dotenvx/dotenvx/compare/v2.23.0...v2.24.0) (2026-09-10)
229
-
230
- ### Changed
231
-
232
- * Do not expand nested commands ([#965](https://github.com/dotenvx/dotenvx/pull/965))
233
-
234
- ### Removed
235
-
236
- * BREAKING: Remove the `-p` shorthand for `--plain`; use `--plain` instead
237
-
238
- ## [2.23.0](https://github.com/dotenvx/dotenvx/compare/v2.22.0...v2.23.0) (2026-08-31)
239
-
240
- ### Added
241
-
242
- * Support comma-separated env file paths with `-f` and the `config({ path })` option. Example: `dotenvx run -f .env.local,.env -- node index.js`
243
- * Add `DOTENV_PATH` (or `DOTENV_F`) to support the same. Example: `DOTENV_PATH=.env.local,.env`
244
-
245
- ### Changed
246
-
247
- * Rename `DOTENV_CONFIG_*` variables to `DOTENV_CONVENTION`, `DOTENV_IGNORE`, and `DOTENV_QUIET`, while retaining their existing `DOTENV_CONFIG_*` names as fallbacks
248
-
249
- ## [2.22.0](https://github.com/dotenvx/dotenvx/compare/v2.21.0...v2.22.0) (2026-08-27)
250
-
251
- ### Added
252
-
253
- * Install verified binaries directly from GitHub Releases ([#956](https://github.com/dotenvx/dotenvx/pull/956))
254
-
255
- ### Changed
256
-
257
- * Fall back to `~/.local/bin` when `/usr/local/bin` is not writable ([#955](https://github.com/dotenvx/dotenvx/pull/955))
258
-
259
- ## [2.21.0](https://github.com/dotenvx/dotenvx/compare/v2.20.1...v2.21.0) (2026-08-10)
260
-
261
- ### Added
262
-
263
- * Add `dotenvx enc` and `dotenvx dec` shorthands for encrypt and decrypt ([#943](https://github.com/dotenvx/dotenvx/pull/943))
264
- * Add convenient `dx` alias for shorter `dx run --`, `dx enc`, etc ([#944](https://github.com/dotenvx/dotenvx/pull/944))
265
-
266
- ### Changed
267
-
268
- * Patch typescript types for `path` ([#942](https://github.com/dotenvx/dotenvx/pull/942))
269
-
270
- ## [2.20.1](https://github.com/dotenvx/dotenvx/compare/v2.20.0...v2.20.1) (2026-08-07)
271
-
272
- ### Changed
273
-
274
- * Handle accent marks for `ext precommit` ([#936](https://github.com/dotenvx/dotenvx/pull/936))
275
-
276
- ## [2.20.0](https://github.com/dotenvx/dotenvx/compare/v2.19.1...v2.20.0) (2026-08-07)
277
-
278
- ### Added
279
-
280
- * Add `dotenvx del` command for deleting a key from a .env file ([#939](https://github.com/dotenvx/dotenvx/pull/939))
281
-
282
- ### Changed
283
-
284
- * Exempt `.env.vault` from `precommit`/`prebuild` sealed checks (vault-format ciphertext is already safe to commit)
285
-
286
- ## [2.19.1](https://github.com/dotenvx/dotenvx/compare/v2.19.0...v2.19.1) (2026-07-29)
287
-
288
- ### Changed
289
-
290
- * User can click enter to open up approval url for convenience ([#934](https://github.com/dotenvx/dotenvx/pull/934))
291
-
292
- ## [2.19.0](https://github.com/dotenvx/dotenvx/compare/v2.18.1...v2.19.0) (2026-07-27)
293
-
294
- ### Added
295
-
296
- * Add `dotenvx armor open` to open armored key details in browser ([#930](https://github.com/dotenvx/dotenvx/pull/930))
297
-
298
- ## [2.18.1](https://github.com/dotenvx/dotenvx/compare/v2.18.0...v2.18.1) (2026-07-26)
299
-
300
- * Patch injected message when preset `encrypted:` value ([#927](https://github.com/dotenvx/dotenvx/issues/927))
301
-
302
- ## [2.18.0](https://github.com/dotenvx/dotenvx/compare/v2.17.4...v2.18.0) (2026-07-25)
303
-
304
- ### Added
305
-
306
- * Make authenticated API calls to the Dotenvx Armor API with `dotenvx curl`. Allows you to control your Dotenvx Armor account directly from your agent inside Codex, Claude, etc. ([#923](https://github.com/dotenvx/dotenvx/pull/923))
307
-
308
- ## [2.17.4](https://github.com/dotenvx/dotenvx/compare/v2.17.3...v2.17.4) (2026-07-24)
309
-
310
- ### Changed
311
-
312
- * Send device identifier along with curl requests ([#922](https://github.com/dotenvx/dotenvx/pull/922))
313
-
314
- ## [2.17.3](https://github.com/dotenvx/dotenvx/compare/v2.17.2...v2.17.3) (2026-07-23)
315
-
316
- ### Changed
317
-
318
- * Exempt `.env.example` in subdirectories from precommit ([#920](https://github.com/dotenvx/dotenvx/pull/920))
319
-
320
- ## [2.17.2](https://github.com/dotenvx/dotenvx/compare/v2.17.1...v2.17.2) (2026-07-22)
321
-
322
- ### Added
323
-
324
- * Add support for `DOTENV_CONFIG_IGNORE` global convenience ([#919](https://github.com/dotenvx/dotenvx/pull/919))
325
-
326
- ## [2.17.1](https://github.com/dotenvx/dotenvx/compare/v2.17.0...v2.17.1) (2026-07-21)
327
-
328
- ### Changed
329
-
330
- * Handle `ctrl + c` better ([#916](https://github.com/dotenvx/dotenvx/pull/916))
331
-
332
- ## [2.17.0](https://github.com/dotenvx/dotenvx/compare/v2.16.1...v2.17.0) (2026-07-21)
333
-
334
- ### Added
335
-
336
- * Add support for Bitwarden `bw://` secrets in your .env files. ([#915](https://github.com/dotenvx/dotenvx/pull/915))
337
-
338
- ## [2.16.1](https://github.com/dotenvx/dotenvx/compare/v2.16.0...v2.16.1) (2026-07-21)
339
-
340
- ### Changed
341
-
342
- * Fix: Do not report child error - let child do so. ([#914](https://github.com/dotenvx/dotenvx/pull/914))
343
-
344
- ## [2.16.0](https://github.com/dotenvx/dotenvx/compare/v2.15.1...v2.16.0) (2026-07-21)
345
-
346
- ### Added
347
-
348
- * Add support for `-ek` and `-ik` to `dotenvx get` ([#913](https://github.com/dotenvx/dotenvx/pull/913))
349
-
350
- ## [2.15.1](https://github.com/dotenvx/dotenvx/compare/v2.15.0...v2.15.1) (2026-07-20)
351
-
352
- ### Changed
353
-
354
- * Better communicate time waiting on 1password with elapsed time ([#909](https://github.com/dotenvx/dotenvx/pull/909))
355
-
356
- ## [2.15.0](https://github.com/dotenvx/dotenvx/compare/v2.14.0...v2.15.0) (2026-07-20)
357
-
358
- ### Added
359
-
360
- * Add support for 1Password `op://` secrets in your .env files. ([#908](https://github.com/dotenvx/dotenvx/pull/908))
361
-
362
- ## [2.14.0](https://github.com/dotenvx/dotenvx/compare/v2.13.0...v2.14.0) (2026-07-16)
363
-
364
- ### Added
365
-
366
- * Add `dotenvx run --validate` for simple env validation against your `.env.example` ([#906](https://github.com/dotenvx/dotenvx/pull/906))
367
- * Add `dotenvx validate` for a pre-check of validation against your `.env.example` file ([#906](https://github.com/dotenvx/dotenvx/pull/906))
368
-
369
- ## [2.13.0](https://github.com/dotenvx/dotenvx/compare/v2.12.0...v2.13.0) (2026-07-16)
370
-
371
- ### Added
372
-
373
- * Add `get --eval-export` flag ([#904](https://github.com/dotenvx/dotenvx/pull/904))
374
-
375
- ### Changed
376
-
377
- * Make `get --eval` posix safe ([#904](https://github.com/dotenvx/dotenvx/pull/904))
378
-
379
- ## [2.12.0](https://github.com/dotenvx/dotenvx/compare/v2.11.3...v2.12.0) (2026-07-16)
380
-
381
- ### Changed
382
-
383
- * Small Breaking: Single quoted `'Let\'s go'` now correctly escapes to `Let's go` ([#903](https://github.com/dotenvx/dotenvx/pull/903))
384
-
385
- ## [2.11.3](https://github.com/dotenvx/dotenvx/compare/v2.11.2...v2.11.3) (2026-07-16)
386
-
387
- ### Changed
388
-
389
- * Improve command substitution for nested commands ([#902](https://github.com/dotenvx/dotenvx/pull/902))
390
-
391
- ## [2.11.2](https://github.com/dotenvx/dotenvx/compare/v2.11.1...v2.11.2) (2026-07-16)
392
-
393
- ### Changed
394
-
395
- * Bump @dotenvx/primtivies to support nested node invocations for pkg-ed binary ([#901](https://github.com/dotenvx/dotenvx/pull/901))
396
-
397
- ## [2.11.1](https://github.com/dotenvx/dotenvx/compare/v2.11.0...v2.11.1) (2026-07-15)
398
-
399
- ### Changed
400
-
401
- * Redact all keys by default - except those ending in `_PLAIN` ([460862](https://github.com/dotenvx/dotenvx/commit/4608625845367d9205aa668826bf46ed0e5bb740))
402
- * Support `dotenvx run -- claude` and `dotenvx run -- codex` ([#900](https://github.com/dotenvx/dotenvx/pull/900))
403
- * Simplify default encrypted .env file to just `HELLO="World"` ([#899](https://github.com/dotenvx/dotenvx/pull/899))
404
-
405
- ## [2.11.0](https://github.com/dotenvx/dotenvx/compare/v2.10.0...v2.11.0) (2026-07-15)
406
-
407
- ### Added
408
-
409
- * Add convenience method `dotenvx update` ([#897](https://github.com/dotenvx/dotenvx/pull/897))
410
-
411
- ### Changed
412
-
413
- * BREAKING: Send informational messages like `injected env` to stderr instead of stdout. This makes it more reliable to do things like piping output to a file without needing `--quiet`. ([#898](https://github.com/dotenvx/dotenvx/pull/898))
414
-
415
- ## [2.10.0](https://github.com/dotenvx/dotenvx/compare/v2.9.0...v2.10.0) (2026-07-15)
416
-
417
- ### Added
418
-
419
- * Add `run --redact` to keep secrets out of command output. ([#894](https://github.com/dotenvx/dotenvx/pull/894))
420
-
421
- ## [2.9.0](https://github.com/dotenvx/dotenvx/compare/v2.8.0...v2.9.0) (2026-07-14)
422
-
423
- ### Changed
424
-
425
- * BREAKING: `ls` from `@dotenvx/dotenvx` is now async/await. ([#893](https://github.com/dotenvx/dotenvx/pull/893))
426
-
427
- ## [2.8.0](https://github.com/dotenvx/dotenvx/compare/v2.7.3...v2.8.0) (2026-07-14)
428
-
429
- ### Added
430
-
431
- * Add `FILE_NOT_WRITABLE` error for user convenience ([#891](https://github.com/dotenvx/dotenvx/pull/891))
432
- * Support Enclaved Armored Keys ([#892](https://github.com/dotenvx/dotenvx/pull/892))
433
-
434
- ## [2.7.3](https://github.com/dotenvx/dotenvx/compare/v2.7.2...v2.7.3) (2026-07-13)
435
-
436
- ### Changed
437
-
438
- * Fix: `--quiet` should not display the spinner and its stderr messages ([#889](https://github.com/dotenvx/dotenvx/pull/889))
439
-
440
- ## [2.7.2](https://github.com/dotenvx/dotenvx/compare/v2.7.1...v2.7.2) (2026-07-13)
441
-
442
- ### Added
443
-
444
- * Include `dotenvx armor status` command.
445
-
446
- ## [2.7.1](https://github.com/dotenvx/dotenvx/compare/v2.7.0...v2.7.1) (2026-07-13)
447
-
448
- ### Changed
449
-
450
- * Security Improvement: `dotenvx armor login` attempts to set the `DOTENVX_ARMOR_TOKEN` in your native OS secret store going forward. For current Armor users run `dotenvx armor logout` and then `dotenvx armor login` to make use of this immediately. ([#886](https://github.com/dotenvx/dotenvx/pull/886))
451
-
452
- ## [2.7.0](https://github.com/dotenvx/dotenvx/compare/v2.6.0...v2.7.0) (2026-07-13)
453
-
454
- ### Added
455
-
456
- * Added support for `--mask` on `get, run, decrypt` ([#885](https://github.com/dotenvx/dotenvx/pull/885))
457
-
458
- ## [2.6.0](https://github.com/dotenvx/dotenvx/compare/v2.5.0...v2.6.0) (2026-07-11)
459
-
460
- ### Added
461
-
462
- * Support `native up|down|pull|push` for windows ([#884](https://github.com/dotenvx/dotenvx/pull/884))
463
-
464
- ## [2.5.0](https://github.com/dotenvx/dotenvx/compare/v2.4.2...v2.5.0) (2026-07-11)
465
-
466
- ### Added
467
-
468
- * Support `native up|down|pull|push` for windows ([#883](https://github.com/dotenvx/dotenvx/pull/883))
469
-
470
- ## [2.4.1](https://github.com/dotenvx/dotenvx/compare/v2.4.0...v2.4.1) (2026-07-10)
471
-
472
- ### Added
473
-
474
- * Support `config(path:)` as a directory like `app/web`. Useful for monorepos ([#882](https://github.com/dotenvx/dotenvx/pull/882))
475
-
476
- ## [2.4.0](https://github.com/dotenvx/dotenvx/compare/v2.3.4...v2.4.0) (2026-07-10)
477
-
478
- ### Added
479
-
480
- * Support multiple `-fk` flags for select commands ([#880](https://github.com/dotenvx/dotenvx/pull/880))
481
- * Support `-f ../..` directories ([#881](https://github.com/dotenvx/dotenvx/pull/881))
482
-
483
- ## [2.3.4](https://github.com/dotenvx/dotenvx/compare/v2.3.3...v2.3.4) (2026-07-09)
484
-
485
- ### Removed
486
-
487
- * Replace various deps with `@dotenvx/tooling` ([#879](https://github.com/dotenvx/dotenvx/pull/879))
488
-
489
- ## [2.3.3](https://github.com/dotenvx/dotenvx/compare/v2.3.2...v2.3.3) (2026-07-09)
490
-
491
- ### Removed
492
-
493
- * Remove `dotenv` and `commander` for `@dotenvx/tooling` ([#878](https://github.com/dotenvx/dotenvx/pull/878))
494
-
495
- ## [2.3.2](https://github.com/dotenvx/dotenvx/compare/v2.3.1...v2.3.2) (2026-07-09)
496
-
497
- ### Changed
498
-
499
- * Permit empty value for `set` ([#877](https://github.com/dotenvx/dotenvx/pull/877))
500
-
501
- ## [2.3.1](https://github.com/dotenvx/dotenvx/compare/v2.3.0...v2.3.1) (2026-07-08)
502
-
503
- ### Changed
504
-
505
- * Fix correct default valuation interpolation for empty strings by upgrading primitives package
506
-
507
- ## [2.3.0](https://github.com/dotenvx/dotenvx/compare/v2.2.2...v2.3.0) (2026-07-08)
508
-
509
- ### Added
510
-
511
- * Add `lock up` and `lock down` commands for password protecting private keys ([#875](https://github.com/dotenvx/dotenvx/pull/875))
512
-
513
- ### Changed
514
-
515
- * BREAKING: Rename `keychain` commands to `native` to make way for windows and linux. ([#875](https://github.com/dotenvx/dotenvx/pull/875))
516
-
517
- ### Removed
518
-
519
- * BREAKING: Remove `--no-ops`. Use `--no-armor`. ([#875](https://github.com/dotenvx/dotenvx/pull/875))
520
-
521
- ## [2.2.2](https://github.com/dotenvx/dotenvx/compare/v2.2.1...v2.2.2) (2026-07-08)
522
-
523
- ### Changed
524
-
525
- * Move `login` and `logout` under armor ([#874](https://github.com/dotenvx/dotenvx/pull/874))
526
-
527
- ## [2.2.1](https://github.com/dotenvx/dotenvx/compare/v2.2.0...v2.2.1) (2026-07-08)
528
-
529
- ### Changed
530
-
531
- * Move `genexample` to top level commands ([#873](https://github.com/dotenvx/dotenvx/pull/873))
532
-
533
- ## [2.2.0](https://github.com/dotenvx/dotenvx/compare/v2.1.5...v2.2.0) (2026-07-07)
534
-
535
- ### Added
536
-
537
- * Use `dotenvx keychain up|down` to move your private keys to your macOS Keychain ([#872](https://github.com/dotenvx/dotenvx/pull/872))
538
-
539
- ## [2.1.5](https://github.com/dotenvx/dotenvx/compare/v2.1.4...v2.1.5) (2026-07-06)
540
-
541
- ### Changed
542
-
543
- * `precommit` and `prebuild` respect `_PLAIN` ([#871](https://github.com/dotenvx/dotenvx/pull/871))
544
-
545
- ## [2.1.4](https://github.com/dotenvx/dotenvx/compare/v2.1.3...v2.1.4) (2026-07-02)
546
-
547
- ### Added
548
-
549
- * Add support for `DOTENV_CONFIG_CONVENTION=nextjs` ([#869](https://github.com/dotenvx/dotenvx/pull/869))
550
-
551
- ## [2.1.3](https://github.com/dotenvx/dotenvx/compare/v2.1.2...v2.1.3) (2026-07-02)
552
-
553
- ### Changed
554
-
555
- * Patch edge case when custom unspecified `-f` and `--env` flag ([#868](https://github.com/dotenvx/dotenvx/pull/868))
556
-
557
- ## [2.1.2](https://github.com/dotenvx/dotenvx/compare/v2.1.1...v2.1.2) (2026-07-02)
558
-
559
- ### Changed
560
-
561
- * Support restricted read permissions to `.env.keys` ([#676](https://github.com/dotenvx/dotenvx/issues/676), [#867](https://github.com/dotenvx/dotenvx/pull/867))
562
-
563
- ## [2.1.1](https://github.com/dotenvx/dotenvx/compare/v2.1.0...v2.1.1) (2026-07-02)
564
-
565
- ### Changed
566
-
567
- * Support `DOTENV_CONFIG_QUIET=true` as synonym for `--quiet` flag ([#866](https://github.com/dotenvx/dotenvx/pull/866))
568
-
569
- ## [2.1.0](https://github.com/dotenvx/dotenvx/compare/v2.0.0...v2.1.0) (2026-07-02)
570
-
571
- ### Added
572
-
573
- * Add interactive input mode for `set` ([#862](https://github.com/dotenvx/dotenvx/pull/862))
574
- * Support leaving `_PLAIN` suffixed keys unencrypted during `set` and `encrypt` ([#862](https://github.com/dotenvx/dotenvx/pull/862))
575
-
576
- ### Changed
577
-
578
- * Return exit code 1 from `get` when decryption errors are reported ([#862](https://github.com/dotenvx/dotenvx/pull/862))
579
-
580
- ### Fixed
581
-
582
- * Add Windows PowerShell coverage for npm shim encryption of `.env.local` files
583
-
584
- ## [2.0.0](https://github.com/dotenvx/dotenvx/compare/v1.76.0...v2.0.0) (2026-06-30)
585
-
586
- ### Changed
587
-
588
- * BREAKING: lib/main#`set` async only ([#855](https://github.com/dotenvx/dotenvx/pull/855))
589
- * BREAKING: lib/main#`get` async only ([#855](https://github.com/dotenvx/dotenvx/pull/855))
590
- * New keyring support - for local and armor providers and to unlock future providers ([#855](https://github.com/dotenvx/dotenvx/pull/855))
591
- * Route `run`, `config`, and `get` through shared env and keypair resolvers backed by `@dotenvx/primitives` ([#855](https://github.com/dotenvx/dotenvx/pull/855))
592
- * Route `set`, `encrypt`, and `decrypt` through shared transforms that operate on primitive scan, parse, encrypt, and upsert results ([#855](https://github.com/dotenvx/dotenvx/pull/855))
593
- * Update library `parse` to use primitive parsing while preserving dotenvx-style encrypted value errors ([#855](https://github.com/dotenvx/dotenvx/pull/855))
594
-
595
- ### Removed
596
-
597
- * BREAKING: Remove the `rotate` command (it will return in 2.1 or 2.2 soon with a more complete implementation for local and armored keys) ([#855](https://github.com/dotenvx/dotenvx/pull/855))
598
- * BREAKING: Remove the library `doctor`, `keypair`, and `genexample` exports from `lib/main` ([#855](https://github.com/dotenvx/dotenvx/pull/855))
599
-
600
- ## [1.76.0](https://github.com/dotenvx/dotenvx/compare/v1.75.1...v1.76.0) (2026-06-24)
601
-
602
- ### Changed
603
-
604
- * Support dotenvx across powershell ([#856](https://github.com/dotenvx/dotenvx/pull/856))
605
- * BREAKING: Remove variadic `-f`. You can still do `dotenvx run -f .env1 -f .env2` but ambiguos variadic like `dotenvx run -f .env1 .env2 ...` is removed ([#856](https://github.com/dotenvx/dotenvx/pull/856))
606
-
607
- ## [1.75.1](https://github.com/dotenvx/dotenvx/compare/v1.75.0...v1.75.1) (2026-06-20)
608
-
609
- ### Changed
610
-
611
- * Publish as named binaries ([#851](https://github.com/dotenvx/dotenvx/pull/851))
612
-
613
- ### Removed
614
-
615
- * Remove references to `dotenvx-vlt` (now dotenvx-armor) ([#849](https://github.com/dotenvx/dotenvx/pull/849))
616
-
617
- ## [1.75.0](https://github.com/dotenvx/dotenvx/compare/v1.74.4...v1.75.0) (2026-06-19)
618
-
619
- ### Changed
620
-
621
- * Swap in `@dotenvx/primitives` ([#848](https://github.com/dotenvx/dotenvx/pull/848))
622
- * `ext` commands become first-class([#847](https://github.com/dotenvx/dotenvx/pull/847))
623
-
624
- ## [1.74.4](https://github.com/dotenvx/dotenvx/compare/v1.74.3...v1.74.4) (2026-06-19)
625
-
626
- ### Removed
627
-
628
- * Remove separately published `@dotenvx/next-env` from this repo ([#846](https://github.com/dotenvx/dotenvx/pull/846))
629
-
630
- ## [1.74.3](https://github.com/dotenvx/dotenvx/compare/v1.74.2...v1.74.3) (2026-06-19)
631
-
632
- ### Changed
633
-
634
- * Bundle dotenvx with `@dotenvx/next-env` for user convenience ([#845](https://github.com/dotenvx/dotenvx/pull/845))
635
-
636
- ## [1.74.2](https://github.com/dotenvx/dotenvx/compare/v1.74.1...v1.74.2) (2026-06-18)
637
-
638
- ### Changed
639
-
640
- * Fix provenance for `@dotenvx/next-env` ([#844](https://github.com/dotenvx/dotenvx/pull/844))
641
-
642
- ## [1.74.1](https://github.com/dotenvx/dotenvx/compare/v1.74.0...v1.74.1) (2026-06-18)
643
-
644
- ### Added
645
-
646
- * Add README for `@dotenvx/next-env` ([#843](https://github.com/dotenvx/dotenvx/pull/843))
647
-
648
- ## [1.74.0](https://github.com/dotenvx/dotenvx/compare/v1.73.1...v1.74.0) (2026-06-18)
649
-
650
- ### Added
651
-
652
- * Additionally publish [`@dotenvx/next-env`](https://www.npmjs.com/package/@dotenvx/next-env) override ([#841](https://github.com/dotenvx/dotenvx/pull/841))
653
-
654
- ## [1.73.1](https://github.com/dotenvx/dotenvx/compare/v1.73.0...v1.73.1) (2026-06-16)
655
-
656
- ### Changed
657
-
658
- * Give update available notification only for armor commands ([#840](https://github.com/dotenvx/dotenvx/pull/840))
659
-
660
- ## [1.73.0](https://github.com/dotenvx/dotenvx/compare/v1.72.0...v1.73.0) (2026-06-16)
661
-
662
- ### Added
663
-
664
- * Add `dotenvx armor` commands directly inside dotenvx ([#839](https://github.com/dotenvx/dotenvx/pull/839))
665
-
666
- > `dotenvx` remains local-first: `armor` commands are optional under professional security section
667
-
668
- ## [1.72.0](https://github.com/dotenvx/dotenvx/compare/v1.71.3...v1.72.0) (2026-06-15)
669
-
670
- ### Added
671
-
672
- * Move `armor login` command to first class `dotenvx login` command. ([#836](https://github.com/dotenvx/dotenvx/pull/836))
673
- * `dotenvx` remains local-first: login is optional and only needed when you want Armor features like moving keys off-device, team sharing, and audit access.
674
- * Patch 2 high severity dependencies ([#837](https://github.com/dotenvx/dotenvx/pull/837))
675
-
676
- ## [1.71.3](https://github.com/dotenvx/dotenvx/compare/v1.71.2...v1.71.3) (2026-06-11)
677
-
678
- ### Changed
679
-
680
- * Forward command to Dotenvx Armor Key Guard approvals ([#835](https://github.com/dotenvx/dotenvx/pull/835))
681
-
682
- ## [1.71.2](https://github.com/dotenvx/dotenvx/compare/v1.71.1...v1.71.2) (2026-06-08)
683
-
684
- ### Changed
685
-
686
- * touch up `get`, `set`, and `decrypt` when armor installed ([#834](https://github.com/dotenvx/dotenvx/pull/834))
687
-
688
- ## [1.71.1](https://github.com/dotenvx/dotenvx/compare/v1.71.0...v1.71.1) (2026-06-08)
689
-
690
- ### Changed
691
-
692
- * stderr changed to `inherit` for dotenvx-armor integration ([#833](https://github.com/dotenvx/dotenvx/pull/833))
693
-
694
- ## [1.71.0](https://github.com/dotenvx/dotenvx/compare/v1.70.0...v1.71.0) (2026-06-01)
695
-
696
- ### Added
697
-
698
- * Add optional automation `--token` support for Armor ⛨ users ([#831](https://github.com/dotenvx/dotenvx/pull/831))
699
-
700
- ## [1.70.0](https://github.com/dotenvx/dotenvx/compare/v1.69.2...v1.70.0) (2026-05-31)
701
-
702
- ### Changed
703
-
704
- * Dotenvx Ops/Vlt is now Dotenvx Armor ⛨ ([#830](https://github.com/dotenvx/dotenvx/pull/830))
705
-
706
- ## [1.69.2](https://github.com/dotenvx/dotenvx/compare/v1.69.1...v1.69.2) (2026-05-29)
707
-
708
- ### Changed
709
-
710
- * Minor messaging improvements, especially if using armored keys ([#825](https://github.com/dotenvx/dotenvx/pull/825))
711
-
712
- ## [1.69.1](https://github.com/dotenvx/dotenvx/compare/v1.69.0...v1.69.1) (2026-05-25)
713
-
714
- ### Changed
715
-
716
- * Internally rename `ops` to `vlt` ([#823](https://github.com/dotenvx/dotenvx/pull/823))
717
-
718
- ## [1.69.0](https://github.com/dotenvx/dotenvx/compare/v1.68.1...v1.69.0) (2026-05-25)
719
-
720
- ### Changed
721
-
722
- * Remove fully-deprecated `opsOff` option in favor of `noOps` ([#822](https://github.com/dotenvx/dotenvx/pull/822))
723
-
724
- ## [1.68.1](https://github.com/dotenvx/dotenvx/compare/v1.68.0...v1.68.1) (2026-05-24)
725
-
726
- ### Changed
727
-
728
- * Pass `-f` to ops ([#821](https://github.com/dotenvx/dotenvx/pull/821))
729
-
730
- ## [1.68.0](https://github.com/dotenvx/dotenvx/compare/v1.67.0...v1.68.0) (2026-05-24)
731
-
732
- ### Changed
733
-
734
- * Support `ignore` option on `parse` ([#820](https://github.com/dotenvx/dotenvx/pull/820))
735
-
736
- ## [1.67.0](https://github.com/dotenvx/dotenvx/compare/v1.66.0...v1.67.0) (2026-05-21)
737
-
738
- ### Added
739
-
740
- * Add prompt for local storage vs armored storage ([#819](https://github.com/dotenvx/dotenvx/pull/819))
741
-
742
- ## [1.66.0](https://github.com/dotenvx/dotenvx/compare/v1.65.3...v1.66.0) (2026-05-13)
743
-
744
- ### Added
745
-
746
- * Add `dotenvx doctor` ([#815](https://github.com/dotenvx/dotenvx/pull/815))
747
-
748
- ## [1.65.3](https://github.com/dotenvx/dotenvx/compare/v1.65.2...v1.65.3) (2026-05-13)
749
-
750
- ### Changed
751
-
752
- * Improve spinner message blinking with simpler `--no-spinner` flag passed to ops ([#814](https://github.com/dotenvx/dotenvx/pull/814))
753
-
754
- ## [1.65.2](https://github.com/dotenvx/dotenvx/compare/v1.65.1...v1.65.2) (2026-05-13)
755
-
756
- ### Changed
757
-
758
- * Improve spinner message coordination between `dotenvx` and `dotenvx-ops` ([#813](https://github.com/dotenvx/dotenvx/pull/813))
759
-
760
- ## [1.65.1](https://github.com/dotenvx/dotenvx/compare/v1.65.0...v1.65.1) (2026-05-13)
761
-
762
- ### Changed
763
-
764
- * Prompts from `ops` should bubble up ([#812](https://github.com/dotenvx/dotenvx/pull/812))
765
-
766
- ## [1.65.0](https://github.com/dotenvx/dotenvx/compare/v1.64.0...v1.65.0) (2026-05-05)
767
-
768
- ### Added
769
-
770
- * Add support for `replace`ing duplicate keys with different values ([#806](https://github.com/dotenvx/dotenvx/pull/806))
771
-
772
- ## [1.64.0](https://github.com/dotenvx/dotenvx/compare/v1.63.0...v1.64.0) (2026-04-27)
773
-
774
- ### Added
775
-
776
- * Add optional `dotenvx armor` command.
777
- * `armor up` armor private key
778
- * `armor down` dearmor private key
779
- * `armor push` push armored key (from .env.keys)
780
- * `armor pull` pull armored key (into .env.keys)
781
-
782
- Move private keys off device and under access control with Dotenvx Ops ⛨. [Learn more](https://dotenvx.com/ops)
783
-
784
- ## [1.63.0](https://github.com/dotenvx/dotenvx/compare/v1.62.0...v1.63.0) (2026-04-24)
785
-
786
- ### Added
787
-
788
- * Add support for encrypted values passed to `--env` flag ([#804](https://github.com/dotenvx/dotenvx/pull/804))
789
- * Add support for `--format=colon` in order to support cloudflare's wrangler `--var` flag format ([#804](https://github.com/dotenvx/dotenvx/pull/804))
790
-
791
- ## [1.62.0](https://github.com/dotenvx/dotenvx/compare/v1.61.6...v1.62.0) (2026-04-23)
792
-
793
- ### Added
794
-
795
- * Add support for `config({ envs })`. unlocks simpler cloudflare worker integration ([#803](https://github.com/dotenvx/dotenvx/pull/803))
796
-
797
- ```sh
798
- $ dotenvx encrypt -f .env.txt
799
- ```
800
- ```js
801
- // src/index.js
802
- import envSrc from '../.env.txt'
803
- import dotenvx from '@dotenvx/dotenvx'
804
-
805
- const config = dotenvx.config({ envs: [{ type: 'env', value: envSrc, privateKeyName: 'DOTENV_PRIVATE_KEY' }] })
806
- const envx = config.parsed
807
-
808
- export default {
809
- async fetch(request, env, ctx) {
810
- return new Response(`Hello ${envx.HELLO}`)
811
- }
812
- }
813
- ```
814
- ```json
815
- "scripts": {
816
- "deploy": "wrangler deploy",
817
- "dev": "wrangler dev --var $(dotenvx keypair -f .env.txt --format=colon)",
818
- "start": "wrangler dev --var $(dotenvx keypair -f .env.txt --format=colon)",
819
- "test": "vitest"
820
- },
821
- ```
822
-
823
- ## [1.61.6](https://github.com/dotenvx/dotenvx/compare/v1.61.5...v1.61.6) (2026-04-23)
824
-
825
- ### Changed
826
-
827
- * Guard against command substitution following `encrypted:` ([#802](https://github.com/dotenvx/dotenvx/pull/802))
828
-
829
- ## [1.61.5](https://github.com/dotenvx/dotenvx/compare/v1.61.4...v1.61.5) (2026-04-22)
830
-
831
- ### Changed
832
-
833
- * Support `--hostname` flag to `dotenvx-ops.login` ([#801](https://github.com/dotenvx/dotenvx/pull/801))
834
-
835
- ## [1.61.4](https://github.com/dotenvx/dotenvx/compare/v1.61.3...v1.61.4) (2026-04-21)
836
-
837
- ### Changed
838
-
839
- * Respect SIGINT handler completion ([#798](https://github.com/dotenvx/dotenvx/pull/798))
840
-
841
- ## [1.61.3](https://github.com/dotenvx/dotenvx/compare/v1.61.2...v1.61.3) (2026-04-21)
842
-
843
- ### Changed
844
-
845
- * Tighten up `ext precommit --install` message ([#797](https://github.com/dotenvx/dotenvx/pull/797))
846
-
847
- ## [1.61.2](https://github.com/dotenvx/dotenvx/compare/v1.61.1...v1.61.2) (2026-04-21)
848
-
849
- ### Changed
850
-
851
- * For Ops ⛨ users surface stderr ([#796](https://github.com/dotenvx/dotenvx/pull/796))
852
-
853
- ## [1.61.1](https://github.com/dotenvx/dotenvx/compare/v1.61.0...v1.61.1) (2026-04-17)
854
-
855
- ### Changed
856
-
857
- * Faster coldstarts! ([#781](https://github.com/dotenvx/dotenvx/pull/781))
858
- * Patch `dotenvx precommit|prebuild` shorthand ([#793](https://github.com/dotenvx/dotenvx/pull/793))
859
-
860
- ## [1.61.0](https://github.com/dotenvx/dotenvx/compare/v1.60.2...v1.61.0) (2026-04-08)
861
-
862
- ### Added
863
-
864
- * Add `login` and `logout` method that proxy to `dotenvx-ops login/logout` ([#780](https://github.com/dotenvx/dotenvx/pull/780))
865
- * Note: dotenvx continues to make zero outgoing HTTP requests and includes no telemetry. Outgoing requests occur only if you explicitly install the [dotenvx-ops](https://dotenvx.com/ops) SDK or CLI.
866
-
867
- ## [1.60.2](https://github.com/dotenvx/dotenvx/compare/v1.60.1...v1.60.2) (2026-04-07)
868
-
869
- ### Changed
870
-
871
- * Communicate `local key` and `armored key` (for Ops stored keys) ([#778](https://github.com/dotenvx/dotenvx/pull/778))
872
-
873
- ## [1.60.1](https://github.com/dotenvx/dotenvx/compare/v1.60.0...v1.60.1) (2026-04-06)
874
-
875
- ### Added
876
-
877
- * Added missing `+ key ⛨` for Ops stored keys ([#777](https://github.com/dotenvx/dotenvx/pull/777))
878
-
879
- ## [1.60.0](https://github.com/dotenvx/dotenvx/compare/v1.59.1...v1.60.0) (2026-04-04)
880
-
881
- ### Added
882
-
883
- * Add spinner with loading messages
884
- * `injecting` (`run`)
885
- * `encrypting` (`encrypt`, `set`)
886
- * `decrypting` (`decrypt`, `get`)
887
- * `rotating` (`rotate`)
888
- * `retrieving` (`keypair`)
889
-
890
- ## [1.59.1](https://github.com/dotenvx/dotenvx/compare/v1.59.0...v1.59.1) (2026-03-28)
891
-
892
- ### Added
893
-
894
- * add `HELLO` key to the kit sample to match most of our examples in the README
895
-
896
- ## [1.59.0](https://github.com/dotenvx/dotenvx/compare/v1.58.0...v1.59.0) (2026-03-28)
897
-
898
- ### Changed
899
-
900
- * `encrypt` and `set` now create a `.env` file if one does not exist ([#771](https://github.com/dotenvx/dotenvx/pull/771))
901
- * pass `--no-create` to prevent file creation
902
-
903
- ## [1.58.0](https://github.com/dotenvx/dotenvx/compare/v1.57.5...v1.58.0) (2026-03-27)
904
-
905
- ### Changed
906
-
907
- * Changed runtime injection message to format `⟐ injecting env (N) from FILE · dotenvx@VERSION` ([#770](https://github.com/dotenvx/dotenvx/pull/770))
908
-
909
- ## [1.57.5](https://github.com/dotenvx/dotenvx/compare/v1.57.4...v1.57.5) (2026-03-26)
910
-
911
- ### Changes
912
-
913
- * Improve already installed message ([#768](https://github.com/dotenvx/dotenvx/pull/768))
914
-
915
- ## [1.57.4](https://github.com/dotenvx/dotenvx/compare/v1.57.3...v1.57.4) (2026-03-26)
916
-
917
- ### Changes
918
-
919
- * Use `curl` example for install [dotenvx.com/ops](https://dotenvx.com/ops) ([#767](https://github.com/dotenvx/dotenvx/pull/767))
920
-
921
- ## [1.57.3](https://github.com/dotenvx/dotenvx/compare/v1.57.2...v1.57.3) (2026-03-26)
922
-
923
- ### Changes
924
-
925
- * Simplify installed success message ([#766](https://github.com/dotenvx/dotenvx/pull/766))
926
-
927
- ## [1.57.2](https://github.com/dotenvx/dotenvx/compare/v1.57.1...v1.57.2) (2026-03-22)
928
-
929
- ### Changes
930
-
931
- * Ran `npm audit` to update package-lock.json ([#763](https://github.com/dotenvx/dotenvx/pull/763))
932
-
933
- ## [1.57.1](https://github.com/dotenvx/dotenvx/compare/v1.57.0...v1.57.1) (2026-03-21)
934
-
935
- ### Changes
936
-
937
- * improved error logs and compacted most to a single line ([#755](https://github.com/dotenvx/dotenvx/pull/755))
938
- * introduced leading log glyphs as a visual status language:
939
-
940
- * `⟐` success action (injected)
941
- * `◈` success action (encrypted)
942
- * `◇` success action (set plain value, decrypted)
943
- * `⟳` success action (rotated)
944
- * `○` informational no-op (no changes)
945
- * `▣` success action for generated/updated support files
946
- * `⚠` warning
947
- * `☠` error
948
-
949
- ## [1.57.0](https://github.com/dotenvx/dotenvx/compare/v1.56.0...v1.57.0) (2026-03-19)
950
-
951
- ### Changed
952
-
953
- * color and formatting changes to outputs ([#754](https://github.com/dotenvx/dotenvx/pull/754))
954
-
955
- ## [1.56.0](https://github.com/dotenvx/dotenvx/compare/v1.55.1...v1.56.0) (2026-03-19)
956
-
957
- ### Changed
958
-
959
- * `ops off` flag — now respected by `get`, `keypair`, `rotate`, and `encrypt` ([#750](https://github.com/dotenvx/dotenvx/pull/750))
960
- * `--pp` alias — added as shorthand for `--pretty-print`; toward sunsetting `-pp` ([#750](https://github.com/dotenvx/dotenvx/pull/750))
961
-
962
- ### Removed
963
-
964
- * Remove support for `.env.vault` files ([#750](https://github.com/dotenvx/dotenvx/pull/750))
965
-
966
- ## [1.55.1](https://github.com/dotenvx/dotenvx/compare/v1.55.0...v1.55.1) (2026-03-13)
967
-
968
- ### Added
969
-
970
- * Respect `dotenvx-ops status (on|off)` ([#749](https://github.com/dotenvx/dotenvx/pull/749))
971
-
972
- ## [1.55.0](https://github.com/dotenvx/dotenvx/compare/v1.54.1...v1.55.0) (2026-03-13)
973
-
974
- ### Added
975
-
976
- * Add '⛨ ARMORED KEYS: Harden your private keys.' security feature when [dotenvx-ops](https://dotenvx.com/ops) installed ([#746](https://github.com/dotenvx/dotenvx/pull/746))
977
-
978
- ### Removed
979
-
980
- * Remove `ProKeypair` logic
981
-
982
- ## [1.54.1](https://github.com/dotenvx/dotenvx/compare/v1.54.0...v1.54.1) (2026-03-06)
983
-
984
- ### Changed
985
-
986
- * Fix npm publish
987
-
988
- ## [1.54.0](https://github.com/dotenvx/dotenvx/compare/v1.53.0...v1.54.0) (2026-03-06)
989
-
990
- ### Removed
991
-
992
- * Remove `ops observe` (radar feature). If needed download [dotenvx-ops](https://dotenvx.com/ops) and reach out to me directly at mot@dotenvx.com. ([#745](https://github.com/dotenvx/dotenvx/pull/745))
993
-
994
- ## [1.53.0](https://github.com/dotenvx/dotenvx/compare/v1.52.0...v1.53.0) (2026-03-05)
995
-
996
- ### Removed
997
-
998
- * Remove `radar`. It has been a year since replaced by `ops`. ([#743](https://github.com/dotenvx/dotenvx/pull/743))
999
-
1000
- ## [1.52.0](https://github.com/dotenvx/dotenvx/compare/v1.51.4...v1.52.0) (2026-01-22)
1001
-
1002
- ### Added
1003
-
1004
- * Pass log level options to `main.set` ([#731](https://github.com/dotenvx/dotenvx/pull/731))
1005
-
1006
- ## [1.51.4](https://github.com/dotenvx/dotenvx/compare/v1.51.3...v1.51.4) (2025-12-29)
1007
-
1008
- ### Changed
1009
-
1010
- * Change description of `dotenvx-ops` to better reflect its tooling as operational primitives on top of dotenvx for production use cases. ([#721](https://github.com/dotenvx/dotenvx/pull/723))
1011
-
1012
- ## [1.51.3](https://github.com/dotenvx/dotenvx/compare/v1.51.2...v1.51.3) (2025-12-29)
1013
-
1014
- ### Added
1015
-
1016
- * Add hint on `.env.keys` for `dotenvx armor up`. Dotenvx Armor lets you armor your private keys securely with just a single command. It's a convenient alternative to manually copy/pasting them in and out of 1Password. ([#718](https://github.com/dotenvx/dotenvx/pull/718))
1017
-
1018
- ## [1.51.2](https://github.com/dotenvx/dotenvx/compare/v1.51.1...v1.51.2) (2025-12-12)
1019
-
1020
- ### Changed
1021
-
1022
- * Switch `npm publish` to use [Dotenvx Ops'](https://dotenvx.com/ops) new Rotation Tokens (ROTs) ([#715](https://github.com/dotenvx/dotenvx/pull/715))
1023
-
1024
- > This will allow us to start dogfooding our own solution for third-party API key rotation. Third-party API key rotation would drastically improve security industry wide. Please [get in touch](https://dotenvx.com/support) if this is interesting to you.
1025
-
1026
- ## [1.51.1](https://github.com/dotenvx/dotenvx/compare/v1.51.0...v1.51.1) (2025-11-03)
1027
-
1028
- ### Added
1029
-
1030
- * Add `opsOff` type information
1031
-
1032
- ## [1.51.0](https://github.com/dotenvx/dotenvx/compare/v1.50.1...v1.51.0) (2025-09-23)
1033
-
1034
- ### Added
1035
-
1036
- * Add `config({opsOff: true})` options and `--ops-off` flag for turning off [Dotenvx Ops](https://dotenvx.com/ops) features. ([#680](https://github.com/dotenvx/dotenvx/pull/680))
1037
-
1038
- ## [1.50.1](https://github.com/dotenvx/dotenvx/compare/v1.50.0...v1.50.1) (2025-09-18)
1039
-
1040
- ### Removed
1041
-
1042
- * Remove listed command to `radar` (now `ops`) ([#678](https://github.com/dotenvx/dotenvx/pull/678))
1043
-
1044
- ## [1.50.0](https://github.com/dotenvx/dotenvx/compare/v1.49.1...v1.50.0) (2025-09-18)
1045
-
1046
- ### Added
1047
-
1048
- * Add optional `dotenvx ops` command ([#677](https://github.com/dotenvx/dotenvx/pull/677))
1049
- * Ops is a coming rename of Radar. Radar will become a feature inside ops.
1050
- * With `dotenvx ops` use dotenvx across your team, infrastructure, agents, and more.
1051
-
1052
- ```
1053
- _______________________________________________________________________
1054
- | |
1055
- | dotenvx-ops: production grade dotenvx–with operational primitives |
1056
- | |
1057
- | ░▒▓██████▓▒░░▒▓███████▓▒░ ░▒▓███████▓▒░ |
1058
- | ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░ |
1059
- | ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░ |
1060
- | ░▒▓█▓▒░░▒▓█▓▒░▒▓███████▓▒░ ░▒▓██████▓▒░ |
1061
- | ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░ ░▒▓█▓▒░ |
1062
- | ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░ ░▒▓█▓▒░ |
1063
- | ░▒▓██████▓▒░░▒▓█▓▒░ ░▒▓███████▓▒░ |
1064
- | |
1065
- | Learn more at https://dotenvx.com/ops |
1066
- |_______________________________________________________________________|
1067
- ```
1068
-
1069
- ## [1.49.1](https://github.com/dotenvx/dotenvx/compare/v1.49.0...v1.49.1) (2025-09-15)
1070
-
1071
- ### Changed
1072
-
1073
- * 🐞 patch bug with variable expansion of single quoted values ([#675](https://github.com/dotenvx/dotenvx/pull/675))
1074
-
1075
- ## [1.49.0](https://github.com/dotenvx/dotenvx/compare/v1.48.4...v1.49.0) (2025-08-18)
1076
-
1077
- ### Added
1078
-
1079
- * For precommit and prebuild, ignore `.env.x` file like we do with `.env.vault` file. ([#666](https://github.com/dotenvx/dotenvx/pull/666))
1080
-
1081
- ## [1.48.4](https://github.com/dotenvx/dotenvx/compare/v1.48.3...v1.48.4) (2025-07-29)
1082
-
1083
- ### Removed
1084
-
1085
- * Remove unnecessary use of `eval` in proKeypair helper ([#654](https://github.com/dotenvx/dotenvx/pull/654))
1086
-
1087
- ## 1.48.3 (2025-07-21)
1088
-
1089
- ### Changed
1090
-
1091
- * Include `privateKeyName` and `privateKey` on internal `processedEnv` object ([#649](https://github.com/dotenvx/dotenvx/pull/649))
1092
-
1093
- ## 1.48.2 (2025-07-20)
1094
-
1095
- ### Changed
1096
-
1097
- * Check radar status before sending ([#646](https://github.com/dotenvx/dotenvx/pull/646))
1098
-
1099
- ## 1.48.1 (2025-07-19)
1100
-
1101
- ### Changed
1102
-
1103
- * Send `beforEnv` and `afterEnv` to Radar if user has installed ([#645](https://github.com/dotenvx/dotenvx/pull/645))
1104
-
1105
- ## 1.48.0 (2025-07-17)
1106
-
1107
- ### Added
1108
-
1109
- * Include `beforeEnv` and `afterEnv` for user debugging ([#644](https://github.com/dotenvx/dotenvx/pull/644))
1110
-
1111
- ## 1.47.7 (2025-07-17)
1112
-
1113
- ### Changed
1114
-
1115
- * `src` should be in internal `processEnv` object ([#643](https://github.com/dotenvx/dotenvx/pull/643))
1116
-
1117
- ## 1.47.6 (2025-07-14)
1118
-
1119
- ### Changed
1120
-
1121
- * Make Radar call non-blocking ([#642](https://github.com/dotenvx/dotenvx/pull/642))
1122
-
1123
- ## 1.47.5 (2025-07-11)
1124
-
1125
- ### Changed
1126
-
1127
- * Add resilient handling of any Radar failures ([#639](https://github.com/dotenvx/dotenvx/pull/639))
1128
-
1129
- ## 1.47.4 (2025-07-11)
1130
-
1131
- ### Changed
1132
-
1133
- * Smarter require of non-installed libs like [`dotenvx-radar`](https://dotenvx.com/radar) ([#638](https://github.com/dotenvx/dotenvx/pull/638))
1134
-
1135
- ## 1.47.3 (2025-07-09)
1136
-
1137
- ### Added
1138
-
1139
- * Send to `radar#observe` if [Radar](https://dotenvx.com/radar) installed by user ([#631](https://github.com/dotenvx/dotenvx/pull/631))
1140
-
1141
- ### Removed
1142
-
1143
- * Remove `cli` in package.json ([#632](https://github.com/dotenvx/dotenvx/pull/632))
1144
-
1145
- ## 1.47.2 (2025-07-09)
1146
-
1147
- ### Added
1148
-
1149
- * Export `cli` in package.json ([#629](https://github.com/dotenvx/dotenvx/pull/629))
1150
-
1151
- ## 1.47.1 (2025-07-08)
1152
-
1153
- ### Added
1154
-
1155
- * Add convenience log that `radar active 📡` when dotenvx-radar is installed ([#625](https://github.com/dotenvx/dotenvx/pull/625))
1156
-
1157
- ## 1.47.0 (2025-07-08)
1158
-
1159
- ### Added
1160
-
1161
- * Add optional `dotenvx radar` command ([#624](https://github.com/dotenvx/dotenvx/pull/624))
1162
- * Radar is an early access commercial extension for dotenvx that will auto backup your .env files.
1163
-
1164
- ```
1165
- _______________________________________________________________________
1166
- | |
1167
- | Dotenvx Radar: Env Observability |
1168
- | |
1169
- | ░▒▓███████▓▒░ ░▒▓██████▓▒░░▒▓███████▓▒░ ░▒▓██████▓▒░░▒▓███████▓▒░ |
1170
- | ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░ |
1171
- | ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░ |
1172
- | ░▒▓███████▓▒░░▒▓████████▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓████████▓▒░▒▓███████▓▒░ |
1173
- | ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░ |
1174
- | ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░ |
1175
- | ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓███████▓▒░░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░ |
1176
- | |
1177
- | Observe, version, and back up your environment variables at runtime. |
1178
- | |
1179
- | Purchase lifetime access at https://dotenvx.com/radar |
1180
- | |
1181
- | --------------------------------------------------------------------- |
1182
- | - thank you for using dotenvx! - @motdotla |
1183
- |_______________________________________________________________________|
1184
- ```
1185
-
1186
- ## 1.46.0 (2025-07-07)
1187
-
1188
- ### Added
1189
-
1190
- * Add error when hoisting issue experienced around commander.js ([#623](https://github.com/dotenvx/dotenvx/pull/623))
1191
-
1192
- ### Removed
1193
-
1194
- * Remove `git-dotenvx` and `git dotenvx` shorthand ([#621](https://github.com/dotenvx/dotenvx/pull/621))
1195
-
1196
- ## 1.45.2 (2025-07-01)
1197
-
1198
- ### Changed
1199
-
1200
- * Minor README updates
1201
-
1202
- ## 1.45.1 (2025-06-20)
1203
-
1204
- ### Changed
1205
-
1206
- * Include `setLogName` and `setLogVersion` in `config` ([#613](https://github.com/dotenvx/dotenvx/pull/613))
1207
-
1208
- ## 1.45.0 (2025-06-20)
1209
-
1210
- ### Added
1211
-
1212
- * Add `logger.setName` and `logger.setVersion` for customization of logger ([#612](https://github.com/dotenvx/dotenvx/pull/612))
1213
-
1214
- ## 1.44.2 (2025-06-10)
1215
-
1216
- ### Changed
1217
-
1218
- * Clarify license is BSD-3.
1219
-
1220
- ## [1.44.1](https://github.com/dotenvx/dotenvx/compare/v1.44.0...v1.44.1) (2025-05-19)
1221
-
1222
- ### Changed
1223
-
1224
- * Patch `SetOutput` type ([#597](https://github.com/dotenvx/dotenvx/pull/597))
1225
-
1226
- ## [1.44.0](https://github.com/dotenvx/dotenvx/compare/v1.43.0...v1.44.0) (2025-05-12)
1227
-
1228
- ### Added
1229
-
1230
- * Add `armv7` support ([#593](https://github.com/dotenvx/dotenvx/pull/593))
1231
-
1232
- ## [1.43.0](https://github.com/dotenvx/dotenvx/compare/v1.42.2...v1.43.0) (2025-05-03)
1233
-
1234
- ### Removed
1235
-
1236
- * Remove `errorv, errornocolor, blank` from logger options ([#584](https://github.com/dotenvx/dotenvx/pull/584))
1237
-
1238
- ### Changed
1239
-
1240
- * Replace instances of `console.error` with `logger.error` ([#584](https://github.com/dotenvx/dotenvx/pull/584))
1241
-
1242
- ## [1.42.2](https://github.com/dotenvx/dotenvx/compare/v1.42.1...v1.42.2) (2025-05-01)
1243
-
1244
- ### Changed
1245
-
1246
- * Fix `--force` flag work with `?force=true` ([2776715](https://github.com/dotenvx/dotenvx/commit/2776715075928fa534b270cef0554b58b60bcd12))
1247
-
1248
- ## [1.42.1](https://github.com/dotenvx/dotenvx/compare/v1.42.0...v1.42.1) (2025-05-01)
1249
-
1250
- ### Added
1251
-
1252
- * Add `--force` flag to `install.sh` ([0b8d21c](https://github.com/dotenvx/dotenvx/commit/0b8d21c612167354451213ef30e6e1299d91016d))
1253
-
1254
- ## [1.42.0](https://github.com/dotenvx/dotenvx/compare/v1.41.0...v1.42.0) (2025-04-30)
1255
-
1256
- ### Added
1257
-
1258
- * Add ability to override the `os` and `arch` via `install.sh` and `dotenvx.sh` ([3ded752](https://github.com/dotenvx/dotenvx/commit/3ded752fbe60aa4eeebe9fe90a87f35dba502a76))
1259
-
1260
- ## [1.41.0](https://github.com/dotenvx/dotenvx/compare/v1.40.1...v1.41.0) (2025-04-18)
1261
-
1262
- ### Added
1263
-
1264
- * Add [directory] argument to precommit and prebuild ([#572](https://github.com/dotenvx/dotenvx/pull/572))
1265
-
1266
- ## [1.40.1](https://github.com/dotenvx/dotenvx/compare/v1.40.0...v1.40.1) (2025-04-16)
1267
-
1268
- ### Changed
1269
-
1270
- * Patch `ext scan` command ([#570](https://github.com/dotenvx/dotenvx/pull/570))
1271
-
1272
- ## [1.40.0](https://github.com/dotenvx/dotenvx/compare/v1.39.1...v1.40.0) (2025-04-13)
1273
-
1274
- ### Added
1275
-
1276
- * Smarter `ext precommit` and `ext prebuild` – catch duplicate KEYs in the same .env file where one is mistakenly left unencrypted ([#567](https://github.com/dotenvx/dotenvx/pull/567))
1277
-
1278
- ## [1.39.1](https://github.com/dotenvx/dotenvx/compare/v1.39.0...v1.39.1) (2025-04-04)
1279
-
1280
- ### Added
1281
-
1282
- * Add `version` to homebrew formula ([#564](https://github.com/dotenvx/dotenvx/pull/564))
1283
-
1284
- ## [1.39.0](https://github.com/dotenvx/dotenvx/compare/v1.38.5...v1.39.0) (2025-03-16)
1285
-
1286
- ### Added
1287
-
1288
- * Add `--convention flow` option to `dotenvx run` ([#551](https://github.com/dotenvx/dotenvx/pull/551))
1289
-
1290
- ### Changed
1291
-
1292
- * Fix typos ([#550](https://github.com/dotenvx/dotenvx/pull/550))
1293
-
1294
- ## [1.38.5](https://github.com/dotenvx/dotenvx/compare/v1.38.4...v1.38.5) (2025-03-11)
1295
-
1296
- ### Added
1297
-
1298
- * 🐞 Add `config.d.ts` file to fix type error when loading `dotenvx/dotenvx/config` with dynamic import ([#547](https://github.com/dotenvx/dotenvx/pull/547))
1299
-
1300
- ## [1.38.4](https://github.com/dotenvx/dotenvx/compare/v1.38.3...v1.38.4) (2025-03-04)
1301
-
1302
- ### Changed
1303
-
1304
- * 🐞 Fix blank line disappearing after encrypting empty value ([#542](https://github.com/dotenvx/dotenvx/pull/542))
1305
-
1306
- ## [1.38.3](https://github.com/dotenvx/dotenvx/compare/v1.38.2...v1.38.3) (2025-02-25)
1307
-
1308
- ### Changed
1309
-
1310
- * 🐞 Fix self-referencing expansion when key exists already in `process.env` ([#536](https://github.com/dotenvx/dotenvx/pull/536))
1311
-
1312
- ## [1.38.2](https://github.com/dotenvx/dotenvx/compare/v1.38.1...v1.38.2) (2025-02-24)
1313
-
1314
- ### Added
1315
-
1316
- * Add typescript types for `main.get`.
1317
-
1318
- ## [1.38.1](https://github.com/dotenvx/dotenvx/compare/v1.38.0...v1.38.1) (2025-02-24)
1319
-
1320
- ### Changed
1321
-
1322
- * Support `encrypt` when mutliline contains windows `CRLF` (`\r\n`) ([#534](https://github.com/dotenvx/dotenvx/pull/534))
1323
-
1324
- Note: dotenvx will convert these `\r\n` newlines to `\n`. Our recommendation is to stop using `CRLF` - its origin is from typewriter days. Instead, set your editor or gitattributes to use `LF`.
1325
-
1326
- ## [1.38.0](https://github.com/dotenvx/dotenvx/compare/v1.37.0...v1.38.0) (2025-02-24)
1327
-
1328
- ### Changed
1329
-
1330
- * Command substitution failures no longer halt further processing of keys in a .env file ([#533](https://github.com/dotenvx/dotenvx/pull/533))
1331
- * A more helpful error is raised if a command substitution failure occurs ([#533](https://github.com/dotenvx/dotenvx/pull/533))
1332
-
1333
- ## [1.37.0](https://github.com/dotenvx/dotenvx/compare/v1.36.0...v1.37.0) (2025-02-20)
1334
-
1335
- ### Added
1336
-
1337
- * add `dotenvx rotate` command 🎉 ([#530](https://github.com/dotenvx/dotenvx/pull/530))
1338
-
1339
- also: [our whitepaper](https://dotenvx.com/dotenvx.pdf) is released as a draft.
1340
-
1341
- ## [1.36.0](https://github.com/dotenvx/dotenvx/compare/v1.35.0...v1.36.0) (2025-02-12)
1342
-
1343
- ### Changed
1344
-
1345
- * `--strict` flag respects (doesn't throw) anything in `--ignore` flag ([#527](https://github.com/dotenvx/dotenvx/pull/527))
1346
-
1347
- ## [1.35.0](https://github.com/dotenvx/dotenvx/compare/v1.34.0...v1.35.0) (2025-02-07)
1348
-
1349
- ### Added
1350
-
1351
- * `npx dotenvx precommit` support as a convenience ([#523](https://github.com/dotenvx/dotenvx/pull/523))
1352
- * `main.get` method ([#524](https://github.com/dotenvx/dotenvx/pull/524))
1353
-
1354
- The addition of `main.get` facilitates what we term Decryption at Access, a concept explored in greater detail in our [whitepaper](https://dotenvx.com/dotenvx.pdf).
1355
-
1356
- ## [1.34.0](https://github.com/dotenvx/dotenvx/compare/v1.33.0...v1.34.0) (2025-01-25)
1357
-
1358
- ### Added
1359
-
1360
- * `main.set` method now writes to files ([#517](https://github.com/dotenvx/dotenvx/pull/517))
1361
-
1362
- ## [1.33.0](https://github.com/dotenvx/dotenvx/compare/v1.32.1...v1.33.0) (2025-01-13)
1363
-
1364
- ### Added
1365
-
1366
- * support ESM import convenience `import '@dotenvx/dotenvx/config'` ([#508](https://github.com/dotenvx/dotenvx/pull/508))
1367
-
1368
- ## [1.32.1](https://github.com/dotenvx/dotenvx/compare/v1.32.0...v1.32.1) (2025-01-07)
1369
-
1370
- ### Changed
1371
-
1372
- * remove duplicated help messages ([#504](https://github.com/dotenvx/dotenvx/pull/504))
1373
-
1374
- ## [1.32.0](https://github.com/dotenvx/dotenvx/compare/v1.31.3...v1.32.0) (2024-12-27)
1375
-
1376
- ### Added
1377
-
1378
- * add encrypted check support for `ext prebuild` ([#501](https://github.com/dotenvx/dotenvx/pull/501))
1379
-
1380
- ### Changed
1381
-
1382
- * modify `ext precommit` to check git modified state as well as git staged state - useful for using `dotenvx ext precommit` without the `--install` flag in automated scripts and ci. ([#499](https://github.com/dotenvx/dotenvx/pull/499))
1383
-
1384
- ### Removed
1385
-
1386
- * remove internal logger methods `errorvp, errorvpb, warnv, warnvp, warnvpb, successvp, successvpb, help2` ([#501](https://github.com/dotenvx/dotenvx/pull/501))
1387
-
1388
- ## [1.31.3](https://github.com/dotenvx/dotenvx/compare/v1.31.2...v1.31.3) (2024-12-20)
1389
-
1390
- ### Changed
1391
-
1392
- * adjust wingetcreate to use powershell when parsing version
1393
-
1394
- ## [1.31.2](https://github.com/dotenvx/dotenvx/compare/v1.31.1...v1.31.2) (2024-12-20)
1395
-
1396
- ### Changed
1397
-
1398
- * use wingetcreate for releasing to WinGet ([#498](https://github.com/dotenvx/dotenvx/pull/498))
1399
-
1400
- ## [1.31.1](https://github.com/dotenvx/dotenvx/compare/v1.31.0...v1.31.1) (2024-12-20)
1401
-
1402
- ### Changed
1403
-
1404
- * 🐞 fix encryption of values containing explicit `\n` newlines ([#495](https://github.com/dotenvx/dotenvx/pull/495))
1405
-
1406
- ## [1.31.0](https://github.com/dotenvx/dotenvx/compare/v1.30.1...v1.31.0) (2024-12-14)
1407
-
1408
- ### Added
1409
-
1410
- * expose `main.set` function ([#492](https://github.com/dotenvx/dotenvx/pull/492))
1411
- * add missing types for `main.config` ([#491](https://github.com/dotenvx/dotenvx/pull/491))
1412
-
1413
- ## [1.30.1](https://github.com/dotenvx/dotenvx/compare/v1.30.0...v1.30.1) (2024-12-13)
1414
-
1415
- ### Added
1416
-
1417
- * support complex command substitution combining variable expansion ([#490](https://github.com/dotenvx/dotenvx/pull/490))
1418
-
1419
- ## [1.30.0](https://github.com/dotenvx/dotenvx/compare/v1.29.0...v1.30.0) (2024-12-13)
1420
-
1421
- ### Added
1422
-
1423
- * add `-fk` (`--env-keys-file`) flag to customize the path to your `.env.keys` file with `run, get, set, encrypt, decrypt, and keypair` 🎉 ([#486](https://github.com/dotenvx/dotenvx/pull/486))
1424
-
1425
- This is great for monorepos. Maintain one `.env.keys` file across all your apps.
1426
-
1427
- ```sh
1428
- $ dotenvx encrypt -fk .env.keys -f apps/backend/.env
1429
- $ dotenvx encrypt -fk .env.keys -f apps/frontend/.env
1430
-
1431
- $ tree -a .
1432
- ├── .env.keys
1433
- └── apps
1434
- ├── backend
1435
- │   └── .env
1436
- └── frontend
1437
- └── .env
1438
-
1439
- $ dotenvx get -fk .env.keys -f apps/backend/.env
1440
- ```
1441
-
1442
- ## [1.29.0](https://github.com/dotenvx/dotenvx/compare/v1.28.0...v1.29.0) (2024-12-09)
1443
-
1444
- ### Added
1445
-
1446
- * add `--ignore` flag to suppress specified errors. example: `dotenvx run --ignore=MISSING_ENV_FILE` ([#485](https://github.com/dotenvx/dotenvx/pull/485))
1447
-
1448
- ## [1.28.0](https://github.com/dotenvx/dotenvx/compare/v1.27.0...v1.28.0) (2024-12-03)
1449
-
1450
- ### Changed
1451
-
1452
- * `.env.keys` file is generated WITHOUT quotes going forward. This is to minimize friction around Docker gotchas to developers - old versions of Docker do not support `--env-file` containing quoted keys/values. ([#480](https://github.com/dotenvx/dotenvx/pull/480)) ([additional note](https://github.com/dotenvx/dotenvx/issues/465#issuecomment-2515279676))
1453
-
1454
- ## [1.27.0](https://github.com/dotenvx/dotenvx/compare/v1.26.2...v1.27.0) (2024-12-03)
1455
-
1456
- ### Added
1457
-
1458
- * add support for `\t` expansion when double quoted. (e.g. `TAB="hi\tfriend"` becomes `hi friend`) ([#479](https://github.com/dotenvx/dotenvx/pull/479))
1459
-
1460
- ## [1.26.2](https://github.com/dotenvx/dotenvx/compare/v1.26.1...v1.26.2) (2024-12-02)
1461
-
1462
- ### Changed
1463
-
1464
- * build binaries with bytecode option ([#477](https://github.com/dotenvx/dotenvx/pull/477))
1465
-
1466
- ## [1.26.1](https://github.com/dotenvx/dotenvx/compare/v1.26.0...v1.26.1) (2024-12-02)
1467
-
1468
- ### Added
1469
-
1470
- * add typescript type definitions for `main.parse` method ([#475](https://github.com/dotenvx/dotenvx/pull/475))
1471
-
1472
- ## [1.26.0](https://github.com/dotenvx/dotenvx/compare/v1.25.2...v1.26.0) (2024-11-29)
1473
-
1474
- ### Added
1475
-
1476
- * add `privateKey` option to `main.parse` method ([#474](https://github.com/dotenvx/dotenvx/pull/474))
1477
-
1478
- ## [1.25.2](https://github.com/dotenvx/dotenvx/compare/v1.25.1...v1.25.2) (2024-11-29)
1479
-
1480
- ### Added
1481
-
1482
- * for binaries add pre-build step using esbuild ([#471](https://github.com/dotenvx/dotenvx/pull/471))
1483
-
1484
- ### Removed
1485
-
1486
- * remove types for functions that were removed a while back ([2aa660](https://github.com/dotenvx/dotenvx/commit/2aa660695757143f65751a201115f074b81942a8))
1487
-
1488
- ## [1.25.1](https://github.com/dotenvx/dotenvx/compare/v1.25.0...v1.25.1) (2024-11-25)
1489
-
1490
- ### Changed
1491
-
1492
- * improve helpful error messaging around decryption failures by specifying specific key and private key name ([#463](https://github.com/dotenvx/dotenvx/pull/463))
1493
-
1494
- ## [1.25.0](https://github.com/dotenvx/dotenvx/compare/v1.24.5...v1.25.0) (2024-11-25)
1495
-
1496
- ### Added
1497
-
1498
- * add `run --strict` flag to exit with code `1` if any errors are encountered - like a missing `.env` file or decryption failure ([#460](https://github.com/dotenvx/dotenvx/pull/460))
1499
- * add `get --strict` flag to exit with code `1` if any errors are encountered - like a missing `.env` file or decryption failure ([#461](https://github.com/dotenvx/dotenvx/pull/461))
1500
- * add `strict` option to `config()` to throw for any errors ([#459](https://github.com/dotenvx/dotenvx/pull/459))
1501
-
1502
- ### Changed
1503
-
1504
- * log `MISSING_ENV_FILE` and `DECRYPTION_FAILED` errors to stderr (prior was stdout as a warning) ([#459](https://github.com/dotenvx/dotenvx/pull/459))
1505
-
1506
- ### Removed
1507
-
1508
- * remove `dotenvx.get()` function from `lib/main.js`. (`parse` already historically exists for this purpose) ([#461](https://github.com/dotenvx/dotenvx/pull/461))
1509
-
1510
- ## [1.24.5](https://github.com/dotenvx/dotenvx/compare/v1.24.4...v1.24.5) (2024-11-22)
1511
-
1512
- ### Changed
1513
-
1514
- * 🐞 do not expand prior literal values ([#458](https://github.com/dotenvx/dotenvx/pull/458))
1515
-
1516
- ## [1.24.4](https://github.com/dotenvx/dotenvx/compare/v1.24.3...v1.24.4) (2024-11-20)
1517
-
1518
- ### Changed
1519
-
1520
- * do not expand command substitution ([#456](https://github.com/dotenvx/dotenvx/pull/456))
1521
-
1522
- ## [1.24.3](https://github.com/dotenvx/dotenvx/compare/v1.24.2...v1.24.3) (2024-11-20)
1523
-
1524
- ### Changed
1525
-
1526
- * 🐞 fix command substitution for more complex commands ([#455](https://github.com/dotenvx/dotenvx/pull/455))
1527
-
1528
- ## [1.24.2](https://github.com/dotenvx/dotenvx/compare/v1.24.1...v1.24.2) (2024-11-18)
1529
-
1530
- ### Changed
1531
-
1532
- * treat pre-existing expandable values as literal in `process.env` ([#450](https://github.com/dotenvx/dotenvx/pull/450))
1533
-
1534
- ## [1.24.1](https://github.com/dotenvx/dotenvx/compare/v1.24.0...v1.24.1) (2024-11-18)
1535
-
1536
- ### Changed
1537
-
1538
- * bump `cross-spawn` to prevent potential ReDoS [CVE-2024-21538](https://github.com/advisories/ghsa-3xgq-45jj-v275) ([#449](https://github.com/dotenvx/dotenvx/pull/449))
1539
-
1540
- ## [1.24.0](https://github.com/dotenvx/dotenvx/compare/v1.23.0...v1.24.0) (2024-11-15)
1541
-
1542
- ### Added
1543
-
1544
- * support progressive append/update ([#445](https://github.com/dotenvx/dotenvx/pull/445))
1545
-
1546
- ```ini
1547
- FOO=foo
1548
- FOO=${FOO}bar
1549
- # foobar
1550
- ```
1551
-
1552
- * support alternate value expansion ([#445](https://github.com/dotenvx/dotenvx/pull/445))
1553
-
1554
- <img width="1608" alt="image" src="https://github.com/user-attachments/assets/fdd55a0a-9b36-4cb3-b0c6-6b019441aef4">
1555
-
1556
- ### Changed
1557
-
1558
- * `dotenvx.parse` now maps to dotenvx's internal parser. (prior it was mapping to [dotenv's](https://github.com/motdotla/dotenv))
1559
-
1560
- ### Removed
1561
-
1562
- * removed `dotenvx.configDotenv()`. use `dotenvx.config()` ([#445](https://github.com/dotenvx/dotenvx/pull/445))
1563
-
1564
- ## 1.23.0 (2024-11-12)
1565
-
1566
- ### Added
1567
-
1568
- * deeper variable expansion support and protection against self-referencing variables 🛡️ ([#439](https://github.com/dotenvx/dotenvx/pull/439))
1569
-
1570
- ## 1.22.2 (2024-11-12)
1571
-
1572
- ### Changed
1573
-
1574
- * more lenient handling of `--` separator and better error messaging when flags are ambiguous ([#438](https://github.com/dotenvx/dotenvx/pull/438))
1575
-
1576
- ## 1.22.1 (2024-11-11)
1577
-
1578
- ### Changed
1579
-
1580
- * 🐞 patch loading order issue with single quotes ([#436](https://github.com/dotenvx/dotenvx/pull/436))
1581
-
1582
- ## 1.22.0 (2024-11-04)
1583
-
1584
- ### Added
1585
-
1586
- * add `--pattern` argument to `ext gitignore` (`dotenvx ext gitignore --pattern .env.keys`) ([#430](https://github.com/dotenvx/dotenvx/pull/430))
1587
-
1588
- ### Changed
1589
-
1590
- * clarify next steps after first time encrypting ([#430](https://github.com/dotenvx/dotenvx/pull/430))
1591
-
1592
- ## 1.21.1 (2024-10-31)
1593
-
1594
- ### Changed
1595
-
1596
- * for `--convention nextjs` ignore `.env.local` for TEST environment ([#425](https://github.com/dotenvx/dotenvx/pull/425))
1597
- * for `precommit` redirect missing `dotenvx` command using POSIX compliant redirection ([#424](https://github.com/dotenvx/dotenvx/pull/424))
1598
- * make parent `dotenvx help` command less noisy by removing `[options]`. run `dotenvx COMMAND -h` to list all available options like always ([#429](https://github.com/dotenvx/dotenvx/pull/429))
1599
-
1600
- ## 1.21.0 (2024-10-25)
1601
-
1602
- ### Changed
1603
-
1604
- * treat single quotes literally ([#423](https://github.com/dotenvx/dotenvx/pull/423))
1605
- * respect user chosen quotes ([#423](https://github.com/dotenvx/dotenvx/pull/423) [#377](https://github.com/dotenvx/dotenvx/issues/377))
1606
-
1607
- 🎓 now if you choose to single quote, double quote, no quote, or backtick your value it will be respected - including for encrypted values. this more intuitively handles complex cases like escaped characters, literals, and json.
1608
-
1609
- ## 1.20.1 (2024-10-23)
1610
-
1611
- ### Changed
1612
-
1613
- * update [eciesjs](https://github.com/ecies/js/issues/802) ([#421](https://github.com/dotenvx/dotenvx/pull/421))
1614
- * remove default values for ts interface - no longer permitted by latest ts ([#419](https://github.com/dotenvx/dotenvx/pull/419))
1615
-
1616
- ## 1.20.0 (2024-10-17)
1617
-
1618
- ### Changed
1619
-
1620
- * respect `process.env.DOTENV_PRIVATE_KEY` and/or `process.env.DOTENV_PUBLIC_KEY` on `set` ([#401](https://github.com/dotenvx/dotenvx/pull/401))
1621
- * respect `process.env.DOTENV_PRIVATE_KEY` and/or `process.env.DOTENV_PUBLIC_KEY` on `encrypt` ([#411](https://github.com/dotenvx/dotenvx/pull/411))
1622
- * respect `process.env.DOTENV_PRIVATE_KEY` on `decrypt` ([#412](https://github.com/dotenvx/dotenvx/pull/412))
1623
- * change `logger.help` to use brighter blue ([#414](https://github.com/dotenvx/dotenvx/pull/414))
1624
-
1625
- ### Removed
1626
-
1627
- * remove `main.decrypt,encrypt,set` ([#410](https://github.com/dotenvx/dotenvx/pull/410))
1628
-
1629
- ## 1.19.3 (2024-10-15)
1630
-
1631
- ### Changed
1632
-
1633
- * 🐞 fix decrypt re-encrypt of values containing backslashes ([#406](https://github.com/dotenvx/dotenvx/pull/407))
1634
-
1635
- ## 1.19.2 (2024-10-13)
1636
-
1637
- ### Changed
1638
-
1639
- * forward additional signals like `SIGUSR2` ([#403](https://github.com/dotenvx/dotenvx/pull/403))
1640
-
1641
- ## 1.19.1 (2024-10-13)
1642
-
1643
- ### Changed
1644
-
1645
- * if `SIGTERM` or `SIGINT` sent, don't bubble wrapped process error ([#402](https://github.com/dotenvx/dotenvx/pull/402))
1646
-
1647
- ## 1.19.0 (2024-10-11)
1648
-
1649
- ### Added
1650
-
1651
- * support key glob filtering for `encrypt` and `decrypt`. example: `dotenvx encrypt -ek "NEXT_PUBLIC_*"` ([#397](https://github.com/dotenvx/dotenvx/pull/397))
1652
-
1653
- ## 1.18.1 (2024-10-11)
1654
-
1655
- ### Added
1656
-
1657
- * escape user inputted regex groupings like `$1` or `$2`. ([#396](https://github.com/dotenvx/dotenvx/pull/396))
1658
-
1659
- ## 1.18.0 (2024-10-11)
1660
-
1661
- ### Added
1662
-
1663
- * `set` and `encrypt` preserve leading spaces ([#395](https://github.com/dotenvx/dotenvx/pull/395))
1664
-
1665
- ```sh
1666
- HELLO=world
1667
- ```
1668
-
1669
- ### Changed
1670
-
1671
- * improve escape and quote handling for `set`, `encrypt`, and `decrypt` ([#395](https://github.com/dotenvx/dotenvx/pull/395))
1672
- * 🐞 fix `encrypt`, then `decrypt`, then `encrypt` on a json value ([#377](https://github.com/dotenvx/dotenvx/issues/377))
1673
-
1674
- Note: the underlying `replace` engine to support these changes now wraps your values in single quotes. the prior `replace` engine wrapped in double quotes.
1675
-
1676
- So where your `.env` used to look like this with double quotes:
1677
-
1678
- ```sh
1679
- HELLO="encrypted:1234"
1680
- API_KEY="encrypted:5678"
1681
- ```
1682
-
1683
- It will now begin looking like this with single quotes:
1684
-
1685
- ```sh
1686
- HELLO='encrypted:1234'
1687
- API_KEY='encrypted:5678'
1688
- ```
1689
-
1690
- It's an aesthetic side effect only. Your values will continue to be decrypted and encrypted correctly.
1691
-
1692
- ## 1.17.0 (2024-10-09)
1693
-
1694
- ### Added
1695
-
1696
- * add `--format=eval` option for `get` ([#393](https://github.com/dotenvx/dotenvx/pull/393))
1697
-
1698
- ## 1.16.1 (2024-10-08)
1699
-
1700
- ### Changed
1701
-
1702
- * suppress stderr using `options.stdio` ([#391](https://github.com/dotenvx/dotenvx/pull/391))
1703
-
1704
- ## 1.16.0 (2024-10-07)
1705
-
1706
- ### Changed
1707
-
1708
- * for `dotenvx keypair` call out to `dotenvx pro keypair` if [pro](https://github.com/dotenvx/dotenvx/issues/259) installed ([#390](https://github.com/dotenvx/dotenvx/pull/390))
1709
-
1710
- ## 1.15.0 (2024-10-05)
1711
-
1712
- ### Added
1713
-
1714
- * add `--format=shell` option for `keypair` ([#389](https://github.com/dotenvx/dotenvx/pull/389))
1715
-
1716
- ## 1.14.2 (2024-09-27)
1717
-
1718
- ### Changed
1719
-
1720
- * swap `process.stdout.write` for `console.log` to patch up npx edge case ([#387](https://github.com/dotenvx/dotenvx/pull/387))
1721
-
1722
- ## 1.14.1 (2024-09-13)
1723
-
1724
- ### Changed
1725
-
1726
- * run precommit hook only on staged files ([#380](https://github.com/dotenvx/dotenvx/pull/380))
1727
-
1728
- ## 1.14.0 (2024-09-04)
1729
-
1730
- ### Added
1731
-
1732
- * add `dotenvx keypair` command for printing your public/private keypairs ([#375](https://github.com/dotenvx/dotenvx/pull/375))
1733
-
1734
- ## 1.13.3 (2024-09-04)
1735
-
1736
- ### Changed
1737
-
1738
- * exit code 1 when `decrypt` fails in any way ([#374](https://github.com/dotenvx/dotenvx/pull/374))
1739
-
1740
- ## 1.13.2 (2024-09-02)
1741
-
1742
- ### Added
1743
-
1744
- * expose `getColor` and `bold` to `lib/main.js` ([#369](https://github.com/dotenvx/dotenvx/pull/369))
1745
-
1746
- ## 1.13.1 (2024-09-02)
1747
-
1748
- ### Added
1749
-
1750
- * expose `logger` and `setLogLevel` to `lib/main.js` - `const = { logger, setLogLevel } = require('@dotenvx/dotenvx')` ([#368](https://github.com/dotenvx/dotenvx/pull/368))
1751
-
1752
- ## 1.13.0 (2024-09-02)
1753
-
1754
- ### Changed
1755
-
1756
- * move `ls` to core commands ([#367](https://github.com/dotenvx/dotenvx/pull/367))
1757
-
1758
- ## 1.12.1 (2024-08-31)
1759
-
1760
- ### Changed
1761
-
1762
- * return without quotations for `dotenvx get --format shell` ([#366](https://github.com/dotenvx/dotenvx/pull/366))
1763
-
1764
- ## 1.12.0 (2024-08-31)
1765
-
1766
- ### Added
1767
-
1768
- * add `dotenvx get --format shell` option ([#363](https://github.com/dotenvx/dotenvx/pull/363))
1769
-
1770
- ## 1.11.5 (2024-08-28)
1771
-
1772
- ### Changed
1773
-
1774
- * revert `tinyexec` for `execa` - to support usage in bun
1775
-
1776
- ## 1.11.4 (2024-08-28)
1777
-
1778
- ### Changed
1779
-
1780
- * bump `tinyexec` and add postrelease-bunx check ([#362](https://github.com/dotenvx/dotenvx/pull/362))
1781
-
1782
- ## 1.11.3 (2024-08-27)
1783
-
1784
- ### Changed
1785
-
1786
- * fallback to `process.env.TERM` for color depth where deno and bun do not support it ([#360](https://github.com/dotenvx/dotenvx/pull/360))
1787
-
1788
- ## 1.11.2 (2024-08-27)
1789
-
1790
- ### Added
1791
-
1792
- * detect encoding when reading `.env*` file on `run/get` ([#359](https://github.com/dotenvx/dotenvx/pull/359))
1793
-
1794
- ## 1.11.1 (2024-08-26)
1795
-
1796
- ### Changed
1797
-
1798
- * support encryption of `export KEY` variables and preserve `#!shebangs` ([#357](https://github.com/dotenvx/dotenvx/pull/357))
1799
-
1800
- ## 1.11.0 (2024-08-26)
1801
-
1802
- ### Added
1803
-
1804
- * add `--exclude-env-file (-ef)` to `ext ls` ([#356](https://github.com/dotenvx/dotenvx/pull/356))
1805
-
1806
- ### Changed
1807
-
1808
- * `ext precommit` ignores `tests/` directory (and similar) ([#356](https://github.com/dotenvx/dotenvx/pull/356))
1809
-
1810
- ## 1.10.4 (2024-08-25)
1811
-
1812
- ### Changed
1813
-
1814
- * fix `pro` display in help command
1815
-
1816
- ## 1.10.3 (2024-08-24)
1817
-
1818
- ### Added
1819
-
1820
- * ci: automate publishing to `winget` ([#354](https://github.com/dotenvx/dotenvx/pull/354))
1821
-
1822
- ## 1.10.2 (2024-08-23)
1823
-
1824
- ### Changed
1825
-
1826
- * default `config` to empty `[]` array so that `DOTENV_KEY_${environment}` looks up correctly ([#352](https://github.com/dotenvx/dotenvx/pull/352))
1827
-
1828
- ## 1.10.1 (2024-08-23)
1829
-
1830
- ### Changed
1831
-
1832
- * check subfolders on `dotenvx ext precommit` hook ([#350](https://github.com/dotenvx/dotenvx/pull/350))
1833
-
1834
- ## 1.10.0 (2024-08-23)
1835
-
1836
- ### Removed
1837
-
1838
- * remove `dotenvx ext vault`, replace with [dotenvx-ext-vault](https://github.com/dotenvx/dotenvx-ext-vaut) (install there to continue using `ext vault`) ([#351](https://github.com/dotenvx/dotenvx/pull/351))
1839
-
1840
- ## 1.9.1 (2024-08-22)
1841
-
1842
- ### Added
1843
-
1844
- * warn if private key is missing or blank ([#349](https://github.com/dotenvx/dotenvx/pull/349))
1845
-
1846
- ## 1.9.0 (2024-08-21)
1847
-
1848
- ### Added
1849
-
1850
- * add `--exclude-key` (`-ek`) option to `dotenvx encrypt` and `dotenvx decrypt` ([#344](https://github.com/dotenvx/dotenvx/pull/344))
1851
-
1852
- ### Changed
1853
-
1854
- * preserve comments and spacing on first-time generation of .env.example file ([#346](https://github.com/dotenvx/dotenvx/pull/346))
1855
-
1856
- ### Removed
1857
-
1858
- * removed `winston` - logger simplified to use `console.log` going forward ([#347](https://github.com/dotenvx/dotenvx/pull/347))
1859
-
1860
- ## 1.8.0 (2024-08-20)
1861
-
1862
- ### Added
1863
-
1864
- * warn when decryption fails on `run` ([#339](https://github.com/dotenvx/dotenvx/pull/339))
1865
- * decrypt expanded values as necessary ([#336](https://github.com/dotenvx/dotenvx/pull/336))
1866
-
1867
- ### Changed
1868
-
1869
- * use `ansi` colors over `rgb` - for wider terminal coverage ([#340](https://github.com/dotenvx/dotenvx/pull/340))
1870
- * replace `chalk` with `picocolors` and `color-name` - cutting down on 5 dependencies ([#335](https://github.com/dotenvx/dotenvx/pull/335))
1871
- * replace `execa` with `tinyexec` - cutting down on 15 dependencies ([#328](https://github.com/dotenvx/dotenvx/pull/328))
1872
- * optimize `Ls._filepaths` ([#317](https://github.com/dotenvx/dotenvx/pull/317/))
1873
-
1874
- ### Removed
1875
-
1876
- * remove `picocolors` and `color-name` - cutting down on 2 dependencies ([#340](https://github.com/dotenvx/dotenvx/pull/340))
1877
- * remove `ext hub` from extension list (you can still install it as an extension [here](https://github.com/dotenvx/dotenvx-ext-hub)) ([#337](https://github.com/dotenvx/dotenvx/pull/337))
1878
-
1879
- ## 1.7.0 (2024-08-09)
1880
-
1881
- ### Removed
1882
-
1883
- * remove `ext settings` command (and [`conf`](https://www.npmjs.com/package/conf) along with it) ([#323](https://github.com/dotenvx/dotenvx/pull/323))
1884
-
1885
- ## 1.6.5 (2024-08-09)
1886
-
1887
- ### Changed
1888
-
1889
- * 🐞 patch `chomp` for interpolation. strip ending newline (was stripping first found newline) ([#322](https://github.com/dotenvx/dotenvx/pull/322))
1890
-
1891
- ## 1.6.4 (2024-07-15)
1892
-
1893
- ### Changed
1894
-
1895
- * fix `dotenvx help` (command was missing)
1896
-
1897
- ## 1.6.3 (2024-07-15)
1898
-
1899
- ### Changed
1900
-
1901
- * adjust `dotenvx pro` to be dynamic if [dotenvx-pro](https://github.com/dotenvx/dotenvx-pro) is installed user's machine
1902
-
1903
- ## 1.6.2 (2024-07-12)
1904
-
1905
- ### Added
1906
-
1907
- * add more detailed type definitions ([#313](https://github.com/dotenvx/dotenvx/pull/313))
1908
-
1909
- ## 1.6.1 (2024-07-11)
1910
-
1911
- ### Added
1912
-
1913
- * add support for `.env1` (`.env*`) file format. (private key expands to `DOTENV_PRIVATE_KEY_DEVELOPMENT1`) ([#312](https://github.com/dotenvx/dotenvx/pull/312))
1914
-
1915
- ## 1.6.0 (2024-07-11)
1916
-
1917
- ### Added
1918
-
1919
- * add `dotenvx decrypt` command. works inversely to `dotenvx encrypt`. same flags. ([#294](https://github.com/dotenvx/dotenvx/pull/294))
1920
- * add `--stdout` option to `dotenvx decrypt`. example: `dotenvx decrypt -f .env.production --stdout > somefile.txt` ([#298](https://github.com/dotenvx/dotenvx/pull/298))
1921
- * add `--stdout` option to `dotenvx encrypt`. example: `dotenvx encrypt -f .env.production --stdout > somefile.txt` ([#298](https://github.com/dotenvx/dotenvx/pull/298))
1922
-
1923
- ### Changed
1924
-
1925
- * smarter private key finder. if you rename your file to `secrets.txt` it can still decrypt from `DOTENV_PRIVATE_KEY` by seeking out the invert of the `DOTENV_PUBLIC_KEY` inside `secrets.txt` ([#302](https://github.com/dotenvx/dotenvx/pull/302))
1926
-
1927
- ### Removed
1928
-
1929
- * remove `dotenvx convert` - still at `dotenvx encrypt`
1930
- * remove `dotenvx vault` - still at `dotenvx ext vault`
1931
-
1932
- ## 1.5.0 (2024-06-30)
1933
-
1934
- ### Added
1935
-
1936
- * add help text for dashed values on `set`. example: `dotenvx set KEY -- "- + * ÷"` ([#293](https://github.com/dotenvx/dotenvx/pull/293))
1937
-
1938
- ### Changed
1939
-
1940
- * replace `@inquirer/confirm` and `ora` ([#285](https://github.com/dotenvx/dotenvx/pull/285))
1941
-
1942
- ### Removed
1943
-
1944
- * remove `dotenvx ext hub`, replace with [dotenvx-ext-hub](https://github.com/dotenvx/dotenvx-ext-hub) (install there to continue using hub) ([#291](https://github.com/dotenvx/dotenvx/pull/291))
1945
-
1946
- ## 1.4.0 (2024-06-30)
1947
-
1948
- ### Removed
1949
-
1950
- * remove update notice. let users decide what version they want without nagging them to update ([#288](https://github.com/dotenvx/dotenvx/pull/288))
1951
- * remove `dotenvx hub`. still available at `dotenvx ext hub` ([#290](https://github.com/dotenvx/dotenvx/pull/290))
1952
-
1953
- ## 1.3.2 (2024-06-30)
1954
-
1955
- ### Changed
1956
-
1957
- * 🐞 remove risky `prepare` and `postinstall` scripts and replace with `npm run patch` for development and binary building ([#286](https://github.com/dotenvx/dotenvx/pull/286))
1958
-
1959
- ## 1.3.1 (2024-06-30)
1960
-
1961
- ### Changed
1962
-
1963
- * 🐞 make `patch-package` only run locally with `prepare` ([#283](https://github.com/dotenvx/dotenvx/pull/283))
1964
-
1965
- ## 1.3.0 (2024-06-29)
1966
-
1967
- ### Added
1968
-
1969
- * encrypt specified keys with `--key` option - `dotenvx encrypt -k HELLO` ([#281](https://github.com/dotenvx/dotenvx/pull/281))
1970
-
1971
- ## 1.2.0 (2024-06-29)
1972
-
1973
- ### Added
1974
-
1975
- * handle nested `dotenvx` invocations - `dotenvx run -- dotenvx run -- env` ([#279](https://github.com/dotenvx/dotenvx/pull/279))
1976
-
1977
- ### Changed
1978
-
1979
- * replace `glob` with faster approach ([#278](https://github.com/dotenvx/dotenvx/pull/278))
1980
-
1981
- ## 1.1.0 (2024-06-28)
1982
-
1983
- ### Added
1984
-
1985
- * add TypeScript type definitions ([#272](https://github.com/dotenvx/dotenvx/pull/272))
1986
-
1987
- ## 1.0.1 (2024-06-27)
1988
-
1989
- ### Changed
1990
-
1991
- * 🐞 fix expansion when preset on `process.env` and/or with `--overload` ([#271](https://github.com/dotenvx/dotenvx/pull/271))
1992
-
1993
- ## 1.0.0 (2024-06-24)
1994
-
1995
- 🎉 `dotenvx` has made it to `1.0.0`. There are BREAKING CHANGES ⚠️ .
1996
-
1997
- ### Added
1998
-
1999
- * added `dotenvx set KEY value --plain` to set plain text values
2000
- * added `dotenvx ext` 🔌 as a location to place extensions like `gititgnore`, `precommit`, `ls`, and more. better than cluttering up core features like `run`, `get/set`, and `encrypt`.
2001
- * added `dotenvx pro` 🏆 command with coming soon and [link to GitHub issue](https://github.com/dotenvx/dotenvx/issues/259) (if you wish to be notified of progress. will provide tooling/features for teams)
2002
-
2003
- ### Changed
2004
-
2005
- * `BREAKING ⚠️`
2006
- * turned on encryption by default for `dotenvx set` (use `dotenvx set KEY value --plain` to set plain values)
2007
- * renamed `dotenvx encrypt` to `dotenvx ext vault encrypt` (for managing `.env.vault` files)
2008
- * renamed `dotenvx convert` to `dotenvx encrypt`
2009
- * moved `ls` to `dotenvx ext ls`
2010
- * moved `genexample` to `dotenvx ext genexample`
2011
- * moved `gitignore` to `dotenvx ext gitignore`
2012
- * moved `prebuild` to `dotenvx ext prebuild`
2013
- * moved `precommit` to `dotenvx ext precommit`
2014
- * moved `scan` to `dotenvx ext scan`
2015
- * moved `hub` to `dotenvx ext hub`
2016
- * moved `vault` to `dotenvx ext vault`
2017
- * moved `settings` to `dotenvx ext settings`
2018
-
2019
- (for many of these moved commands, for example `dotenvx genexample`, still work in `1.0.0` but with a large deprecated notice - `DEPRECATION NOTICE: [genexample] has moved to [dotenvx ext genexample]`. Please change your muscle memory to `dotenvx ext genexample`, as these deprecated command paths will be removed in a later minor version. importantly `dotenvx encrypt` was not able to be preserved because as it is now in use for encrypted `.env` files rather than `.env.vault` files)
2020
-
2021
- This is a BIG release that sets the tone for `dotenvx`'s core offering and features while maintaining room for growth. Thank you everyone for your support and usage of `dotenvx` 🙏.
2022
-
2023
- [blog post: "From dotenv to dotenvx: Next Generation Config Management"](https://dotenvx.com/blog/2024/06/24/dotenvx-next-generation-config-management.html)
2024
-
2025
- ## 0.45.0 (2024-06-17)
2026
-
2027
- ### Changed
2028
-
2029
- * Rename `dotenvx vault convert` to `dotenvx vault migrate` ([#251](https://github.com/dotenvx/dotenvx/pull/251))
2030
- * Update `install.sh` regex version check to be `sh` compatible (not just bash)
2031
-
2032
- ## 0.44.6 (2024-06-17)
2033
-
2034
- ### Added
2035
-
2036
- * Added `checksums.txt` as part of each release
2037
-
2038
- ## 0.44.5 (2024-06-16)
2039
-
2040
- ### Changed
2041
-
2042
- * Removed `.github` folder from published binaries on npm (example: [npm code](https://www.npmjs.com/package/@dotenvx/dotenvx-darwin-arm64?activeTab=code))
2043
- * Add help message to `install.sh`
2044
-
2045
- ## 0.44.4 (2024-06-15)
2046
-
2047
- ### Changed
2048
-
2049
- * Automated deployment of `install.sh` along with sanity checks ([#250](https://github.com/dotenvx/dotenvx/pull/250))
2050
-
2051
- ## 0.44.3 (2024-06-15)
2052
-
2053
- ### Added
2054
-
2055
- * Include `CHANGELOG.md` in npm release
2056
- * Include `install.sh` in package release
2057
-
2058
- ## 0.44.2 (2024-06-14)
2059
-
2060
- ### Changed
2061
-
2062
- * Fix license in `package.json` to match project's license BSD-3.
2063
-
2064
- ## 0.44.1 (2024-05-27)
2065
-
2066
- ### Changed
2067
-
2068
- * Respect decryption of zero length strings - `dotenvx set HELLO '' --encrypt` ([#236](https://github.com/dotenvx/dotenvx/pull/236))
2069
-
2070
- ## 0.44.0 (2024-05-22)
2071
-
2072
- ### Added
2073
-
2074
- * Added `options.debug`, `options.verbose`, `options.quiet`, and `options.logLevel` to `.config()` ([#233](https://github.com/dotenvx/dotenvx/pull/233))
2075
-
2076
- ## 0.43.2 (2024-05-21)
2077
-
2078
- ### Changed
2079
-
2080
- * Patch `replace` when replacing double, single, or backticked quoted at anywhere in the `.env` file. ([#232](https://github.com/dotenvx/dotenvx/pull/232))
2081
-
2082
- ## 0.43.1 (2024-05-21)
2083
-
2084
- ### Changed
2085
-
2086
- * Improved `replace` function regex - to handle more edge case scenarios with replacing KEY/values ([#227](https://github.com/dotenvx/dotenvx/pull/227))
2087
-
2088
- ## 0.43.0 (2024-05-20)
2089
-
2090
- ### Added
2091
-
2092
- * Support `require('@dotenvx/dotenvx').config()` for `DOTENV_PRIVATE_KEY` decryption ([#225](https://github.com/dotenvx/dotenvx/pull/225))
2093
-
2094
- ## 0.42.0 (2024-05-20)
2095
-
2096
- ### Added
2097
-
2098
- * 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))
2099
-
2100
- ## 0.41.0 (2024-05-20)
2101
-
2102
- ### Added
2103
-
2104
- * Added `vault convert` command to list convert instructions for converting `.env.vault` to encrypted .env files ([#222](https://github.com/dotenvx/dotenvx/pull/222))
2105
-
2106
- ```sh
2107
- To convert your .env.vault file to encrypted .env file(s):
2108
-
2109
- 1. Run [dotenvx vault decrypt]
2110
- 2. Run [ls -a .env*]
2111
-
2112
- Lastly, convert each .env(.environment) file:
2113
-
2114
- 3. Run [dotenvx convert -f .env.production]
2115
-
2116
- For example:
2117
-
2118
- $ dotenvx convert -f .env
2119
- $ dotenvx convert -f .env.ci
2120
- $ dotenvx convert -f .env.production
2121
-
2122
- Afterward:
2123
-
2124
- Update production with your new DOTENV_PRIVATE_KEY_PRODUCTION located in .env.keys
2125
-
2126
- Learn more at [https://dotenvx.com/docs/quickstart#add-encryption]
2127
- ```
2128
-
2129
- ### Changed
2130
-
2131
- * Rename `encryptme` to `convert` ([#222](https://github.com/dotenvx/dotenvx/pull/222))
2132
-
2133
- ## 0.40.1 (2024-05-19)
2134
-
2135
- ### Added
2136
-
2137
- * Support encryption replacement of multiline values ([#220](https://github.com/dotenvx/dotenvx/pull/220))
2138
-
2139
- ## 0.40.0 (2024-05-18)
2140
-
2141
- ### Added
2142
-
2143
- * Added `dotenvx encryptme` command to convert an entire `.env` file to an encrypted `.env` file. ([#213](https://github.com/dotenvx/dotenvx/pull/213))
2144
-
2145
- ### Changed
2146
-
2147
- * 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))
2148
-
2149
- ### Removed
2150
-
2151
- * Do not warn of missing files for conventions (too noisy) ([#216](https://github.com/dotenvx/dotenvx/pull/216))
2152
-
2153
- ## 0.39.0 (2024-05-14)
2154
-
2155
- ### Added
2156
-
2157
- * Add `--convention` flag to `get`
2158
-
2159
- ### Removed
2160
-
2161
- * Removed help messages like 'in production' and 'in ci'. Too specific and could lead to confusion.
2162
-
2163
- ## 0.38.0 (2024-05-09)
2164
-
2165
- ### Changed
2166
-
2167
- * ⚠️ DEPRECATION NOTICE: the following commands are being moved. Please, update any code and muscle memory you have related to these:
2168
- * `dotenvx encrypt` => `dotenvx vault encrypt`
2169
- * `dotenvx decrypt` => `dotenvx vault decrypt`
2170
- * `dotenvx status` => `dotenvx vault status`
2171
- * ⚠️ 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
2172
-
2173
- ### Added
2174
-
2175
- * Add encryption to your `.env` files with a single command. Pass the `--encrypt` flag. 🎉
2176
-
2177
- ```sh
2178
- $ dotenvx set HELLO World --encrypt
2179
- set HELLO with encryption (.env)
2180
- ```
2181
-
2182
- ![](https://github.com/dotenvx/dotenvx/assets/3848/21f7a529-7a40-44e4-87d4-a72e1637b702)
2183
-
2184
- > 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).
2185
-
2186
- Further notes:
2187
-
2188
- * `DOTENV_PUBLIC_KEY` lives in the `.env` file. You can safely share this with whomever you wish.
2189
- * `DOTENV_PRIVATE_KEY` lives in your `.env.keys` file. Share this only with those you trust to decrypt your secrets.
2190
- * If using encrypted `.env` files like this it is safe to commit them to source code. This makes reviewing PRs that contain secrets much easier.
2191
- * Tell your contributors to contribute a secret using the command `dotenvx set HELLO world --encrypt`.
2192
- * Set your `DOTENV_PRIVATE_KEY` on your server to decrypt these values using `dotenvx run -- yourcommand`
2193
- * You can repeat all this per environment by modifying your set command to `dotenvx set HELLO production -f .env.production --encrypt` (for example)
2194
- * 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.
2195
- * 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.
2196
- * 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.
2197
- * Be patient as we update our documentation to prioritize this improved encryption format for `.env` files.
2198
-
2199
- ## 0.37.1 (2024-04-30)
2200
-
2201
- * warn when running `dotenvx status` against any untracked (not in .env.vault) files ([#196](https://github.com/dotenvx/dotenvx/pull/196))
2202
-
2203
- ## 0.37.0 (2024-04-27)
2204
-
2205
- * add `--convention nextjs` flag to `dotenvx run` ([#193](https://github.com/dotenvx/dotenvx/pull/193))
2206
- * improve `status` error message when decrypt fails or no `.env*` files ([#192](https://github.com/dotenvx/dotenvx/pull/192))
2207
-
2208
- ## 0.36.1 (2024-04-27)
2209
-
2210
- * handle `SIGTERM` ([#191](https://github.com/dotenvx/dotenvx/pull/191))
2211
-
2212
- ## 0.36.0 (2024-04-27)
2213
-
2214
- * add `dotenvx status` command ([#186](https://github.com/dotenvx/dotenvx/pull/186))
2215
- * add `dotenvx decrypt [directory]` argument option ([#186](https://github.com/dotenvx/dotenvx/pull/186))
2216
- * add `dotenvx decrypt --environment` flag option ([#186](https://github.com/dotenvx/dotenvx/pull/186))
2217
- * normalize windows `\` paths ([#186](https://github.com/dotenvx/dotenvx/pull/186))
2218
-
2219
- ## 0.35.1 (2024-04-19)
2220
-
2221
- ### Changed
2222
-
2223
- * exit code `1` if `get KEY` not found/undefined ([#185](https://github.com/dotenvx/dotenvx/pull/185))
2224
-
2225
- ## 0.35.0 (2024-04-19)
2226
-
2227
- ### Added
2228
-
2229
- * 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))
2230
-
2231
- ## 0.34.0 (2024-04-16)
2232
-
2233
- ### Changed
2234
-
2235
- * make `hub push` more forgiving by permitting full filepath like `hub push directory/.env.keys` ([#180](https://github.com/dotenvx/dotenvx/pull/180))
2236
- * add note on generated `.env.example` ([#181](https://github.com/dotenvx/dotenvx/pull/181))
2237
-
2238
- ## 0.33.1 (2024-04-15)
2239
-
2240
- ### Changed
2241
-
2242
- * patch injection around falsy values ([#177](https://github.com/dotenvx/dotenvx/pull/177))
2243
-
2244
- ## 0.33.0 (2024-04-15)
2245
-
2246
- ### Added
2247
-
2248
- * 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))
2249
-
2250
- ## 0.32.0 (2024-04-09)
2251
-
2252
- ### Changed
2253
-
2254
- * quiet exit code 1 message ([#173](https://github.com/dotenvx/dotenvx/pull/173))
2255
-
2256
- ## 0.31.1 (2024-04-08)
2257
-
2258
- ### Changed
2259
-
2260
- * improve error messages ([#171](https://github.com/dotenvx/dotenvx/pull/171))
2261
-
2262
- ## 0.31.0 (2024-04-08)
2263
-
2264
- ### Added
2265
-
2266
- * add `hub logout` command ([#170](https://github.com/dotenvx/dotenvx/pull/170))
2267
-
2268
- ## 0.30.2 (2024-04-08)
2269
-
2270
- ### Changed
2271
-
2272
- * small fixes for windows users related to `hub open` and `hub push` ([#169](https://github.com/dotenvx/dotenvx/pull/169))
2273
-
2274
- ## 0.30.1 (2024-04-07)
2275
-
2276
- ### Changed
2277
-
2278
- * 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))
2279
-
2280
- ## 0.30.0 (2024-04-06)
2281
-
2282
- ### Added
2283
-
2284
- * `dotenvx get --quiet` will display the value no matter what (adds a `blank0` logger level) ([#161](https://github.com/dotenvx/dotenvx/pull/161))
2285
-
2286
- ### Changed
2287
-
2288
- * refactor `dotenvx get` to use `run` under the hood
2289
-
2290
- ## 0.29.2 (2024-04-05)
2291
-
2292
- ### Changed
2293
-
2294
- * fix broken `hub login` and `hub open` ([#160](https://github.com/dotenvx/dotenvx/pull/160))
2295
-
2296
- ## 0.29.1 (2024-04-04)
2297
-
2298
- ### Changed
2299
-
2300
- * 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))
2301
-
2302
- ## 0.29.0 (2024-04-04)
2303
-
2304
- ### Changed
2305
-
2306
- * 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))
2307
-
2308
- ## 0.28.0 (2024-04-03)
2309
-
2310
- ### Added
2311
-
2312
- * 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))
2313
-
2314
- ## 0.27.2 (2024-04-02)
2315
-
2316
- ### Added
2317
-
2318
- * add windows postrelease step to check that `dotenvx.exe` is functional immediately after release ([#141](https://github.com/dotenvx/dotenvx/pull/141))
2319
-
2320
- ### Changed
2321
-
2322
- * replace `package-json` with `undici` ([#146](https://github.com/dotenvx/dotenvx/pull/146))
2323
- * prune redundant packages ([#148](https://github.com/dotenvx/dotenvx/pull/148))
2324
- * return current version if remote version fails ([#149](https://github.com/dotenvx/dotenvx/pull/149))
2325
- * switch to our own update notice mechanism (eliminating multiple deps) ([#151](https://github.com/dotenvx/dotenvx/pull/151))
2326
-
2327
- ## 0.27.1 (2024-03-26)
2328
-
2329
- ### Added
2330
-
2331
- * provide `.zip` download option for windows executable ([#140](https://github.com/dotenvx/dotenvx/pull/140))
2332
-
2333
- ### Removed
2334
-
2335
- * remove `got` from top level deps ([#139](https://github.com/dotenvx/dotenvx/pull/139))
2336
-
2337
- ## 0.27.0 (2024-03-25)
2338
-
2339
- ### Changed
2340
-
2341
- * move `update-notifier` into `lib/helpers` for more control over `got` lib ([#138](https://github.com/dotenvx/dotenvx/pull/138))
2342
- * 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))
2343
-
2344
- ## 0.26.0 (2024-03-18)
2345
-
2346
- ### Added
2347
-
2348
- * add `hub pull` command to pull a repo's `.env.keys` down. ([#129](https://github.com/dotenvx/dotenvx/pull/129))
2349
-
2350
- ## 0.25.1 (2024-03-14)
2351
-
2352
- ### Changed
2353
-
2354
- * 🐞 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))
2355
-
2356
- ## 0.25.0 (2024-03-12)
2357
-
2358
- ### Added
2359
-
2360
- * expand `hub push` with `[directory]` option. use for monorepos. for example: `dotenvx hub push apps/backend` ([#121](https://github.com/dotenvx/dotenvx/pull/121))
2361
-
2362
- ## 0.24.0 (2024-02-29)
2363
-
2364
- ### Added
2365
-
2366
- * add command substitution. for example `DATABASE_URL="postgres://$(whoami)@localhost/my_database"` ([#113](https://github.com/dotenvx/dotenvx/pull/113))
2367
-
2368
- ## 0.23.0 (2024-02-28)
2369
-
2370
- ### Added
2371
-
2372
- * 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))
2373
-
2374
- ## 0.22.0 (2024-02-27)
2375
-
2376
- ### Added
2377
-
2378
- * `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))
2379
-
2380
- ## 0.21.0 (2024-02-27)
2381
-
2382
- ### Added
2383
-
2384
- * expose `genexample` function on `lib/main.js` for export convenience ([#102](https://github.com/dotenvx/dotenvx/pull/102))
2385
-
2386
- ### Changed
2387
-
2388
- * rely on `which` npm module to find system command path for user inputted command(s) ([#105](https://github.com/dotenvx/dotenvx/pull/105))
2389
-
2390
- ### Removed
2391
-
2392
- * remove `main.inject` function ([#102](https://github.com/dotenvx/dotenvx/pull/102))
2393
-
2394
- ## 0.20.2 (2024-02-24)
2395
-
2396
- ### Added
2397
-
2398
- * added support for `--env` flag on the `.env.vault` decryption portion of `run` ([#101](https://github.com/dotenvx/dotenvx/pull/101))
2399
-
2400
- ## 0.20.1 (2024-02-24)
2401
-
2402
- ### Changed
2403
-
2404
- * use system command path ([#98](https://github.com/dotenvx/dotenvx/pull/98))
2405
-
2406
- ## 0.20.0 (2024-02-23)
2407
-
2408
- ### Changed
2409
-
2410
- * added `--env` flag. for example, `dotenvx --env="HELLO=World" -- yourcommand` ([#94](https://github.com/dotenvx/dotenvx/pull/94))
2411
-
2412
- ## 0.19.1 (2024-02-22)
2413
-
2414
- ### Changed
2415
-
2416
- * patched up the `precommit` command ([#91](https://github.com/dotenvx/dotenvx/pull/91))
2417
-
2418
- ## 0.19.0 (2024-02-22)
2419
-
2420
- ### Added
2421
-
2422
- * added `scan` command to scan for possible leaked secrets in your code ([#90](https://github.com/dotenvx/dotenvx/pull/90))
2423
-
2424
- ## 0.18.0 (2024-02-21)
2425
-
2426
- ### Added
2427
-
2428
- * 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))
2429
-
2430
- ## 0.17.1 (2024-02-20)
2431
-
2432
- ### Changed
2433
-
2434
- * expose `main.encrypt` and `main.ls` functions
2435
-
2436
- ## 0.17.0 (2024-02-19)
2437
-
2438
- ### Added
2439
-
2440
- * 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))
2441
-
2442
- ## 0.16.1 (2024-02-19)
2443
-
2444
- ### Changed
2445
-
2446
- * bumped `dotenv` version to fix `encrypt` bug
2447
-
2448
- ## 0.16.0 (2024-02-17)
2449
-
2450
- ### Added
2451
-
2452
- * added `ls` command to list all your `.env*` files ([#80](https://github.com/dotenvx/dotenvx/pull/80))
2453
- * added `--env-file` option `ls` ([#82](https://github.com/dotenvx/dotenvx/pull/82))
2454
- * optionally specify `--env-vault-file` path to `.env.vault` (defaults to `.env.vault`) ([#73](https://github.com/dotenvx/dotenvx/pull/73))
2455
-
2456
- ## 0.15.4 (2024-02-11)
2457
-
2458
- ### Changed
2459
-
2460
- * 🐞 patch `--overload` flag logic ([#66](https://github.com/dotenvx/dotenvx/pull/66))
2461
-
2462
- ## 0.15.3 (2024-02-11)
2463
-
2464
- ### Changed
2465
-
2466
- * 🐞 fix undici readablestream error ([#65](https://github.com/dotenvx/dotenvx/pull/65))
2467
-
2468
- ## 0.15.2 (2024-02-11)
2469
-
2470
- ### Changed
2471
-
2472
- * switch from axios to undici ([#59](https://github.com/dotenvx/dotenvx/pull/59))
2473
- * bump `dotenv-expand` ([#63](https://github.com/dotenvx/dotenvx/pull/63))
2474
-
2475
- ## 0.15.1 (2024-02-10)
2476
-
2477
- ### Changed
2478
-
2479
- * use improved dotenv expansion ([#62](https://github.com/dotenvx/dotenvx/pull/62))
2480
-
2481
- ## 0.15.0 (2024-02-06)
2482
-
2483
- ### Added
2484
-
2485
- * add expansion ([#60](https://github.com/dotenvx/dotenvx/pull/60))
2486
- * use `dotenvx.com` ([#56](https://github.com/dotenvx/dotenvx/pull/56))
2487
-
2488
- ## 0.14.1 (2024-01-27)
2489
-
2490
- ### Changed
2491
-
2492
- * patch esm issue. use update-notifier ^5.1.0
2493
-
2494
- ## 0.14.0 (2024-01-27)
2495
-
2496
- ### Added
2497
-
2498
- * Added `genexample` command. Generate `.env.example` from your `.env` file. ([#49](https://github.com/dotenvx/dotenvx/pull/49))
2499
- * couple security patches ([#50](https://github.com/dotenvx/dotenvx/pull/50), [#51](https://github.com/dotenvx/dotenvx/pull/51))
2500
-
2501
- ## 0.13.0 (2024-01-27)
2502
-
2503
- ### Added
2504
-
2505
- * Added `decrypt` command. Decrypt `.env.vault` to prospective `.env*` files. `.env.keys` must be present. ([#48](https://github.com/dotenvx/dotenvx/pull/48))
2506
-
2507
- ## 0.12.0 (2024-01-26)
2508
-
2509
- ### Added
2510
-
2511
- * Append to `.gitignore` with `gitignore` command (also `.dockerignore`, `.npmignore`, and `.vercelignore` if existing) ([#47](https://github.com/dotenvx/dotenvx/pull/47))
2512
-
2513
- ## 0.11.0 (2024-01-25)
2514
-
2515
- ### Removed
2516
-
2517
- * no longer append to `*ignore` files automatically. too invasive. will provide as separate cli command ([#45](https://github.com/dotenvx/dotenvx/pull/45))
2518
-
2519
- ## 0.10.6 (2024-01-24)
2520
-
2521
- ### Changed
2522
-
2523
- * Improve error message when decryption fails ([#40](https://github.com/dotenvx/dotenvx/pull/40))
2524
-
2525
- ## 0.10.5 (2024-01-17)
2526
-
2527
- ### Changed
2528
-
2529
- * Rename `predockerbuild` command to `prebuild` ([#36](https://github.com/dotenvx/pull/36))
2530
-
2531
- ## 0.10.4 (2024-01-17)
2532
-
2533
- ### Added
2534
-
2535
- * Add `predockerbuild` command to prevent including `.env` file in your docker builds ([#35](https://github.com/dotenvx/pull/35))
2536
-
2537
- ## 0.10.3 (2024-01-17)
2538
-
2539
- ### Changed
2540
-
2541
- * If dotenvx is missing tell user how to install it from pre-commit ([#34](https://github.com/dotenvx/pull/34))
2542
- * Add help notice for ci (when .env file not present) ([#33](https://github.com/dotenvx/pull/33))
2543
-
2544
- ## 0.10.2 (2024-01-14)
2545
-
2546
- ### Changed
2547
-
2548
- * Improve error message when custom `--env-file` passed ([#32](https://github.com/dotenvx/pull/32))
2549
-
2550
- ## 0.10.1 (2024-01-14)
2551
-
2552
- ### Changed
2553
-
2554
- * Adjust `precommit` verbosity and coloring
2555
- * Add `--install` flag to precommit - installs to `.git/hooks/pre-commit` ([#31](https://github.com/dotenvx/dotenvx/pull/31))
2556
-
2557
- ## 0.10.0 (2024-01-13)
2558
-
2559
- ### Added
2560
-
2561
- * Added `dotenvx precommit` command and instructions for git pre-commit hook ([#30](https://github.com/dotenvx/dotenvx/pull/30))
2562
-
2563
- ## 0.9.0 (2024-01-13)
2564
-
2565
- ### Changed
2566
-
2567
- * Remove `.flaskenv` from appends ([#27](https://github.com/dotenvx/dotenvx/pull/27))
2568
- * Improved error message when .env file is missing ([#28](https://github.com/dotenvx/dotenvx/pull/28))
2569
-
2570
- ## 0.8.4 (2024-01-11)
2571
-
2572
- ### Changed
2573
-
2574
- Load `axios` with a try/catch depending on context 🐞 ([#24](https://github.com/dotenvx/dotenvx/pull/24))
2575
-
2576
- ## 0.8.3 (2024-01-11)
2577
-
2578
- ### Changed
2579
-
2580
- Patched `helpers.guessEnvironment` bug when filepath contained a `.` in the folder name. 🐞 ([#23](https://github.com/dotenvx/dotenvx/pull/23))
2581
-
2582
- ## 0.8.2 (2024-01-04)
2583
-
2584
- ### Changed
2585
-
2586
- Change path to axios in attempt for `pkg` to build correctly.
2587
-
2588
- ## 0.8.1 (2024-01-04)
2589
-
2590
- ### Added
2591
-
2592
- Add axios (missing) to `package-lock.json`
2593
-
2594
- ## 0.8.0 (2024-01-04)
2595
-
2596
- ### Added
2597
-
2598
- Added [hub](https://hub.dotenvx.com) support. 🎉 ([#16](https://github.com/dotenvx/dotenvx/pull/16))
2599
-
2600
- ## 0.7.4 (2023-12-22)
2601
-
2602
- ### Changed
2603
-
2604
- Create binaries with root:root defaults. ([#21](https://github.com/dotenvx/dotenvx/pull/21))
2605
-
2606
- ## 0.7.3 (2023-12-22)
2607
-
2608
- ### Added
2609
-
2610
- Tell user about undefined subprocess with additional `debug` logs ([#19](https://github.com/dotenvx/dotenvx/pull/19))
2611
-
2612
- ## 0.7.2 (2023-12-22)
2613
-
2614
- ### Added
2615
-
2616
- `debug` other signals send to execa process ([#18](https://github.com/dotenvx/dotenvx/pull/18))
2617
-
2618
- ## 0.7.1 (2023-12-22)
2619
-
2620
- ### Changed
2621
-
2622
- Fix missed package.json#version
2623
-
2624
- ## 0.7.0 (2023-12-22)
2625
-
2626
- ### Added
2627
-
2628
- handle `SIGINT` ([#17](https://github.com/dotenvx/dotenvx/pull/17))
2629
-
2630
- ## 0.6.13 (2023-12-02)
2631
-
2632
- write to `/latest` only for [releases](https://github.com/dotenvx/releases) repo ([#15](https://github.com/dotenvx/dotenvx/pull/15))
2633
-
2634
- ## 0.6.12 (2023-12-01)
2635
-
2636
- ### Changed
2637
-
2638
- 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))
2639
-
2640
- ## 0.6.11 (2023-12-01)
2641
-
2642
- ### Added
2643
-
2644
- tell user what to do next ([#13](https://github.com/dotenvx/dotenvx/pull/13))
2645
-
2646
- ## 0.6.10 (2023-12-01)
2647
-
2648
- ### Patched
2649
-
2650
- do not log when error code is 0 ([#12](https://github.com/dotenvx/dotenvx/pull/12))
2651
-
2652
- ## 0.6.9 (2023-12-01)
2653
-
2654
- ### Added
2655
-
2656
- tell user when no changes to re-encrypt ([#11](https://github.com/dotenvx/dotenvx/pull/11))
2657
-
2658
- ## 0.6.8 (2023-12-01)
2659
-
2660
- ### Added
2661
-
2662
- added help text when user's command fails. include link to report issue ([#10](https://github.com/dotenvx/dotenvx/pull/10))
2663
-
2664
- ## 0.6.7 (2023-12-01)
2665
-
2666
- ## Added
2667
-
2668
- added next step help message when running `dotenvx run` with no argument ([#9](https://github.com/dotenvx/dotenvx/pull/9))
2669
-
2670
-
2671
- ## 0.6.6 (2023-12-01)
2672
-
2673
- ### Added
2674
-
2675
- help includes a command example as well as a full working 'try it out' example ([#8](https://github.com/dotenvx/dotenvx/pull/8))
2676
-
2677
- ## 0.6.5 (2023-12-01)
2678
-
2679
- ### Changed
2680
-
2681
- made the info messaging more succinct ([#7](https://github.com/dotenvx/dotenvx/pull/7))
2682
-
2683
- ## 0.6.4 (2023-11-29)
2684
-
2685
- ### Added
2686
-
2687
- added tagged images to [hub.docker.com/u/dotenv](https://hub.docker.com/r/dotenv/dotenvx/tags)
2688
-
2689
- ## 0.6.3 (2023-11-29)
2690
-
2691
- ### Changed
2692
-
2693
- fixed the `.env.keys` file comment. spacing was off. ([#6](https://github.com/dotenvx/dotenvx/pull/6))
2694
-
2695
- ## 0.6.2 (2023-11-28)
2696
-
2697
- ### Added
2698
-
2699
- added help text to `encrypt`. ([#5](https://github.com/dotenvx/dotenvx/pull/5))
2700
-
2701
- ## 0.6.1 (2023-11-28)
2702
-
2703
- ### Changed
2704
-
2705
- 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))
2706
-
2707
- ## 0.6.0 (2023-11-28)
2708
-
2709
- ### Added
2710
-
2711
- prevent committing a `.env*` file to code. append to `.gitignore`, `.dockerignore`, `.vercelignore`, and `.npmignore` 🗂️ ([#3](https://github.com/dotenvx/dotenvx/pull/3))
2712
-
2713
- ## 0.5.0 (2023-11-27)
2714
-
2715
- ### Added
2716
-
2717
- `run` support for `.env.vault` files 🔑 ([#2](https://github.com/dotenvx/dotenvx/pull/2))
2718
-
2719
- ## 0.4.0 (2023-11-27)
2720
-
2721
- ### Added
2722
-
2723
- `encrypt` 🔐 ([#1](https://github.com/dotenvx/dotenvx/pull/1))
2724
-
2725
- ## 0.3.9 and prior (2023-11-26)
2726
-
2727
- Please see commit history.