Packages

dotenv

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

Upgrading dotenv From 14.0.0 to 18.0.10

57 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 14.0.0Newest 14.x14.3.2
  1. 14.0.0yours
  2. 7 releases
  3. 15.0.0major
  4. 1 release
  5. 16.0.0major
  6. 6 releases
  7. 16.1.3breaking
  8. 13 releases
  9. 16.5.0breaking
  10. 2 releases
  11. 17.0.0major
  12. 12 releases
  13. 18.0.0major
  14. 9 releases
  15. 18.0.10target

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)

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