Packages

dotenv

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

Upgrading dotenv From 16.4.2 to 16.6.1

8 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 16.4.2Latest18.0.10
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

  1. 16.6.1nothing new or fixed in the note

  2. 16.6.0

    26 Jun 20253 new
    • New

      Default log helpful message [dotenv@16.6.0] injecting env (1) from .env

    • New

      Use { quiet: true } to suppress

    • New

      Aligns dotenv more closely with dotenvx.

  3. 16.5.0

    Migration needed10 Apr 20251 new
    • Breaking

      Remove _log method. Use _debug #862

    • New

      🎉 Added new sponsor Graphite - the AI developer productivity platform helping teams on GitHub ship higher quality software, faster.

  4. 16.4.4 – 16.4.74 releases, nothing new or fixed in the notes

  5. 16.4.3

    12 Feb 20241 fix
    • Fixed

      Fixed processing of multiple files in options.path #805

8 other lines we could not sort, mostly version bumps
  • Default quiet to 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() for require('@dotenvx/dotenvx').config().

    16.6.1
  • Ignore .tap folder when publishing. (oops, sorry about that everyone. - @motdotla) #848

    16.4.7
  • Clean up stale dev dependencies #847

    16.4.6
  • Various README updates clarifying usage and alternative solutions using dotenvx

    16.4.6
  • 🐞 Fix recent regression when using path option. return to historical behavior: do not attempt to auto find .env if path set. (regression was introduced in 16.4.3) #814

    16.4.5
  • 🐞 Replaced chaining operator ?. with old school && (fixing node 12 failures) #812

    16.4.4

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.