@dotenvx/dotenvx 2.38.2 → 3.0.0-beta.2

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