dotenv-org / dotenv-vault-core

DEPRECATED: Use motdotla/dotenv which added support for .env.vault May 30, 2023.
https://github.com/motdotla/dotenv
9 stars 4 forks source link

Breaking change in 0.7.1 #16

Closed zaq42 closed 1 year ago

zaq42 commented 1 year ago

After updating: dotenv from 16.0.3 to 16.1.0, and dotenv-vault-core from 0.7.0 to 0.7.1,

Our application fails to start, during require('dotenv-vault-core').config() with the error:

[dotenv-vault-core@0.7.1][INFO] Loading env from encrypted .env.vault
[dotenv@16.1.0][INFO] Loading env from encrypted .env.vault
main: Error: NOT_FOUND_DOTENV_ENVIRONMENT: Cannot locate environment DOTENV_VAULT_CI in your .env.vault file. Run 'npx dotenv-vault build' to include it.

I understand that dotenv-vault-core is now deprecated, but it shouldn't break.

zaq42 commented 1 year ago

FYI, not a blocker for us. We've implemented the recommended change.

It might be a surprise for others.