dotenv
18.0.10 · 9 Nov 2026BSD-2-Clause284.8M / weekRepositoryHomepagenpmAtom feed
Upgrading dotenv From 10.0.0 to 18.0.10
66 releases in betweenevery note read
Reading releases, release notes and advisories…
- 16
- changes to make
- 0
- advisories fixed
- 34
- new
- 10
- fixes
Before you upgrade
Tick each one off as you go- Breaking18.0.0
- Breaking18.0.0
- Breaking18.0.0
- Breaking18.0.0
- Breaking18.0.0
- Breaking16.5.0
- Breaking16.1.3
- Breaking16.0.0
- Breaking15.0.0
- Breaking15.0.0
Release by release
- Fixed
Fix dotenv.parse in Vite by moving the CLI shebang to a separate entry point
- Fixed
18.0.6 – 18.0.94 releases, nothing new or fixed in the notes
- Fixed
Fix missing typescript module declaration
- Fixed
18.0.2 – 18.0.43 releases, nothing new or fixed in the notes
- Fixed
Handle file urls in config logging
- Fixed
- Breaking
Remove tips
- Breaking
Remove skill files
- Breaking
Remove Spanish README
- Breaking
Remove .env.vault support
- Breaking
Remove preloading. Instead use cli
dotenv run -- your-command - New
NEW: Dotenv now has a CLI.
- New
NEW: Dotenv now has a fast parser thanks to @homanp of superagent.sh. Pass
config({ fast: true }), flag--fast, or setDOTENV_FAST=trueto opt-in to ~2x faster character-scanner parser.
- Breaking
17.4.1 – 17.4.22 releases, nothing new or fixed in the notes
- New
Add
skills/folder with focused agent skills:skills/dotenv/SKILL.md(core usage) andskills/dotenvx/SKILL.md(encryption, multiple environments, variable expansion) for AI coding agent discovery via the skills.sh ecosystem (npx skills add motdotla/dotenv)
- New
46 other lines we could not sort, mostly version bumps
- 18.0.9
Permit DOTENV_PATH being empty string with the CLI
- 18.0.8
Fast parser should strip appended extra quotes
- 18.0.8
Type detail improvement
- 18.0.7
Treat undefined settings like
quiet: trueas null rather than falsey - 18.0.7
CLI should honor
DOTENV_QUIETsetting in.envfile - 18.0.6
Use smarter
parseBooleannot Boolean() to fix override - 18.0.5
Improve performance for large .env files
- 18.0.4
import dotenv/configshould default quiet: true - 18.0.3
Patch
DOTENV_QUIETsetting when inside .env file - 18.0.2
Patch additional edge cases for the fast parser
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.