Packages

dotenv

18.0.10 · 9 Nov 2026BSD-2-Clause284.8M / weekRepositoryHomepagenpmAtom feed

Upgrading dotenv From 1.2.0 to 18.0.10

87 releases in betweennotes for 86

Reading releases, release notes and advisories…

  1. 1.2.0yours
  2. 2.0.0major
  3. 3.0.0major
  4. 4.0.0major
  5. 5.0.0major
  6. 1 release
  7. 6.0.0major
  8. 2 releases
  9. 7.0.0major
  10. 8.0.0major
  11. 7 releases
  12. 9.0.0major
  13. 2 releases
  14. 10.0.0major
  15. 11.0.0major
  16. 12.0.0major
  17. 4 releases
  18. 13.0.0major
  19. 1 release
  20. 14.0.0major
  21. 7 releases
  22. 15.0.0major
  23. 1 release
  24. 16.0.0major
  25. 23 releases
  26. 17.0.0major
  27. 12 releases
  28. 18.0.0major
  29. 9 releases
  30. 18.0.10target
27+
changes to make
0
advisories fixed
54+
new
12+
fixes

Counted from 86 of 87 release notes. Advisories are counted from the advisory database, in full.

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

  1. 18.0.10

    9 Nov 20261 fix
    • Fixed

      Fix dotenv.parse in Vite by moving the CLI shebang to a separate entry point

  2. 18.0.6 – 18.0.94 releases, nothing new or fixed in the notes

  3. 18.0.5

    30 Sep 20261 fix
    • Fixed

      Fix missing typescript module declaration

  4. 18.0.2 – 18.0.43 releases, nothing new or fixed in the notes

  5. 18.0.1

    18 Sep 20261 fix
    • Fixed

      Handle file urls in config logging

  6. 18.0.0

    Migration needed17 Sep 20262 new
    • 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 set DOTENV_FAST=true to opt-in to ~2x faster character-scanner parser.

  7. 17.4.1 – 17.4.22 releases, nothing new or fixed in the notes

  8. 17.4.0

    1 Apr 20261 new
    • New

      Add skills/ folder with focused agent skills: skills/dotenv/SKILL.md (core usage) and skills/dotenvx/SKILL.md (encryption, multiple environments, variable expansion) for AI coding agent discovery via the skills.sh ecosystem (npx skills add motdotla/dotenv)

54 other lines we could not sort, mostly version bumps
  • Permit DOTENV_PATH being empty string with the CLI

    18.0.9
  • Fast parser should strip appended extra quotes

    18.0.8
  • Type detail improvement

    18.0.8
  • Treat undefined settings like quiet: true as null rather than falsey

    18.0.7
  • CLI should honor DOTENV_QUIET setting in .env file

    18.0.7
  • Use smarter parseBoolean not Boolean() to fix override

    18.0.6
  • Improve performance for large .env files

    18.0.5
  • import dotenv/config should default quiet: true

    18.0.4
  • Patch DOTENV_QUIET setting when inside .env file

    18.0.3
  • Patch additional edge cases for the fast parser

    18.0.2

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.