Skip to content

v19.0.0

Compare
Choose a tag to compare
@JamesHenry JamesHenry released this 29 Nov 20:52

19.0.0 (2024-11-29)

As always we recommend that you update your existing workspaces by using ng update as we provide some helpful schematics to help migrate your workspaces to the latest and greatest.

However, please note that the angular-eslint package itself now supports being referenced as the schematics collection, so...

IF YOU ARE ALREADY USING angular-eslint and ESLint v9 and flat config you can now do the following:

ng update @angular/core @angular/cli angular-eslint

(Note: If you encounter any issues with this, you may need to update to the latest v18 release of angular-eslint first)

IF YOU ARE STILL USING @angular-eslint/schematics and ESLint v8 and .eslintrc.json configs you can still do the following:

ng update @angular/core @angular/cli @angular-eslint/schematics

NOTE: There will not be any migration of your setup to ESLint v9 or flat configs for existing ESLint v8 workspaces while migrating to angular-eslint v19.

We will explore landing an opt in migration schematic in a minor release after 19.0.0.

🚀 Features

  • update angular packages to the stable v19 (#2120)
  • allow referencing angular-eslint as the schematics collection (2be3107b)
  • ⚠️ eslint-plugin: remove deprecated prefer-standalone-component rule (#2112)
  • ⚠️ eslint-plugin: prefer-standalone recognizes that standalone is the default (#2096)
  • ⚠️ eslint-plugin: remove deprecated sort-ngmodule-metadata-arrays rule (#2114)
  • ⚠️ eslint-plugin: remove deprecated no-host-metadata-property rule (#2113)
  • eslint-plugin: new rule prefer-signals (#1872)
  • ⚠️ eslint-plugin: promote prefer-standalone to recommended (8dfdc4f4)

⚠️ Breaking Changes

  • ⚠️ eslint-plugin: promote prefer-standalone to recommended (8dfdc4f4)
  • ⚠️ eslint-plugin: remove deprecated no-host-metadata-property rule (#2113)
  • ⚠️ eslint-plugin: remove deprecated sort-ngmodule-metadata-arrays rule (#2114)
  • ⚠️ eslint-plugin: prefer-standalone recognizes that standalone is the default (#2096)
  • ⚠️ eslint-plugin: remove deprecated prefer-standalone-component rule (#2112)

❤️ Thank You