All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
1.27.0 (2025-06-25)
- Remove
localcommands (#359)
Note: Migrate to dotenvx for locally encrypted .env files.
1.26.2 (2024-06-17)
- automate publishing tarballs to releases going forward (for use with homebrew)
1.26.1 (2024-03-01)
- bumped
axiosdependency (#321)
1.26.0 (2024-01-23)
- Mark
localcommands as deprecated and warn user (to be removed in later release) (#331)
- Append to vercelignore file if it exists 🔒 (#297)
1.25.0 (2023-07-08)
- Append to vercelignore file if it exists 🔒 (#297)
1.24.0 (2023-07-02)
- Context-aware (have or don't have a .env file) next step messaging
- Help comments in generated
.env,.env.vault,.env.keys, and.env.mefiles - Ability to configure the
DOTENV_API_URL🎉 (makes way for eventual option to self-host dotenv-vault's cloud service) b9420f0
1.23.3 (2023-05-31)
- Bumped
dotenvto16.1.3
1.23.2 (2023-05-31)
- 🐞 Fix regression when running commands dependent on reading from
.env.vaultand.env.keysfiles. #281
1.23.1 (2023-05-30)
- Updated
dotenvlibrary
1.23.0 (2023-05-30)
- Removed
dotenv-vault-core. It is deprecated asdotenv >= 16.1.0has added first-class support for.env.vaultfiles
1.22.1 (2023-05-30)
- README updates to clarify commands
1.22.0 (2023-05-05)
- Node
>=16required. Dropped support for 15.
1.21.0 (2023-05-05)
- Node
>=15required. Dropped support for 14.
1.20.0 (2023-05-05)
- Node
>=14required. Dropped support for 12 and 13.
1.19.1 (2023-05-02)
- Fixed
local keyscommand when.env.vaultis missing. #274
1.19.0 (2023-04-06)
- Added
localonly commands #267
local build- Build .env.vault from local onlylocal decrypt- Decrypt .env.vault from local onlylocal keys- List .env.vault local decryption keys from .env.keys file
These are commands that allow you to generate a secure .env.vault without needing an account at dotenv.org. There's a little more manual work required by the developer, but this way a developer can choose to use the .env.vault standard without relying on the dotenv-vault service. See README for instructions on how to use.
1.18.0 (2023-01-27)
- Added
decryptcommand #236
1.17.0 (2022-12-13)
1.16.3 (2022-10-28)
- Update
dotenv-vault-coredependency to patch
1.16.2 (2022-10-28)
- Update
dotenv-vault-coredependency
1.16.1 (2022-10-28)
- Update
rotatekeyhelp messages #158
1.16.0 (2022-10-26)
- Add
rotatekeycommand #156
1.15.0 (2022-10-23)
- Use dotenv-vault-core to expose
.configfor use with decrypting .env.vault #155
1.14.0 (2022-10-14)
- Add
[environment]argument tokeyscommand #152
- Improve error messaging when missing encrypted environment
1.13.9 (2022-09-29)
- Improve messaging around missing DOTENV_KEY
1.13.8 (2022-09-29)
- Add warning note that DOTENV_KEY is not set - when using in production.
1.13.7 (2022-09-29)
- Patch issue with accessing package.json
1.13.6 (2022-09-29)
- Added package version in debug logging #142
- Added
overrideanddebugoptions torequire('dotenv-vault').config(options)#141
- Improved messaging for
buildcommand
- Change format of expected
DOTENV_KEYvalue.
- Added beta
keyscommand. Contact support@dotenv.org for more information.
- Added beta
buildcommand. Contact support@dotenv.org for more information.
- Added beta
.config()method. Contact support@dotenv.org for more information.
- Update
pullcommand params to useDOTENV_VAULTandDOTENV_ME
- Ignore .flaskenv files. Append to .gitignore, .dockerignore, and .npmignore
- Bold suggested command so the developer doesn't have to read so much text during an aborted process.
- Various small cosmetic changes 🧹
- Added
statuscommand - for example,dotenv-vault status. Check the operational status of dotenv-vault's systems. discussion
- Added
versionscommand - for example,dotenv-vault versions [environment]discussion - Added
@versionoption topullcommand - for example,dotenv-vault pull production@v24 - Added
.previousfile generation when pulling. This way if you accidently override your local .env file you can still access it. #89
- Added
[environment]argument toopencommand - for example,dotenv-vault open staging
- Added
logoutcommand for revoking .env.me credential(s) 🔐 - Abort without stacktrace when quitting prompt with
q - Improved error formatting
- When specifying
developmentenvironment, select.env.developmentfirst and fallback to.envfile
- Added
dotenv-vault whoamicommand. Displays the current logged in user. 🦉
- Add
-y,--yesflags to automatically continue through an interactive prompts. ⛳️ - Added more helpful message when asking to say yes interactively.
- Clarifications in README and removed minimum node 14 requirement. Working with 12 and lower.
- Clarified informational language on
newandlogincommands 🧹
- Add informative text to generation of
.env.vaultand.env.mefile (#64)
- Add optional
dotenvMeargument tologincommand to avoid the browser hop 🎉 (#63)
- Prompt before opening browser 🧹 (#62)
- Changed .catch error handling for server machines that do not have browsers 🐞
- Display url for
new,login, andopencommands. This makes it possible to configure dotenv-vault from server machines (lacking browsers) 🐞 (#61)
- Removed use of 'node:fs' and 'node:crypto' that were causing install issues on older versions of node 🧹(#57)
- Time out check on
newandloginafter a couple minutes 🧹(#56)
- Add
opencommand. Opens directly to project's vault page 🎉 (#55)
- Create .env.vault in place of .env.project. (.env.project files will still continue to work) (#53)
newcommand polls and writes to .env.project automatically (#52)
- Smartly prompt for login as part of
pushandpullcommands
- Add terminal colors 🎨
- Protect developer from accidentally overwriting .env.project file 🔐
- Add
logincommand 🎉 - Update
pushandpullcommands to be less verbose 🧹 (#51)
- Require node 14 or greater. 🧹 (#50)
- Turned on
esModuleInteropin typescript config. 🧹 (#49) - Minor dependency updates
- Update dependencies. 🧹 (#42)
- Update git, npm, and docker ignore process to support .env.vault files (#41)
- Support pulling .env.example file - configurable in project settings
npx dotenv-vault@latest pull example🎉 (#40)
- Breaking: Consistent ordering of arguments. push/pull [environment] [filename] 🎉 (#38)
On push automatically infer environment from filename 🎉 (#37)
Optionally pass .env.project identifier to new command (bypassing user prompt) 🎉 (#36)
Remove deprecated crypto dependency 🧹 (#31)
Append to npmignore file if it exists 🔒 (#29)
Modified local: and remote: spacing for better visual log experience 🧑💻 (#28)
Remove comment in .env.me for better DSX 🧑💻 (#21)
Append to dockerignore file if it exists 🔒 (#19)
Main environment no longer defaults to development. Instead, Vault's API smartly determines the default depending on your project's custom settings - in most cases this will still be development. (#14)
Respect -- dotenvMe flag. 🐞 (#13)
push to other environments. 🎉 (#12)
Prefill project name on new command 🎉 (#11)
Custom environments 🎉 (#10)
Please see commit history.