This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @dotenvx/dotenvx | ^1.51.0 → ^2.38.2 |
Release Notes
dotenvx/dotenvx (@​dotenvx/dotenvx)
v2.38.2
Changed
- Fix SEA crash (#1031)
v2.38.1
Changed
- Surface Armor approval prompts to stderr (#1030)
v2.38.0
Added
- Add
getSyncconvenience (#1029)
Changed
- Default to file key storage in non-interactive mode (#1028)
v2.37.0
Added
- New: Dotenvx Armor Enclaved Keys - software enclaved on the remote provider like Vercel, GitHub Actions, and more. (#1026)
⛨ Choose key type …
⛨ Armored
❯ ◊ Enclavedv2.36.0
Added
- Add
dotenvx armor invitecommand (#1025)
v2.35.0
Added
- Add
encrypt --withto bring public key. Useful for Dotenvx Armor's new remote enclaved private keys. Encrypt locally but decrypt only on the remote software enclave. Private keys never leave. (#1022)
Changed
- Use atomic file writes in
protect(#1019)
v2.34.2
Changed
- Patch: fix atomic edge case of writing .env and .env.keys file (#1014)
v2.34.1
Changed
- Patch: don't write public key on ctrl+c or prompt failure (#1009)
v2.34.0
Changed
- Swap internal provider logic for @dotenvx/providers (#1008)
- BREAKING: Remove
lockcommands and support for unlocking. Passwords are too difficult to manage securely. Convenience not worth it for the agentic future we are entering. (#1008) - Return provider information with
dotenvx keypaircommand (#1008) - Swap armor provider logic to @dotenvx/providers#armor (#1009)
v2.33.0
Added
- Add Envfile profiles for selecting .env file combinations with
--profileorDOTENV_ENV. - Automatically redact stdout/stderr from
config()when an Envfile is present.
Changed
- Move Envfile processing into
@dotenvx/primitives. - First file wins when combining Envfile rules.
runandcheckvalidate final values; encryption rules apply toencrypt,set, andprotect.
v2.32.4
Changed
- Make
Envfilethe filename. Final decision. (#1003)
v2.32.3
Changed
v2.32.2
Changed
- Improve bundle size (#1000)
v2.32.1
Changed
- Simplify custody picker to 3 initial options (#998)
? Choose private key custody …
❯ ⛉ Local
⛨ Dotenvx Armor
⛊ Password Managersv2.32.0
Changed
- BREAKING:
Envfilerenamed toEnvspecfile (#996) - BREAKING:
dotenvx initremoved. renamed todotenvx spec. (#996)
Added
- Envspec rules now guide check, run, encrypt, and protect. (#996)
v2.31.1
Changed
armor upshould read for os secret store, 1password, and bitwarden (#992)
v2.31.0
Added
- Add
dotenvx feedbackcommand so you (and your coding agent) can give feedback on the cli (#987) - Add
dotenvx initfor generating yourEnvfile(#990)
Changed
- Restore ESM named imports such as
import { config } from '@dotenvx/dotenvx', broken in 2.30.0 by thewithEventsexport (#989). - BREAKING:
dotenvx validaterenamed todotenvx checkand works off Envfile only going forward. Support for .env.example dropped. Switch to using anEnvfile.
Removed
- BREAKING:
dotenvx defineremoved. Usedotenvx init.
v2.30.0
Added
- Add
dotenvx feedbackcommand so you (and your coding agent) can give feedback on the cli (#987) - Add
dotenvx initfor generating yourEnvfile(#990)
Changed
- Restore ESM named imports such as
import { config } from '@dotenvx/dotenvx', broken in 2.30.0 by thewithEventsexport (#989). - BREAKING:
dotenvx validaterenamed todotenvx checkand works off Envfile only going forward. Support for .env.example dropped. Switch to using anEnvfile.
Removed
- BREAKING:
dotenvx defineremoved. Usedotenvx init.
v2.29.0
Added
- Add
dotenvx protectto prevent plaintext .env files from being committed to code on a machine (#980)
Changed
- Deprecate
dotenvx gitignore. Usedotenvx protect. - Deprecate
dotenvx precommit. Usedotenvx protect. - Deprecate
dotenvx prebuild. Usedotenvx protect --docker.
v2.28.2
Changed
- Only owner can write to and read from .env.keys file (#979)
v2.28.1
Changed
- Send pk via stdin to keychain. was argv. thank you @kta1kri for the security report. (#978)
- Move some commands under a hidden menu (#973)
v2.28.0
Added
- Choose where you custody your keys (#972)
Your private key
├── ⛉ Local Custody
│ ├── OS (macOS Keychain / Windows Credential Manager / Linux Secret Service)
│ ├── 1Password
│ ├── Bitwarden
│ └── File (.env.keys)
└── ⛊ Managed Custody
└── ⛨ Armorv2.27.0
Removed
- BREAKING: Removed
run --validateflag andvalidatecommand against .env.example file. To be replaced soon with a modern validation scheme.
v2.26.1
Changed
- Add
dotenvx 1password up|down|push|pullanddotenvx bitwarden up|down|push|pull(#969)
v2.26.0
Added
- Add support for storing private key to bitwarden or 1password (#968)
v2.25.0
Changed
- Store private key to os secret store rather than
.env.keysby default (#967)
v2.24.1
Changed
- Upgraded to latest @dotenvx/primitives
v2.24.0
Changed
- Do not expand nested commands (#965)
Removed
- BREAKING: Remove the
-pshorthand for--plain; use--plaininstead
v2.23.0
Added
- Support comma-separated env file paths with
-fand theconfig({ path })option. Example:dotenvx run -f .env.local,.env -- node index.js - Add
DOTENV_PATH(orDOTENV_F) to support the same. Example:DOTENV_PATH=.env.local,.env
Changed
- Rename
DOTENV_CONFIG_*variables toDOTENV_CONVENTION,DOTENV_IGNORE, andDOTENV_QUIET, while retaining their existingDOTENV_CONFIG_*names as fallbacks
v2.22.0
Added
- Install verified binaries directly from GitHub Releases (#956)
Changed
- Fall back to
~/.local/binwhen/usr/local/binis not writable (#955)
v2.21.0
Added
- Add
dotenvx encanddotenvx decshorthands for encrypt and decrypt (#943) - Add convenient
dxalias for shorterdx run --,dx enc, etc (#944)
Changed
- Patch typescript types for
path(#942)
v2.20.1
Changed
- Handle accent marks for
ext precommit(#936)
v2.20.0
Added
- Add
dotenvx delcommand for deleting a key from a .env file (#939)
Changed
- Exempt
.env.vaultfromprecommit/prebuildsealed checks (vault-format ciphertext is already safe to commit)
v2.19.2
see CHANGELOG
v2.19.1
Changed
- User can click enter to open up approval url for convenience (#934)
v2.19.0
Added
- Add
dotenvx armor opento open armored key details in browser (#930)
v2.18.1
- Patch injected message when preset
encrypted:value (#927)
v2.18.0
Added
- Make authenticated API calls to the Dotenvx Armor API with
dotenvx curl. Allows you to control your Dotenvx Armor account directly from your agent inside Codex, Claude, etc. (#923)
v2.17.4
Changed
- Send device identifier along with curl requests (#922)
v2.17.3
Changed
- Exempt
.env.examplein subdirectories from precommit (#920)
v2.17.2
Added
- Add support for
DOTENV_CONFIG_IGNOREglobal convenience (#919)
v2.17.1
Changed
- Handle
ctrl + cbetter (#916)
v2.17.0
Added
- Add support for Bitwarden
bw://secrets in your .env files. (#915)
v2.16.1
Changed
- Fix: Do not report child error - let child do so. (#914)
v2.16.0
Added
- Add support for
-ekand-iktodotenvx get(#913)
v2.15.1
Changed
- Better communicate time waiting on 1password with elapsed time (#909)
v2.15.0
Added
- Add support for 1Password
op://secrets in your .env files. (#908)
v2.14.0
Added
- Add
dotenvx run --validatefor simple env validation against your.env.example(#906) - Add
dotenvx validatefor a pre-check of validation against your.env.examplefile (#906)
v2.13.0
Added
- Add
get --eval-exportflag (#904)
Changed
- Make
get --evalposix safe (#904)
v2.12.0
Changed
- Small Breaking: Single quoted
'Let\'s go'now correctly escapes toLet's go(#903)
v2.11.3
Changed
- Improve command substitution for nested commands (#902)
v2.11.2
Changed
- Bump @dotenvx/primtivies to support nested node invocations for pkg-ed binary (#901)
v2.11.1
Changed
- Redact all keys by default - except those ending in
_PLAIN(460862) - Support
dotenvx run -- claudeanddotenvx run -- codex(#900) - Simplify default encrypted .env file to just
HELLO="World"(#899)
v2.11.0
Added
- Add convenience method
dotenvx update(#897)
Changed
- BREAKING: Send informational messages like
injected envto stderr instead of stdout. This makes it more reliable to do things like piping output to a file without needing--quiet. (#898)
v2.10.0
Added
- Add
run --redactto keep secrets out of command output. (#894)
v2.9.0
Changed
- BREAKING:
lsfrom@dotenvx/dotenvxis now async/await. (#893)
v2.8.0
Added
v2.7.3
Changed
- Fix:
--quietshould not display the spinner and its stderr messages (#889)
v2.7.2
Added
- Include
dotenvx armor statuscommand.
v2.7.1
Changed
- Security Improvement:
dotenvx armor loginattempts to set theDOTENVX_ARMOR_TOKENin your native OS secret store going forward. For current Armor users rundotenvx armor logoutand thendotenvx armor loginto make use of this immediately. (#886)
v2.7.0
Added
- Added support for
--maskonget, run, decrypt(#885)
v2.6.0
Added
- Support
native up|down|pull|pushfor windows (#884)
v2.5.0
Added
- Support
native up|down|pull|pushfor windows (#883)
v2.4.1
Added
- Support
config(path:)as a directory likeapp/web. Useful for monorepos (#882)
v2.4.0
Added
v2.3.4
Removed
- Replace various deps with
@dotenvx/tooling(#879)
v2.3.3
Removed
- Remove
dotenvandcommanderfor@dotenvx/tooling(#878)
v2.3.2
Changed
- Permit empty value for
set(#877)
v2.3.1
Changed
- Fix correct default valuation interpolation for empty strings by upgrading primitives package
v2.3.0
Added
- Add
lock upandlock downcommands for password protecting private keys (#875)
Changed
- BREAKING: Rename
keychaincommands tonativeto make way for windows and linux. (#875)
Removed
- BREAKING: Remove
--no-ops. Use--no-armor. (#875)
v2.2.2
Changed
- Move
loginandlogoutunder armor (#874)
v2.2.1
Changed
- Move
genexampleto top level commands (#873)
v2.2.0
Added
- Use
dotenvx keychain up|downto move your private keys to your macOS Keychain (#872)
v2.1.5
Changed
precommitandprebuildrespect_PLAIN(#871)
v2.1.4
Added
- Add support for
DOTENV_CONFIG_CONVENTION=nextjs(#869)
v2.1.3
Changed
- Patch edge case when custom unspecified
-fand--envflag (#868)
v2.1.2
Changed
v2.1.1
Changed
- Support
DOTENV_CONFIG_QUIET=trueas synonym for--quietflag (#866)
v2.1.0
Added
- Add interactive input mode for
set(#862) - Support leaving
_PLAINsuffixed keys unencrypted duringsetandencrypt(#862)
Changed
- Return exit code 1 from
getwhen decryption errors are reported (#862)
Fixed
- Add Windows PowerShell coverage for npm shim encryption of
.env.localfiles
v2.0.0
Changed
- BREAKING: lib/main#
setasync only (#855) - BREAKING: lib/main#
getasync only (#855) - New keyring support - for local and armor providers and to unlock future providers (#855)
- Route
run,config, andgetthrough shared env and keypair resolvers backed by@dotenvx/primitives(#855) - Route
set,encrypt, anddecryptthrough shared transforms that operate on primitive scan, parse, encrypt, and upsert results (#855) - Update library
parseto use primitive parsing while preserving dotenvx-style encrypted value errors (#855)
Removed
- BREAKING: Remove the
rotatecommand (it will return in 2.1 or 2.2 soon with a more complete implementation for local and armored keys) (#855) - BREAKING: Remove the library
doctor,keypair, andgenexampleexports fromlib/main(#855)
v1.75.1
Changed
- Publish as named binaries (#851)
Removed
- Remove references to
dotenvx-vlt(now dotenvx-armor) (#849)
v1.75.0
Changed
v1.74.3
Changed
- Bundle dotenvx with
@dotenvx/next-envfor user convenience (#845)
v1.74.2
Changed
- Fix provenance for
@dotenvx/next-env(#844)
v1.74.1
Added
- Add README for
@dotenvx/next-env(#843)
v1.73.1
Changed
- Give update available notification only for armor commands (#840)
v1.73.0
Added
- Add
dotenvx armorcommands directly inside dotenvx (#839)
dotenvxremains local-first:armorcommands are optional under professional security section
v1.72.0
Added
- Move
armor logincommand to first classdotenvx logincommand. (#836) dotenvxremains local-first: login is optional and only needed when you want Armor features like moving keys off-device, team sharing, and audit access.- Patch 2 high severity dependencies (#837)
v1.71.3
Changed
- Forward command to Dotenvx Armor Key Guard approvals (#835)
v1.71.2
Changed
- touch up
get,set, anddecryptwhen armor installed (#834)
v1.71.1
Changed
- stderr changed to
inheritfor dotenvx-armor integration (#833)
v1.71.0
Added
- Add optional automation
--tokensupport for Armor ⛨ users (#831)
v1.70.0
Changed
- Dotenvx Ops/Vlt is now Dotenvx Armor ⛨ (#830)
v1.69.2
Changed
- Minor messaging improvements, especially if using armored keys (#825)
v1.69.1
Changed
- Internally rename
opstovlt(#823)
v1.69.0
Changed
- Remove fully-deprecated
opsOffoption in favor ofnoOps(#822)
v1.68.1
Changed
- Pass
-fto ops (#821)
v1.68.0
Changed
- Support
ignoreoption onparse(#820)
v1.67.0
Added
- Add prompt for local storage vs armored storage (#819)
v1.66.0
Added
- Add
dotenvx doctor(#815)
v1.65.3
Changed
- Improve spinner message blinking with simpler
--no-spinnerflag passed to ops (#814)
v1.65.2
Changed
- Improve spinner message coordination between
dotenvxanddotenvx-ops(#813)
v1.65.1
Changed
- Prompts from
opsshould bubble up (#812)
v1.65.0
Added
- Add support for
replaceing duplicate keys with different values (#806)
v1.64.0
Added
- Add optional
dotenvx armorcommand.armor uparmor private keyarmor downdearmor private keyarmor pushpush armored key (from .env.keys)armor pullpull armored key (into .env.keys)
Move private keys off device and under access control with Dotenvx Ops ⛨. Learn more
v1.63.0
Added
- Add support for encrypted values passed to
--envflag (#804) - Add support for
--format=colonin order to support cloudflare's wrangler--varflag format (#804)
v1.62.0
Added
- Add support for
config({ envs }). unlocks simpler cloudflare worker integration (#803)
$ dotenvx encrypt -f .env.txt// src/index.js
import envSrc from '../.env.txt'
import dotenvx from '@dotenvx/dotenvx'
const config = dotenvx.config({ envs: [{ type: 'env', value: envSrc, privateKeyName: 'DOTENV_PRIVATE_KEY' }] })
const envx = config.parsed
export default {
async fetch(request, env, ctx) {
return new Response(`Hello ${envx.HELLO}`)
}
}"scripts": {
"deploy": "wrangler deploy",
"dev": "wrangler dev --var $(dotenvx keypair -f .env.txt --format=colon)",
"start": "wrangler dev --var $(dotenvx keypair -f .env.txt --format=colon)",
"test": "vitest"
},v1.61.6
Changed
- Guard against command substitution following
encrypted:(#802)
v1.61.5
Changed
- Support
--hostnameflag todotenvx-ops.login(#801)
v1.61.4
Changed
- Respect SIGINT handler completion (#798)
v1.61.3
Changed
- Tighten up
ext precommit --installmessage (#797)
v1.61.2
Changed
- For Ops ⛨ users surface stderr (#796)
v1.61.1
Changed
v1.61.0
Added
- Add
loginandlogoutmethod that proxy todotenvx-ops login/logout(#780) - Note: dotenvx continues to make zero outgoing HTTP requests and includes no telemetry. Outgoing requests occur only if you explicitly install the dotenvx-ops SDK or CLI.
v1.60.2
Changed
- Communicate
local keyandarmored key(for Ops stored keys) (#778)
v1.60.1
Added
- Added missing
+ key ⛨for Ops stored keys (#777)
v1.60.0
Added
- Add spinner with loading messages
injecting(run)encrypting(encrypt,set)decrypting(decrypt,get)rotating(rotate)retrieving(keypair)
v1.59.1
Added
- add
HELLOkey to the kit sample to match most of our examples in the README
v1.59.0
Changed
encryptandsetnow create a.envfile if one does not exist (#771)- pass
--no-createto prevent file creation
v1.58.0
Changed
- Changed runtime injection message to format
⟐ injecting env (N) from FILE · dotenvx@VERSION(#770)
v1.57.5
Changes
- Improve already installed message (#768)
v1.57.4
Changes
- Use
curlexample for install dotenvx.com/ops (#767)
v1.57.3
Changes
- Simplify installed success message (#766)
v1.57.2
Changes
- Ran
npm auditto update package-lock.json (#763)
v1.57.1
Changes
improved error logs and compacted most to a single line (#755)
introduced leading log glyphs as a visual status language:
⟐success action (injected)◈success action (encrypted)◇success action (set plain value, decrypted)⟳success action (rotated)○informational no-op (no changes)▣success action for generated/updated support files⚠warning☠error
v1.57.0
Changed
- color and formatting changes to outputs (#754)
v1.56.0
Changed
ops offflag — now respected byget,keypair,rotate, andencrypt(#750)--ppalias — added as shorthand for--pretty-print; toward sunsetting-pp(#750)
Removed
- Remove support for
.env.vaultfiles (#750)
v1.55.1
Added
- Respect
dotenvx-ops status (on|off)(#749)
v1.55.0
Added
- Add '⛨ ARMORED KEYS: Harden your private keys.' security feature when dotenvx-ops installed (#746)
Removed
- Remove
ProKeypairlogic
v1.54.1
Changed
- Fix npm publish
v1.53.0
Removed
- Remove
radar. It has been a year since replaced byops. (#743)
v1.52.0
Added
- Pass log level options to
main.set(#731)
v1.51.4
Changed
- Change description of
dotenvx-opsto better reflect its tooling as operational primitives on top of dotenvx for production use cases. (#721)
v1.51.3
Added
- Add hint on
.env.keysfordotenvx armor up. Dotenvx Armor lets you armor your private keys securely with just a single command. It's a convenient alternative to manually copy/pasting them in and out of 1Password. (#718)
v1.51.2
Changed
- Switch
npm publishto use Dotenvx Ops' new Rotation Tokens (ROTs) (#715)
This will allow us to start dogfooding our own solution for third-party API key rotation. Third-party API key rotation would drastically improve security industry wide. Please get in touch if this is interesting to you.
v1.51.1
Added
- Add
opsOfftype information
Configuration
📅 Schedule: (UTC)
- Branch creation
- At any time (no schedule defined)
- Automerge
- At any time (no schedule defined)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.