fix(qenv): Handle falsy environment values correctly, improve env source resolution, add tests and update test script
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
# 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
|
||||
|
||||
|
Reference in New Issue
Block a user