From 22ca1517fb531fb2cc44d8a064c2f906048ddcf0 Mon Sep 17 00:00:00 2001 From: Kyle Hensel Date: Fri, 4 Jul 2025 23:53:12 +1000 Subject: [PATCH] docs: create a draft changelog for v11 needs some copyediting and updating one the ongoing PRs are merged --- CHANGELOG.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9486abc..9521486 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,20 @@ ## 11.0.0 -- **Upgrade**: Upgraded dependency `commander` to `13.x` -- **Upgrade**: Upgraded dependency `cross-spawn` to `7.x` +- **BREAKING**: Drop support for nodejs `v8` to `v20.9`. The minimum supported nodejs version is now `v20.10`. +- **BREAKING**: remove `-r` flag and use only `-f` flag. +- **BREAKING**: Support inline comments in `.env` files. A `#` character now signifies the start of an inline comment, unless the value is surrounded by quotation marks (`"`). +- **BREAKING**: Migrated the repository to ESM modules instead of CommonJS. +- **BREAKING**: Support variable expansion using curly-brace syntax (`{{MY_VAR}}`), when the `-x` option is enabled. +- **Feature**: Support loading env variables from `.cjs` and `.mjs` files. +- **Feature**: Support loading env variables from `.ts`, `.cts`, and `.mts` files. +- **Feature**: When loading an invalid JSON file, show the original parse error. +- **Feature**: Add a more helpful error message when trying to invoke env-cmd as a standalone command. +- **Docs**: clarify how variable expansion works. +- **Internal**: Replaced Travis CI with GitHub Actions, run unit tests on windows. +- **Internal**: Configure automatic releases to npm from GitHub Actions +- **Internal**: Refactor the loader logic, to make it easier to add other loaders. +- **Upgrade**: Update all dependencies. - **Upgrade**: Upgraded all devDependencies - **Feature**: support both `$var` and `${var}` when expanding vars - **Feature**: Added support for nested env variables with the `--recursive` flag