All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
1.18.0 (2023-01-27)
- Added
decrypt
command #236
1.17.0 (2022-12-13)
1.16.3 (2022-10-28)
- Update
dotenv-vault-core
dependency to patch
1.16.2 (2022-10-28)
- Update
dotenv-vault-core
dependency
1.16.1 (2022-10-28)
- Update
rotatekey
help messages #158
1.16.0 (2022-10-26)
- Add
rotatekey
command #156
1.15.0 (2022-10-23)
- Use dotenv-vault-core to expose
.config
for use with decrypting .env.vault #155
1.14.0 (2022-10-14)
- Add
[environment]
argument tokeys
command #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
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.