Packages

@dotenvx/primitives

4.4.0 · 6 Nov 2026BSD-3-Clause18.4M / weekRepositorynpmAtom feed

Upgrading @dotenvx/primitives From 1.3.0 to 4.4.0

40 releases in betweennotes for 14

Reading releases, release notes and advisories…

Other targets from 1.3.0Newest 1.x1.10.0
4.0.0, 3.0.0 have no release note on GitHub or in the repository's changelog, so their breaking changes are missing from the counts below.
  1. 1.3.0yours
  2. 13 releases
  3. 2.0.0major
  4. 4 releases
  5. 3.0.0major
  6. 7 releases
  7. 4.0.0major
  8. 12 releases
  9. 4.4.0target
14+
changes to make
0
advisories fixed
16+
new
?
fixes

Counted from 14 of 40 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking2.0.0
  • Breaking2.0.0
  • Breaking2.0.0
  • Breaking2.0.0
  • Breaking1.10.0
  • Breaking1.9.0
  • Breaking1.8.0
  • Breaking1.8.0
  • Breaking1.7.0
  • Breaking1.6.0

Release by release

  1. 3.0.0 – 4.4.022 releases, no release note

  2. 2.2.0

    7 Aug 20261 new
    • New

      Use dotenvx keychain up|down to move your private keys to your macOS Keychain

  3. 2.1.2

    29 Jul 20261 new
    • New

      Support restricted read permissions to .env.keys (#676, #867)

  4. 2.1.1

    26 Jul 20261 new
    • New

      Support DOTENV_CONFIG_QUIET=true as synonym for --quiet flag

  5. 2.1.0

    16 Jul 20263 new
    • New

      Add interactive input mode for set

    • New

      Support leaving _PLAIN suffixed keys unencrypted during set and encrypt

    • New

      Add Windows PowerShell coverage for npm shim encryption of .env.local files

  6. 2.0.0

    Migration needed16 Jul 20261 new
    • Breaking

      lib/main#set async only

    • Breaking

      lib/main#get async only

    • Breaking

      Remove the rotate command (it will return in 2.1 or 2.2 soon with a more complete implementation for local and armored keys)

    • Breaking

      Remove the library doctor, keypair, and genexample exports from lib/main

    • New

      New keyring support - for local and armor providers and to unlock future providers

  7. 1.10.0

    Migration needed16 Jul 2026
    • Breaking

      Remove dotenvx ext vault, replace with dotenvx-ext-vault (install there to continue using ext vault)

  8. 1.9.0

    Migration needed16 Jul 20261 new
    • Breaking

      Removed winston - logger simplified to use console.log going forward

    • New

      Add --exclude-key (-ek) option to dotenvx encrypt and dotenvx decrypt

11 other lines we could not sort, mostly version bumps
  • Return exit code 1 from get when decryption errors are reported

    2.1.0
  • Route run, config, and get through shared env and keypair resolvers backed by @dotenvx/primitives

    2.0.0
  • Route set, encrypt, and decrypt through shared transforms that operate on primitive scan, parse, encrypt, and upsert results

    2.0.0
  • Update library parse to use primitive parsing while preserving dotenvx-style encrypted value errors

    2.0.0
  • Preserve comments and spacing on first-time generation of .env.example file

    1.9.0
  • Use ansi colors over rgb - for wider terminal coverage

    1.8.0
  • Replace chalk with picocolors and color-name - cutting down on 5 dependencies

    1.8.0
  • Replace execa with tinyexec - cutting down on 15 dependencies

    1.8.0
  • Smarter private key finder. if you rename your file to secrets.txt it can still decrypt from DOTENV_PRIVATE_KEY by seeking out the invert of the DOTENV_PUBLIC_KEY inside secrets.txt

    1.6.0
  • Replace @inquirer/confirm and ora

    1.5.0

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.