docs: create a draft changelog for v11

needs some copyediting and updating one the ongoing PRs are merged
This commit is contained in:
Kyle Hensel 2025-07-04 23:53:12 +10:00 committed by Todd Bluhm
parent b5f3ef44a9
commit 22ca1517fb
No known key found for this signature in database
GPG Key ID: 9CF312607477B8AB

View File

@ -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