Files
qenv/changelog.md

3.6 KiB

Changelog

2025-08-16 - 6.1.3 - fix(qenv)

Handle falsy environment values correctly, improve env source resolution, add tests and update test script

  • Treat 0, false and empty string as valid environment values by checking for !== undefined when resolving env vars
  • Refactor source resolution to iterate over environment, env file, Docker secrets and secret.json, returning the first defined value
  • Ensure env.json and Docker secret JSON return strings for scalar values and base64-encode object values
  • Add tests covering falsy values and lookup behavior (test/test.falsy.ts)
  • Update package.json test script to run tstest with --verbose --testlog --timeout flags

2025-08-14 - 6.1.2 - fix(readme)

Correct DATABASE_CONFIG example formatting in README and add local settings configuration file

  • Fix YAML formatting in DATABASE_CONFIG example to reflect proper YAML syntax
  • Introduce .claude/settings.local.json with updated permission settings

2025-08-14 - 6.1.1 - fix(qenv)

Improve documentation, update dependencies, and refine project configuration

  • Revamp README with enhanced installation, configuration, and usage instructions
  • Add new project documentation files including code style conventions, project overview, suggested commands, and task checklist
  • Upgrade dependency versions in package.json (e.g. @git.zone/tsbuild, @git.zone/tstest, @push.rocks/smartfile, smartlog, and smartpath)
  • Adjust test import to use '@git.zone/tstest/tapbundle' for improved compatibility
  • Introduce new local configuration files (.claude/settings.local.json and .serena/project.yml) to standardize project settings

2024-11-22 - 6.1.0 - feat(core)

Added new method getEnvVarOnDemandStrict to throw error for unset env vars

  • Introduced getEnvVarOnDemandStrict method in Qenv class for strict retrieval of environment variables.
  • Upgraded various @git.zone and @push.rocks dependencies for improved functionality and security.

2024-11-18 - 6.0.8 - fix(Qenv)

Fix environment file path initialization logic.

  • Corrected the logic for setting the environment file paths to prevent overwriting each other.

2024-11-18 - 6.0.7 - fix(Qenv)

Fix file path initialization for environment variable files

  • Corrected the logic for determining the absolute path for environment files
  • Added missing initialization for env.yml file paths

2024-11-18 - 6.0.6 - fix(core)

Improve handling of env.json and env.yml file checks

  • Check for existence of both env.json and env.yml files and prioritize env.json.
  • Consolidate getFromEnvJsonFile and getFromEnvYamlFile methods into getFromEnvYamlOrJsonFile.

2024-05-29 to 2024-02-09 - 6.0.5 - update

Updates related to configuration files and data handling.

  • Updated description
  • Updated tsconfig
  • Updated npmextra.json for githost

2023-08-09 - 6.0.0 to 6.0.4 - core

Various fixes within the core functionality.

  • Fixes and improvements across multiple minor versions

2023-08-09 - 5.0.5 - core

Breaking change that impacts core functionality.

  • Significant updates leading to breaking changes

2023-07-11 to 2022-07-28 - 5.0.2 - organization

Transition to a new organization scheme.

  • Switched to new organizational scheme

2022-07-28 - 4.0.11 - core

Breaking change introducing ESM modules.

  • Switch to ECMAScript modules

2019-01-15 - 3.1.1 - environment

Breaking change in environment handling.

  • Treat environment variables as immutable

2019-01-14 - 3.0.7 - docker

New feature for Docker secret management.

  • Allow Docker secret.json to be named flexibly

2018-08-13 - 1.1.7 - scope

Scope update for package management.

  • Change scope to @pushrocks/