Angular 18
angular 18 + playwright
What's Changed
New Features
- Playwright Integration
- Integrated Playwright for end-to-end testing and updated documentation.
- Updated Playwright configuration for improved browser testing and enhanced README documentation.
Refactoring
- Angular 18 Upgrade
- Updated to Angular 18, including HTTP client testing setup and improved module configurations.
- Updated theme to use new Material 2 palette functions.
- Replaced deprecated
RouterTestingModulewithRouterModulein component tests. - Improved code readability and updated
RouterTestingModuletoRouterModule. - Streamlined code formatting and improved readability across multiple files.
- Improved formatting and editor settings inspired by Angular Material.
- Cleaned up code style and improved readability across multiple services and components.
- Enhanced demo datasource component; improved event logging and paginator functionality.
- Improved storage service and notification service structure; enhanced unit tests.
- Improved TypeScript configuration and enhanced component constructors with readonly modifiers.
- Refactored IconSelectComponent tests; replaced HttpClientTestingModule with provideHttpClient and provideHttpClientTesting.
- Refactored unit tests for ListOfValuesComponent, AnyRolesDirective, and StickDirective; improved mock services and test structure.
- Enhanced unit tests for NavComponent, IconSelectComponent, and AnyRolesDirective with additional imports and mock services.
Fixes
- Linting and Type Safety
- Updated ESLint configuration and added deprecation plugin for improved linting.
- Improved type safety in services and tests by replacing 'any' with specific types.
- Fixed linter reports.
- Fixed value list and unit tests.
- Marked unit tests as pending.
- Fixed unit tests.
- Fixed UT refactor: improved TypeScript configuration and enhanced component constructors with readonly modifiers.
- Fixed excel services and plugged notifications on them.
Dependency Updates
- ESLint and TypeScript
- Updated
angular-eslintandtypescript-eslintdependencies to the latest versions.
- Updated
Miscellaneous
- Deprecated Extensions
- Removed deprecated extensions.
- Documentation
- Updated README with useful links; enhanced ListOfValuesComponent tests with mock services.
This release includes significant improvements in testing, code quality, and dependency management, ensuring a more robust and maintainable codebase.