fix(deps): update dependency dotenv to v16
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
dotenv | dependencies | major | ^10.0.0 -> ^16.0.0 |
Release Notes
motdotla/dotenv (dotenv)
v16.4.5
Changed
-
🐞 fix recent regression when usingpath
option. return to historical behavior: do not attempt to auto find.env
ifpath
set. (regression was introduced in16.4.3
) #814
v16.4.4
Changed
-
🐞 Replaced chaining operator?.
with old school&&
(fixing node 12 failures) #812
v16.4.3
Changed
- Fixed processing of multiple files in
options.path
#805
v16.4.2
Changed
- Changed funding link in package.json to
dotenvx.com
v16.4.1
- Patch support for array as
path
option #797
v16.4.0
- Add
error.code
to error messages around.env.vault
decryption handling #795 - Add ability to find
.env.vault
file when filename(s) passed as an array #784
v16.3.2
Added
- Add debug message when no encoding set #735
Changed
v16.3.1
Added
- Add missing type definitions for
processEnv
andDOTENV_KEY
options. #756
v16.3.0
Added
- Optionally pass
DOTENV_KEY
to options rather than relying onprocess.env.DOTENV_KEY
. Defaults toprocess.env.DOTENV_KEY
#754
v16.2.0
Added
- Optionally write to your own target object rather than
process.env
. Defaults toprocess.env
. #753 - Add import type URL to types file #751
v16.1.4
Added
- Added
.github/
to.npmignore
#747
v16.1.3
Removed
- Removed
browser
keys forpath
,os
, andcrypto
in package.json. These were set to false incorrectly as of 16.1. Instead, if using dotenv on the front-end make sure to include polyfills forpath
,os
, andcrypto
. node-polyfill-webpack-plugin provides these.
v16.1.2
Changed
- Exposed private function
_configDotenv
asconfigDotenv
. #744
v16.1.1
Added
- Added type definition for
decrypt
function
Changed
- Fixed
{crypto: false}
inpackageJson.browser
v16.1.0
Added
- Add
populate
convenience method #733 - Accept URL as path option #720
- Add dotenv to
npm fund
command - Spanish language README #698
- Add
.env.vault
support.🎉 (#730)
.env.vault
extends the .env
file format standard with a localized encrypted vault file. Package it securely with your production code deploys. It's cloud agnostic so that you can deploy your secrets anywhere – without risky third-party integrations. read more
Changed
- Fixed "cannot resolve 'fs'" error on tools like Replit #693
v16.0.3
Changed
- Added library version to debug logs (#682)
v16.0.2
Added
- Export
env-options.js
andcli-options.js
in package.json for use with downstream dotenv-expand module
v16.0.1
Changed
- Minor README clarifications
- Development ONLY: updated devDependencies as recommended for development only security risks (#658)
v16.0.0
Added
-
Breaking: Backtick support
🎉 (#615)
If you had values containing the backtick character, please quote those values with either single or double quotes.
v15.0.1
Changed
- Properly parse empty single or double quoted values
🐞 (#614)
v15.0.0
v15.0.0
is a major new release with some important breaking changes.
Added
- Breaking: Multiline parsing support (just works. no need for the flag.)
Changed
-
Breaking:
#
marks the beginning of a comment (UNLESS the value is wrapped in quotes. Please update your.env
files to wrap in quotes any values containing#
. For example:SECRET_HASH="something-with-a-#-hash"
).
..Understandably, (as some teams have noted) this is tedious to do across the entire team. To make it less tedious, we recommend using dotenv cli going forward. It's an optional plugin that will keep your .env
files in sync between machines, environments, or team members.
Removed
- Breaking: Remove multiline option (just works out of the box now. no need for the flag.)
v14.3.2
Changed
- Preserve backwards compatibility on values containing
#
🐞 (#603)
v14.3.1
Changed
- Preserve backwards compatibility on exports by re-introducing the prior in-place exports
🐞 (#606)
v14.3.0
Added
- Add
multiline
option🎉 (#486)
v14.2.0
Added
- Add
dotenv_config_override
cli option - Add
DOTENV_CONFIG_OVERRIDE
command line env option
v14.1.1
Added
- Add React gotcha to FAQ on README
v14.1.0
Added
- Add
override
option🎉 (#595)
v14.0.1
Added
- Log error on failure to load
.env
file (#594)
v14.0.0
Added
-
Breaking: Support inline comments for the parser
🎉 (#568)
v13.0.1
Changed
- Hide comments and newlines from debug output (#404)
v13.0.0
Added
-
Breaking: Add type file for
config.js
(#539)
v12.0.4
Changed
- README updates
- Minor order adjustment to package json format
v12.0.3
Changed
- Simplified jsdoc for consistency across editors
v12.0.2
Changed
- Improve embedded jsdoc type documentation
v12.0.1
Changed
- README updates and clarifications
v12.0.0
Removed
- Breaking: drop support for Flow static type checker (#584)
Changed
- Move types/index.d.ts to lib/main.d.ts (#585)
- Typescript cleanup (#587)
- Explicit typescript inclusion in package.json (#566)
v11.0.0
Changed
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot. The local configuration can be found in the SI Renovate Bot repository.