|
2 | 2 |
|
3 | 3 | All notable changes to this project will be documented in this file. |
4 | 4 |
|
| 5 | +## [6.1.0] - 2026-03-15 |
| 6 | + |
| 7 | +### Added |
| 8 | + |
| 9 | +- **Node.js 18 Support**: Lowered minimum Node.js requirement from 20.19.0 to 18.18.0 |
| 10 | + - Added `engines` field to package.json: `"node": "^18.18.0 || ^20.9.0 || >=21.1.0"` |
| 11 | +- **Workspace Configuration**: Added `pnpm-workspace.yaml` for monorepo support |
| 12 | +- **Node Version Requirements Doc**: Added comprehensive documentation for all ESLint plugins' Node.js requirements at `docs/NODE_VERSION_REQUIREMENTS.md` |
| 13 | + |
| 14 | +### Changed |
| 15 | + |
| 16 | +- **Downgraded Plugins for Node.js 18 Compatibility**: |
| 17 | + - `eslint-plugin-regexp`: ^3.1.0 → ^2.10.0 |
| 18 | + - `eslint-plugin-jsdoc`: ^62.8.0 → ^61.7.1 |
| 19 | + - `eslint-plugin-perfectionist`: ^5.6.0 → ^4.15.1 |
| 20 | + - `eslint-plugin-unicorn`: ^59.0.1 → ^56.0.1 |
| 21 | + - `eslint-plugin-svelte`: ^3.0.0 → ^2.46.1 |
| 22 | + - `eslint-plugin-vue`: ^10.0.0 → ^9.33.0 |
| 23 | +- **Unicorn Rules**: Updated unicorn config with additional rules |
| 24 | + - Added `unicorn/consistent-empty-array-spread` |
| 25 | + - Added `unicorn/new-for-builtins` |
| 26 | + - Kept `unicorn/no-instanceof-array` (not available in unicorn 59.x) |
| 27 | +- **Vue Config**: Updated to use flat config names for Vue 2/3 detection |
| 28 | + - Vue 2: Uses `flat/vue2-essential`, `flat/vue2-recommended`, `flat/vue2-strongly-recommended` |
| 29 | + - Vue 3: Uses `flat/essential`, `flat/recommended`, `flat/strongly-recommended` |
| 30 | +- **Svelte Config**: Added type assertion for plugin compatibility |
| 31 | + |
| 32 | +### Fixed |
| 33 | + |
| 34 | +- Fixed `TypeError: context.sourceCode.isGlobalReference is not a function` error with unicorn rules |
| 35 | +- Fixed Vue config compatibility with eslint-plugin-vue@9.x |
| 36 | +- Fixed Svelte config type compatibility with eslint-plugin-svelte@2.x |
| 37 | + |
| 38 | +### Notes |
| 39 | + |
| 40 | +- `eslint-plugin-toml@1.x` still requires Node.js 20.19.0+, but is kept as optional |
| 41 | +- `eslint-plugin-unicorn@56.x` is compatible with all ESLint 9.x versions (not just 9.22.0+) |
| 42 | + |
5 | 43 | ## [6.0.0] - 2026-03-14 |
6 | 44 |
|
7 | 45 | ### Added |
|
0 commit comments