All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
1.26.2 (2024-06-17)
- automate publishing tarballs to releases going forward (for use with homebrew)
1.26.1 (2024-03-01)
- bumped
axios
dependency (#321)
1.26.0 (2024-01-23)
- Mark
local
commands 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.me
files - 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
dotenv
to16.1.3
1.23.2 (2023-05-31)
- 🐞 Fix regression when running commands dependent on reading from
.env.vault
and.env.keys
files. #281
1.23.1 (2023-05-30)
- Updated
dotenv
library
1.23.0 (2023-05-30)
- Removed
dotenv-vault-core
. It is deprecated asdotenv >= 16.1.0
has added first-class support for.env.vault
files
1.22.1 (2023-05-30)
- README updates to clarify commands
1.22.0 (2023-05-05)
- Node
>=16
required. Dropped support for 15.
1.21.0 (2023-05-05)
- Node
>=15
required. Dropped support for 14.
1.20.0 (2023-05-05)
- Node
>=14
required. Dropped support for 12 and 13.
1.19.1 (2023-05-02)
- Fixed
local keys
command when.env.vault
is missing. #274
1.19.0 (2023-04-06)
- Added
local
only 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
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.