Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency @dotenvx/dotenvx to v1 #65

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 25, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@dotenvx/dotenvx ^0.44.1 -> ^1.0.0 age adoption passing confidence

Release Notes

dotenvx/dotenvx (@​dotenvx/dotenvx)

v1.22.0

Compare Source

Added
  • add --pattern argument to ext gitignore (dotenvx ext gitignore --pattern .env.keys) (#​430)
Changed
  • clarify next steps after first time encrypting (#​430)

v1.21.1

Compare Source

Changed
  • for --convention nextjs ingnore .env.local for TEST environment (#​425)
  • for precommit redirect missing dotenvx command using POSIX compliant redirection (#​424)
  • make parent dotenvx help command less noisy by removing [options]. run dotenvx COMMAND -h to list all available options like always (#​429)

v1.21.0

Compare Source

Changed

🎓 now if you choose to single quote, double quote, no quote, or backtick your value it will be respected - including for encrypted values. this more intuitively handles complex cases like escaped characters, literals, and json.

v1.20.1

Compare Source

Changed
  • update eciesjs (#​421)
  • remove default values for ts interface - no longer permitted by latest ts (#​419)

v1.20.0

Compare Source

see CHANGELOG

v1.19.3

Compare Source

Changed
  • 🐞 fix decrypt re-encrypt of values containing backslashes (#​406)

v1.19.2

Compare Source

Changed
  • forward additional signals like SIGUSR2 (#​403)

v1.19.1

Compare Source

Changed
  • if SIGTERM or SIGINT sent, don't bubble wrapped process error (#​402)

v1.19.0

Compare Source

Added
  • support key glob filtering for encrypt and decrypt. example: dotenvx encrypt -ek "NEXT_PUBLIC_*" (#​397)

v1.18.1

Compare Source

Added
  • escape user inputted regex groupings like $1 or $2. (#​396)

v1.18.0

Compare Source

Added
  • set and encrypt preserve leading spaces (#​395)
     HELLO=world
Changed
  • improve escape and quote handling for set, encrypt, and decrypt (#​395)
  • 🐞 fix encrypt, then decrypt, then encrypt on a json value (#​377)

Note: the underlying replace engine to support these changes now wraps your values in single quotes. the prior replace engine wrapped in double quotes.

So where your .env used to look like this with double quotes:

HELLO="encrypted:1234"
API_KEY="encrypted:5678"

It will now begin looking like this with single quotes:

HELLO='encrypted:1234'
API_KEY='encrypted:5678'

It's an aesthetic side effect only. Your values will continue to be decrypted and encrypted correctly.

v1.17.0

Compare Source

Added
  • add --format=eval option for get (#​393)

v1.16.1

Compare Source

Changed
  • suppress stderr using options.stdio (#​391)

v1.16.0

Compare Source

Changed
  • for dotenvx keypair call out to dotenvx pro keypair if pro installed (#​390)

v1.15.0

Compare Source

Added
  • add --format=shell option for keypair (#​389)

v1.14.2

Compare Source

Changed
  • swap process.stdout.write for console.log to patch up npx edge case (#​387)

v1.14.1

Compare Source

Changed
  • run precommit hook only on staged files (#​380)

v1.14.0

Compare Source

Added
  • add dotenvx keypair command for printing your public/private keypairs (#​375)

v1.13.3

Compare Source

Changed
  • exit code 1 when decrypt fails in any way (#​374)

v1.13.2

Compare Source

Added
  • expose getColor and bold to lib/main.js (#​369)

v1.13.1

Compare Source

Added
  • expose logger and setLogLevel to lib/main.js - const = { logger, setLogLevel } = require('@​dotenvx/dotenvx') (#​368)

v1.13.0

Compare Source

Changed
  • move ls to core commands (#​367)

v1.12.1

Compare Source

Changed
  • return without quotations for dotenvx get --format shell (#​366)

v1.12.0

Compare Source

Added
  • add dotenvx get --format shell option (#​363)

v1.11.5

Compare Source

Changed
  • revert tinyexec for execa - to support usage in bun

v1.11.4

Compare Source

Changed
  • bump tinyexec and add postrelease-bunx check (#​362)

v1.11.3

Compare Source

Changed
  • fallback to process.env.TERM for color depth where deno and bun do not support it (#​360)

v1.11.2

Compare Source

Added
  • detect encoding when reading .env* file on run/get (#​359)

v1.11.1

Compare Source

Changed
  • support encryption of export KEY variables and preserve #!shebangs (#​357)

v1.11.0

Compare Source

Added
  • add --exclude-env-file (-ef) to ext ls (#​356)
Changed
  • ext precommit ignores tests/ directory (and similar) (#​356)

v1.10.4

Compare Source

Changed
  • fix pro display in help command

v1.10.3

Compare Source

Added
  • ci: automate publishing to winget (#​354)

v1.10.2

Compare Source

Changed
  • default config to empty [] array so that DOTENV_KEY_${environment} looks up correctly (#​352)

v1.10.1

Compare Source

Changed
  • check subfolders on dotenvx ext precommit hook (#​350)

v1.10.0

Compare Source

Removed

v1.9.1

Compare Source

Added
  • warn if private key is missing or blank (#​349)

v1.9.0

Compare Source

Added
  • add --exclude-key (-ek) option to dotenvx encrypt and dotenvx decrypt (#​344)
Changed
  • preserve comments and spacing on first-time generation of .env.example file (#​346)
Removed
  • removed winston - logger simplified to use console.log going forward (#​347)

v1.8.0

Compare Source

Added
  • warn when decryption fails on run (#​339)
  • decrypt expanded values as necessary (#​336)
Changed
  • use ansi colors over rgb - for wider terminal coverage (#​340)
  • replace chalk with picocolors and color-name - cutting down on 5 dependencies (#​335)
  • replace execa with tinyexec - cutting down on 15 dependencies (#​328)
  • optimize Ls._filepaths (#​317)
Removed
  • remove picocolors and color-name - cutting down on 2 dependencies (#​340)
  • remove ext hub from extension list (you can still install it as an extension here) (#​337)

v1.7.0

Compare Source

Removed
  • remove ext settings command (and conf along with it) (#​323)

v1.6.5

Compare Source

Changed
  • 🐞 patch chomp for interpolation. strip ending newline (was stripping first found newline) (#​322)

v1.6.4

Compare Source

Changed
  • fix dotenvx help (command was missing)

v1.6.3

Compare Source

Changed
  • adjust dotenvx pro to be dynamic if dotenvx-pro is installed user's machine

v1.6.2

Compare Source

Added
  • add more detailed type definitions (#​313)

v1.6.1

Compare Source

Added
  • add support for .env1 (.env*) file format. (private key expands to DOTENV_PRIVATE_KEY_DEVELOPMENT1) (#​312)

v1.6.0

Compare Source

Added
  • add dotenvx decrypt command. works inversely to dotenvx encrypt. same flags. (#​294)
  • add --stdout option to dotenvx decrypt. example: dotenvx decrypt -f .env.production --stdout > somefile.txt (#​298)
  • add --stdout option to dotenvx encrypt. example: dotenvx encrypt -f .env.production --stdout > somefile.txt (#​298)
Changed
  • 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 (#​302)
Removed
  • remove dotenvx convert - still at dotenvx encrypt
  • remove dotenvx vault - still at dotenvx ext vault

v1.5.0

Compare Source

Added
  • add help text for dashed values on set. example: dotenvx set KEY -- "- + * ÷" (#​293)
Changed
  • replace @inquirer/confirm and ora (#​285)
Removed

v1.4.0

Compare Source

Removed
  • remove update notice. let users decide what version they want without nagging them to update (#​288)
  • remove dotenvx hub. still available at dotenvx ext hub (#​290)

v1.3.2

Compare Source

Changed
  • 🐞 remove risky prepare and postinstall scripts and replace with npm run patch for development and binary building (#​286)

v1.3.0

Compare Source

Added
  • encrypt specified keys with --key option - dotenvx encrypt -k HELLO (#​281)

v1.2.0

Compare Source

Added
  • handle nested dotenvx invocations - dotenvx run -- dotenvx run -- env (#​279)
Changed
  • replace glob with faster approach (#​278)

v1.1.0

Compare Source

Added
  • add TypeScript type definitions (#​272)

v1.0.1

Compare Source

Changed
  • 🐞 fix expansion when preset on process.env and/or with --overload (#​271)

v1.0.0

Compare Source

🎉 dotenvx has made it to 1.0.0. There are BREAKING CHANGES ⚠️ .

Added
  • added dotenvx set KEY value --plain to set plain text values
  • added dotenvx ext 🔌 as a location to place extensions like gititgnore, precommit, ls, and more. better than cluttering up core features like run, get/set, and encrypt.
  • added dotenvx pro 🏆 command with coming soon and link to GitHub issue (if you wish to be notified of progress. will provide tooling/features for teams)
Changed
  • BREAKING ⚠️
    • turned on encryption by default for dotenvx set (use dotenvx set KEY value --plain to set plain values)
    • renamed dotenvx encrypt to dotenvx ext vault encrypt (for managing .env.vault files)
    • renamed dotenvx convert to dotenvx encrypt
    • moved ls to dotenvx ext ls
    • moved genexample to dotenvx ext genexample
    • moved gitignore to dotenvx ext gitignore
    • moved prebuild to dotenvx ext prebuild
    • moved precommit to dotenvx ext precommit
    • moved scan to dotenvx ext scan
    • moved hub to dotenvx ext hub
    • moved vault to dotenvx ext vault
    • moved settings to dotenvx ext settings

(for many of these moved commands, for example dotenvx genexample, still work in 1.0.0 but with a large deprecated notice - DEPRECATION NOTICE: [genexample] has moved to [dotenvx ext genexample]. Please change your muscle memory to dotenvx ext genexample, as these deprecated command paths will be removed in a later minor version. importantly dotenvx encrypt was not able to be preserved because as it is now in use for encrypted .env files rather than .env.vault files)

This is a BIG release that sets the tone for dotenvx's core offering and features while maintaining room for growth. Thank you everyone for your support and usage of dotenvx 🙏.

blog post: "From dotenv to dotenvx: Next Generation Config Management"

v0.45.0

Compare Source

Changed
  • Rename dotenvx vault convert to dotenvx vault migrate (#​251)
  • Update install.sh regex version check to be sh compatible (not just bash)

v0.44.6

Compare Source

Added
  • Added checksums.txt as part of each release

v0.44.5

Compare Source

Changed
  • Removed .github folder from published binaries on npm (example: npm code)
  • Add help message to install.sh

v0.44.4

Compare Source

Changed
  • Automated deployment of install.sh along with sanity checks (#​250)

v0.44.3

Compare Source

Added
  • Include CHANGELOG.md in npm release
  • Include install.sh in package release

v0.44.2

Compare Source

Changed
  • Fix license in package.json to match project's license BSD-3.

Configuration

📅 Schedule: 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 is behind base branch, 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.

@renovate renovate bot force-pushed the renovate/dotenvx-dotenvx-1.x branch from 6e79742 to eb1eee9 Compare June 25, 2024 22:57
@renovate renovate bot force-pushed the renovate/dotenvx-dotenvx-1.x branch from eb1eee9 to bf9119d Compare June 26, 2024 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants