Skip to content

Releases: linux-china/dotenvx-rs

0.4.30 - 2026-02-14

14 Feb 11:57

Choose a tag to compare

Release Notes

Added

  • Fix rotate command with the correct private key
  • Add DUCKDB__PARQUET__KEYNAME=xxx for Parquet Encryption
  • Add vDUCKDB__ENCRYPTED__MYDB=asdf@./data/encrypted.duckdb for Database Encryption
# parquet encryption
DUCKDB__PARQUET__KEY256=01234567891123450123456789112345
#  database encryption
DUCKDB__ENCRYPTED__ACCOUNT=asdf@./data/encrypted.duckdb
# secret example
DUCKDB__HTTP_SECRET=secret
DUCKDB__HTTP_SECRET__TYPE=http
DUCKDB__HTTP_SECRET__BEARER_TOKEN=xxxx

Install dotenvx-rs 0.4.30

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/linux-china/dotenvx-rs/releases/download/v0.4.30/dotenvx-rs-installer.sh | sh

Install prebuilt binaries via Homebrew

brew install linux-china/tap/dotenvx-rs

Download dotenvx-rs 0.4.30

File Platform Checksum
dotenvx-rs-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
dotenvx-rs-x86_64-apple-darwin.tar.xz Intel macOS checksum
dotenvx-rs-x86_64-pc-windows-msvc.zip x64 Windows checksum
dotenvx-rs-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
dotenvx-rs-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

0.4.28 - 2025-12-05

03 Dec 12:33

Choose a tag to compare

Release Notes

Added

  • Add metadata support for private key: 12a457f{metadata}

Install dotenvx-rs 0.4.28

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/linux-china/dotenvx-rs/releases/download/v0.4.28/dotenvx-rs-installer.sh | sh

Install prebuilt binaries via Homebrew

brew install linux-china/tap/dotenvx-rs

Download dotenvx-rs 0.4.28

File Platform Checksum
dotenvx-rs-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
dotenvx-rs-x86_64-apple-darwin.tar.xz Intel macOS checksum
dotenvx-rs-x86_64-pc-windows-msvc.zip x64 Windows checksum
dotenvx-rs-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
dotenvx-rs-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

0.4.27 - 2025-11-08

08 Nov 08:58

Choose a tag to compare

Release Notes

Fixed

  • Use PGPASSWORD environment variable for psql shim to avoid password prompt
  • Add nats.spring.server support for nats shim

Install dotenvx-rs 0.4.27

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/linux-china/dotenvx-rs/releases/download/v0.4.27/dotenvx-rs-installer.sh | sh

Install prebuilt binaries via Homebrew

brew install linux-china/tap/dotenvx-rs

Download dotenvx-rs 0.4.27

File Platform Checksum
dotenvx-rs-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
dotenvx-rs-x86_64-apple-darwin.tar.xz Intel macOS checksum
dotenvx-rs-x86_64-pc-windows-msvc.zip x64 Windows checksum
dotenvx-rs-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
dotenvx-rs-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

v0.4.26

18 Oct 16:24

Choose a tag to compare

Release Notes

Added

  • Add lint support by dotenv-linter 4.0: dotenvx lint
  • Display key pair by public key: dotenvx kp <public_key>

Install dotenvx-rs 0.4.26

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/linux-china/dotenvx-rs/releases/download/v0.4.26/dotenvx-rs-installer.sh | sh

Install prebuilt binaries via Homebrew

brew install linux-china/tap/dotenvx-rs

Download dotenvx-rs 0.4.26

File Platform Checksum
dotenvx-rs-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
dotenvx-rs-x86_64-apple-darwin.tar.xz Intel macOS checksum
dotenvx-rs-x86_64-pc-windows-msvc.zip x64 Windows checksum
dotenvx-rs-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
dotenvx-rs-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

0.4.25 - 2025-10-07

07 Oct 03:29

Choose a tag to compare

Release Notes

Added

  • Add key-value from stdin for set sub command: dotenvx set
  • Auto encrypt value by key name pattern: PASSWORD, SECRET, TOKEN, KEY, PRIVATE, CREDENTIAL
  • Add dotenvx sync to sync variables between .env files: for example to create .env file from example
    dotenvx sync .env.example .env

Install dotenvx-rs 0.4.25

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/linux-china/dotenvx-rs/releases/download/v0.4.25/dotenvx-rs-installer.sh | sh

Install prebuilt binaries via Homebrew

brew install linux-china/tap/dotenvx-rs

Download dotenvx-rs 0.4.25

File Platform Checksum
dotenvx-rs-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
dotenvx-rs-x86_64-apple-darwin.tar.xz Intel macOS checksum
dotenvx-rs-x86_64-pc-windows-msvc.zip x64 Windows checksum
dotenvx-rs-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
dotenvx-rs-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

0.4.24 - 2025-09-24

23 Sep 16:37

Choose a tag to compare

Release Notes

