19.2.0
Release Notes: Angular 19 Upgrade and Enhancements
Key Features and Updates
-
Upgrade to Angular 19:
- Migrated the build system to Angular 19.
- Adopted standalone components and control flow features.
- Updated routing to use
loadComponentfor lazy loading. - Converted
@Input()properties to the newinput()function for improved reactivity. - Updated
ViewChildsyntax for better compatibility with Angular 19.
-
Dependency Updates:
- Updated all project dependencies to their latest versions.
- Upgraded ESLint to version 9 with flat configuration.
-
Improved Dependency Injection:
- Replaced constructor injection with the
inject()function for services across multiple components, services, and pipes. - Updated tests to align with the new dependency injection approach.
- Replaced
APP_INITIALIZERwithprovideAppInitializerforIconsServiceinitialization.
- Replaced constructor injection with the
Code Refactoring
- Simplified directive definitions in abstract Material form field components.
- Reorganized imports for consistency and improved focus monitoring in form components.
- Updated SCSS and component imports for clarity and maintainability.
- Renamed
notifServicetonotifyServicefor better naming consistency. - Removed unused modules and cleaned up module imports in tests.
- Updated HTML templates to use self-closing tags for components.
- Improved code style and type definitions for consistency.
Documentation Updates
- Updated the README to:
- Reflect the Angular 19 migration tasks and feature enhancements.
- Include details about the ESLint upgrade and flat configuration.
- Clarify the feature module structure and module cleanup.
Chores and Quality Improvements
- Added a pre-commit hook to run
lint-stagedfor code quality checks. - Cleaned up package scripts for better maintainability.
Bug Fixes
- Removed unused module imports from component tests to prevent errors.
This release brings significant improvements in performance, maintainability, and alignment with Angular 19's latest features.
Full Changelog: 18.0.0...19.2.0