Packages

dotenv

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

Upgrading dotenv From 16.3.0 to 16.6.1

13 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 16.3.0Latest18.0.10
  1. 16.3.0yours
  2. 10 releases
  3. 16.5.0breaking
  4. 1 release
  5. 16.6.1target
1
change to make
0
advisories fixed
8
new
2
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.

  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

  6. 16.4.1 – 16.4.22 releases, nothing new or fixed in the notes

  7. 16.4.0

    23 Jan 20242 new
    • New

      Add error.code to error messages around .env.vault decryption handling #795

    • New

      Add ability to find .env.vault file when filename(s) passed as an array #784

  8. 16.3.2

    19 Jan 20241 new · 1 fix
    • New

      Add debug message when no encoding set #735

    • Fixed

      Fix output typing for populate #792

11 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
  • Changed funding link in package.json to dotenvx.com

    16.4.2
  • Patch support for array as path option #797

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