dotenv
18.0.10 · 9 Nov 2026BSD-2-Clause284.8M / weekRepositoryHomepagenpmAtom feed
Upgrading dotenv From 16.4.0 to 16.6.1
10 releases in betweenevery note read
Reading releases, release notes and advisories…
- 1
- change to make
- 0
- advisories fixed
- 4
- new
- 1
- fix
Before you upgrade
Tick each one off as you go- Breaking16.5.0
Release by release
16.6.1nothing new or fixed in the note
16.4.4 – 16.4.74 releases, nothing new or fixed in the notes
16.4.1 – 16.4.22 releases, nothing new or fixed in the notes
10 other lines we could not sort, mostly version bumps
- 16.6.1
Default
quietto true – hiding the runtime log message - 16.6.1
NOTICE: 17.0.0 will be released with quiet defaulting to false. Use
config({ quiet: true })to suppress. - 16.6.1
And check out the new dotenvx. As coding workflows evolve and agents increasingly handle secrets, encrypted .env files offer a much safer way to deploy both agents and code together with secure secrets. Simply switch
require('dotenv').config()forrequire('@dotenvx/dotenvx').config(). - 16.4.7
Ignore
.tapfolder when publishing. (oops, sorry about that everyone. - @motdotla) #848 - 16.4.6
Clean up stale dev dependencies #847
- 16.4.6
Various README updates clarifying usage and alternative solutions using dotenvx
- 16.4.5
🐞 Fix recent regression when using
pathoption. return to historical behavior: do not attempt to auto find.envifpathset. (regression was introduced in16.4.3) #814 - 16.4.4
🐞 Replaced chaining operator
?.with old school&&(fixing node 12 failures) #812 - 16.4.2
Changed funding link in package.json to
dotenvx.com - 16.4.1
Patch support for array as
pathoption #797
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.