Skip to content

Releases: 7PH/envfill

v1.2.2

Choose a tag to compare

@7PH 7PH released this 03 May 14:49

🔥 Release preview

The variable name is now always shown in the prompt, even when a comment block is present above the variable. Before, only the comment was rendered, so it wasn't clear which variable you were answering for.

Template:

# Traefik entrypoint
USE_TLS=<*false|true>

Before:

◆  Traefik entrypoint
└  ▶

After:

◆  USE_TLS
│  Traefik entrypoint
└  ▶

The same applies to the secret-generated log line, which now reads DB_PASSWORD (Database password): Generated 32-char secret.

🤔 Changes

  • Always render the variable name in interactive prompts and in the secret-generated info log

v1.2.1

Choose a tag to compare

@7PH 7PH released this 25 Jan 14:47

🔥 Release preview

Fix dollar sign ($) escaping in .env values to prevent shell variable interpolation issues.

Before: Passwords like abc$def were written unescaped, causing $def to be interpreted as a variable reference when sourced.

After: Values containing $ are now properly quoted and escaped:

# Input password: $Q7Kyp(vtU$eDRG#YSPizqW)BB3DePyi
# Output:
PASSWORD="\$Q7Kyp(vtU\$eDRG#YSPizqW)BB3DePyi"

🐞 Bug fixes

  • Fix dollar sign escaping in .env values to prevent shell variable interpolation

v1.2.0

Choose a tag to compare

@7PH 7PH released this 24 Jan 04:26

🔥 Release preview

Conditional prompts and variable interpolation bring dynamic configuration to envfill

# Only prompt for DB vars when database is enabled
DATABASE_URL=<if:USE_DATABASE,required>

# Compose variables from other values
API_URL=${PROTOCOL}://${HOST}:${PORT}/api

🚀 Features

  • Add conditional directives with <if:VAR> to skip prompts based on other values
  • Add variable interpolation with ${VAR} syntax for composing values
  • Add regex validation with <regex:/^pattern$/flags:error message>
  • Add transform directives: <lowercase>, <uppercase>, <slugify>, <trim:chars>, <replace:/pat/repl/g>
  • Add advanced secret generation with customizable charsets (alnum, hex, special, etc.)
  • Add integer validation with <integer:min:max> for numeric ranges
  • Add multi-template support with multiple -i flags for layered configs
  • Add exhaustive template preservation when generating .env

💻 Code quality

  • Replace unit tests with full E2E test setup supporting coverage
  • Refactor codebase for better maintainability

v1.1.0

Choose a tag to compare

@7PH 7PH released this 20 Jan 02:29

🔥 Release preview

Keep the .env.template structure when generating the .env

🚀 Features

  • Ensure the formatting of the template file is similar to the .env to improve .env file readability

💻 Code quality

n/a

👥 Thanks

n/a

v1.0.0 - First release of envfill

Choose a tag to compare

@7PH 7PH released this 19 Jan 15:19

First release of envfill

Envfill is an interactive CLI to populate .env files from templates