dotenv-expand
1000.0.0 · 29 Jul 2026BSD-3-Clause62.5M / weekRepositoryHomepagenpmAtom feed
30 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 1000.x · latest line
1000.0.0
29 Jul 2026- Breaking
Require Node.js 16 or later.
NEW 🎉: Command substitution and encryption are now supported automatically during expansion.
FIXED: Correct empty-variable expansion to distinguish between variables that are unset (
-and+) and variables that are empty (:-and:+).
Added
NEW 🎉: Command substitution and encryption are now supported automatically during expansion.
These improvements bring work developed in dotenvx to dotenv-expand through
@dotenvx/primitives.Changed
- Breaking
Require Node.js 16 or later.
FIXED: Correct empty-variable expansion to distinguish between variables that are unset (
-and+) and variables that are empty (:-and:+).License updated from BSD-2-Clause to BSD-3-Clause.
Yes, the jump to major version 1000 is intentional. It looks cool and this release represents the biggest changes to dotenv-expand in 10 years - adding support for command substitution and decryption of encrypted .env files.
- 13.x
- 12.x
- 11.x
11.0.7
13 Nov 2024🐞 fix self-expanding undefined variable with default value
11.0.6
18 Feb 2024Fix
.nyc_outputin.npmignore
11.0.5
18 Feb 2024🐞 fix recursive expansion when expansion key is sourced from
process.env
11.0.4
15 Feb 2024🐞 fix recursive expansion when expansion keys in reverse order
11.0.3
11 Feb 2024🐞 bug fix when
processEnvset to process.env rather than empty object (also test fixes which hid the bug)
11.0.2
10 Feb 2024Changed funding link in package.json to
dotenvx.com
11.0.1
10 Feb 2024Added funding link in package.json
11.0.0
10 Feb 2024- Breaking
Remove
ignoreProcessEnvoption (useprocessEnvoption going forward) Add typings for
import dotenv-expand/configSupport expansion of dot in env variable names like
POSTGRESQL.BASE.USER
Added
Add typings for
import dotenv-expand/configSupport expansion of dot in env variable names like
POSTGRESQL.BASE.USERAdd
processEnvoptionAdd support for default format of
${VAR-default}
Changed
Do not expand prior
process.envenvironment variables. NOTE: make sure to see updated README regardingdotenv.config({ processEnv: {} })🐞 fix fatal recursive error when variable defines value with same variable
VAR=$VAR#98
Removed
- Breaking
Remove
ignoreProcessEnvoption (useprocessEnvoption going forward)
- 10.x
10.0.0
16 Dec 2022Support special characters in default expansion
- 9.x
9.0.0
30 Aug 2022Proper support for preload and cli args
- 8.x
8.0.3
21 Mar 2022🐞 Fixed defaults bug
8.0.2
11 Mar 2022🐞 Fixed preloading bug
8.0.1
4 Feb 2022Added config.js to package.json lookups
8.0.0
4 Feb 2022- Breaking
Breaking: Bump to
v16.0.0of dotenv Preload support 🎉
- 7.x
7.0.0
2 Feb 2022- Breaking
Breaking: Bump to
v15.0.0of dotenv
- 6.x
6.0.1
17 Jan 2022Updated README
- 5.x
- 4.x
- 0.1.x
0.1.0
21 Jan 2016
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.