Packages

dotenv

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

Upgrading dotenv From 0.2.6 to 18.0.10

96 releases in betweennotes for 89

Reading releases, release notes and advisories…

Other targets from 0.2.6Newest 0.x0.5.1
  1. 0.2.6yours
  2. 2 releases
  3. 0.3.0major
  4. 0.4.0major
  5. 0.5.0major
  6. 1 release
  7. 1.0.0major
  8. 2 releases
  9. 2.0.0major
  10. 3.0.0major
  11. 4.0.0major
  12. 5.0.0major
  13. 1 release
  14. 6.0.0major
  15. 2 releases
  16. 7.0.0major
  17. 8.0.0major
  18. 7 releases
  19. 9.0.0major
  20. 2 releases
  21. 10.0.0major
  22. 11.0.0major
  23. 12.0.0major
  24. 4 releases
  25. 13.0.0major
  26. 1 release
  27. 14.0.0major
  28. 7 releases
  29. 15.0.0major
  30. 1 release
  31. 16.0.0major
  32. 23 releases
  33. 17.0.0major
  34. 12 releases
  35. 18.0.0major
  36. 9 releases
  37. 18.0.10target
28+
changes to make
0
advisories fixed
56+
new
13+
fixes

Counted from 89 of 96 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)

55 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.