18.0.0-next.5 (2024-04-17)
common
Commit | Description |
---|---|
remove deprecated isPlatformWorkerApp and isPlatformWorkerUi API (#55302)
|
compiler
Commit | Description |
---|---|
remove container index from conditional instruction (#55190) | |
remove support for unassignable expressions in two-way bindings (#55342) |
core
Commit | Description |
---|---|
Add ability to configure zone change detection to use zoneless scheduler (#55252) | |
Add build target for jsaction contract binary. (#55319) | |
Add zoneless change detection provider as experimental (#55329) | |
Modify EventType from an enum to an object. (#55323) | |
Synchronize changes from internal JSAction codebase. (#55182) | |
Angular should not ignore changes that happen outside the zone (#55102) | |
Fix null dereference error addEvent (#55353)
| |
Remove deprecated Testability methods (#53768) |
service-worker
Commit | Description |
---|---|
avoid running CDs on controllerchange (#54222)
|
Breaking Changes
common
- The deprecated
isPlatformWorkerUi
andisPlatformWorkerApp
have been removed without replacement, as they serve no purpose since the removal of the WebWorker platform.
compiler
- Angular only supports writable expressions inside of two-way bindings.
core
-
Angular will ensure change detection runs, even when the state update originates from
outside the zone, tests may observe additional rounds of change
detection compared to the previous behavior.This change will be more likely to impact existing unit tests.
This should usually be seen as more correct and the test should be updated,
but in cases where it is too much effort to debug, the test can revert to the old behavior by adding
provideZoneChangeDetection({schedulingMode: NgZoneSchedulingMode.NgZoneOnly})
to theTestBed
providers.Similarly, applications which may want to update state outside the zone
and not trigger change detection can add
provideZoneChangeDetection({schedulingMode: NgZoneSchedulingMode.NgZoneOnly})
to the providers inbootstrapApplication
or add
schedulingMode: NgZoneSchedulingMode.NgZoneOnly
to the
BootstrapOptions
ofbootstrapModule
. -
Testability methods
increasePendingRequestCount
,
decreasePendingRequestCount
andgetPendingRequestCount
have been
removed. This information is tracked with zones.