v22.0.0-next.9
Breaking Changes📦 angularView on GitHub →
⚠ 1 breaking✨ 2 features🐛 3 fixes🔧 1 symbols
Summary
This release introduces the @Service decorator and updates Testability for stability, while also changing the default route parameter inheritance strategy to 'always' in the router.
⚠️ Breaking Changes
- The default value of paramsInheritanceStrategy has been changed from 'emptyOnly' to 'always' in the router configuration. To restore the previous behavior, set paramsInheritanceStrategy to 'emptyOnly'.
Migration Steps
- If you relied on the previous default behavior of paramsInheritanceStrategy ('emptyOnly'), update your router configuration to explicitly set paramsInheritanceStrategy to 'emptyOnly'.
✨ New Features
- Introduce @Service decorator in core.
- Update Testability to use PendingTasks for stability indicator in core.
🐛 Bug Fixes
- Fixed NgClass leaving trailing comma after removal during migration.
- Restored internal URL on popstate when 'browserUrl' is used in router.
- Set default paramsInheritanceStrategy to 'always' in router (this change is also listed as breaking).