All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
1.13.10 (2022-09-29)
- 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
override
anddebug
options torequire('dotenv-vault').config(options)
#141
- Improved messaging for
build
command
- Change format of expected
DOTENV_KEY
value.
- Added beta
keys
command. Contact [email protected] for more information.
- Added beta
build
command. Contact [email protected] for more information.
- Added beta
.config()
method. Contact [email protected] for more information.
- Update
pull
command params to useDOTENV_VAULT
andDOTENV_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
status
command - for example,dotenv-vault status
. Check the operational status of dotenv-vault's systems. discussion
- Added
versions
command - for example,dotenv-vault versions [environment]
discussion - Added
@version
option topull
command - for example,dotenv-vault pull production@v24
- Added
.previous
file generation when pulling. This way if you accidently override your local .env file you can still access it. #89
- Added
[environment]
argument toopen
command - for example,dotenv-vault open staging
- Added
logout
command for revoking .env.me credential(s) 🔐 - Abort without stacktrace when quitting prompt with
q
- Improved error formatting
- When specifying
development
environment, select.env.development
first and fallback to.env
file
- Added
dotenv-vault whoami
command. Displays the current logged in user. 🦉
- Add
-y
,--yes
flags 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
new
andlogin
commands 🧹
- Add informative text to generation of
.env.vault
and.env.me
file (#64)
- Add optional
dotenvMe
argument tologin
command 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
, andopen
commands. 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
new
andlogin
after a couple minutes 🧹(#56)
- Add
open
command. 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)
new
command polls and writes to .env.project automatically (#52)
- Smartly prompt for login as part of
push
andpull
commands
- Add terminal colors 🎨
- Protect developer from accidentally overwriting .env.project file 🔐
- Add
login
command 🎉 - Update
push
andpull
commands to be less verbose 🧹 (#51)
- Require node 14 or greater. 🧹 (#50)
- Turned on
esModuleInterop
in 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.