Skip to content

v1.2.0

Choose a tag to compare

@7PH 7PH released this 24 Jan 04:26
· 2 commits to master since this release

🔥 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