Packages

dotenv

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

Upgrading dotenv From 16.4.7 to 16.6.1

3 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 16.4.7Latest18.0.10
  1. 16.4.7yours
  2. 16.5.0breaking
  3. 16.6.0
  4. 16.6.1target
1
change to make
0
advisories fixed
4
new
0
fixes

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.

3 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

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.