Added

  • Enhance json support:
    • jsonc: // dotenv.public.key: xxxxx
    • json: a key named dotenv.public.key with string value, no matter where it is.
{
  "metadata": {
    "dotenv.public.key": "02e8d78f0da7fc3b529d503edd933ed8cd"
  },
  "data": {
    "password": "encrypted:BODKXo7WSG++r5DmD/uUe3n3ZpGm2BnUUxWGgXpbTML7BLRFYg=="
  }
}

Install dotenvx-rs 0.4.24

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/linux-china/dotenvx-rs/releases/download/v0.4.24/dotenvx-rs-installer.sh | sh

Install prebuilt binaries via Homebrew

brew install linux-china/tap/dotenvx-rs

Download dotenvx-rs 0.4.24

File Platform Checksum
dotenvx-rs-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
dotenvx-rs-x86_64-apple-darwin.tar.xz Intel macOS checksum
dotenvx-rs-x86_64-pc-windows-msvc.zip x64 Windows checksum
dotenvx-rs-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
dotenvx-rs-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

0.4.23 - 2025-09-23

21 Sep 14:37

Choose a tag to compare

Release Notes

Added

  • Add decrypt for any text file, such as XML, Toml, JSON etc.
<!-- dotenv.public.key: 02b4972559803fa3c2464e93858f80c3a4c86f046f725329f8975e007b393dc4f0 -->
<config>
  <password>encrypted:BNexEwjKwt87k9aEgaSng1JY6uW8OkwMYEF</password>
</config>

Install dotenvx-rs 0.4.23

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/linux-china/dotenvx-rs/releases/download/v0.4.23/dotenvx-rs-installer.sh | sh

Install prebuilt binaries via Homebrew

brew install linux-china/tap/dotenvx-rs

Download dotenvx-rs 0.4.23

File Platform Checksum
dotenvx-rs-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
dotenvx-rs-x86_64-apple-darwin.tar.xz Intel macOS checksum
dotenvx-rs-x86_64-pc-windows-msvc.zip x64 Windows checksum
dotenvx-rs-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
dotenvx-rs-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

0.4.22 - 2025-09-19

19 Sep 06:06

Choose a tag to compare

Release Notes

Added

  • Add .env.duckdb support for duckdb shim: from current directory or its parent directories
  • Add hints output for duckdb shim.

Install dotenvx-rs 0.4.22

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/linux-china/dotenvx-rs/releases/download/v0.4.22/dotenvx-rs-installer.sh | sh

Install prebuilt binaries via Homebrew

brew install linux-china/tap/dotenvx-rs

Download dotenvx-rs 0.4.22

File Platform Checksum
dotenvx-rs-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
dotenvx-rs-x86_64-apple-darwin.tar.xz Intel macOS checksum
dotenvx-rs-x86_64-pc-windows-msvc.zip x64 Windows checksum
dotenvx-rs-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
dotenvx-rs-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

0.4.21 - 2025-09-17

18 Sep 04:30

Choose a tag to compare

Release Notes

Added

Add duckdb shim support: env variables alike: DUCKDB__<OBJ_NAME>__TYPE=xx, and DUCKDB__<OBJ_NAME>__VAR_NAME=xxxxx

DUCKDB__S3_SECRET=secret
DUCKDB__S3_SECRET__TYPE=s3
DUCKDB__S3_SECRET__KEY_ID=encrypted:...
DUCKDB__S3_SECRET__SECRET=encrypted:...

Or you can attach encryption-database with:

DUCKDB__SECRET_DB=attach
DUCKDB__SECRET_DB__TYPE=duckdb
DUCKDB__SECRET_DB__URL=encrypted.db
DUCKDB__SECRET_DB__ENCRYPTION_KEY=123456

Attention: Please use double underscore __ to separate the parts.

  • DuckDB shim creation: dotenvx link bin/duckdb

Install dotenvx-rs 0.4.21

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/linux-china/dotenvx-rs/releases/download/v0.4.21/dotenvx-rs-installer.sh | sh

Install prebuilt binaries via Homebrew

brew install linux-china/tap/dotenvx-rs

Download dotenvx-rs 0.4.21

File Platform Checksum
dotenvx-rs-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
dotenvx-rs-x86_64-apple-darwin.tar.xz Intel macOS checksum
dotenvx-rs-x86_64-pc-windows-msvc.zip x64 Windows checksum
dotenvx-rs-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
dotenvx-rs-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

0.4.19 - 2025-09-14

14 Sep 06:22

Choose a tag to compare

Release Notes

Added

  • Add inspection for sensitive keys with plain value in dotenvx doctor
  • Add mise integration with dotenvx in README.md
  • Add default value for group(global) and name(app) with dotenvx init --global command

Install dotenvx-rs 0.4.19

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/linux-china/dotenvx-rs/releases/download/v0.4.19/dotenvx-rs-installer.sh | sh

Install prebuilt binaries via Homebrew

brew install linux-china/tap/dotenvx-rs

Download dotenvx-rs 0.4.19

File Platform Checksum
dotenvx-rs-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
dotenvx-rs-x86_64-apple-darwin.tar.xz Intel macOS checksum
dotenvx-rs-x86_64-pc-windows-msvc.zip x64 Windows checksum
dotenvx-rs-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
dotenvx-rs-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum