diff --git a/changelog.md b/changelog.md index f2d165c..c6556b7 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,11 @@ # Changelog +## 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 diff --git a/readme.md b/readme.md index 1607c43..cff8599 100644 --- a/readme.md +++ b/readme.md @@ -102,17 +102,14 @@ Qenv loads variables in this order (first found wins): Store and retrieve complex configuration objects: ```typescript -// In env.yml -const config = { - database: { - host: 'localhost', - port: 5432, - options: { - ssl: true, +# In env.yml +DATABASE_CONFIG: + database: + host: localhost + port: 5432 + options: + ssl: true poolSize: 10 - } - } -}; // Qenv automatically handles base64 encoding const dbConfig = await qenv.getEnvVarOnDemandAsObject('DATABASE_CONFIG'); diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 16efbdd..db5ab6b 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@push.rocks/qenv', - version: '6.1.1', + version: '6.1.2', description: 'A module for easily handling environment variables in Node.js projects with support for .yml and .json configuration.' }