Packages

@dotenvx/primitives

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

Your version

2.0.0

major16 Jul 2026Where it was published

2.2.0 is the newest release of 2.x.

In short

4 breaking1 new3 changed

  • 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

Release note

Changed

  • Breaking

    lib/main#set async only

  • Breaking

    lib/main#get async only

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

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

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

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

Removed

  • 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

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.