Angular: 18.0.0-next.5 Release

Release date:
April 17, 2024
Previous version:
18.0.0-next.4 (released April 10, 2024)
Magnitude:
3,741 Diff Delta
Contributors:
20 total committers
Data confidence:
Commits:

Top Contributors in 18.0.0-next.5

iteriani
tbondwilkinson
crisbeto
atscott
alxhub
pkozlowski-opensource
JeanMeche
alan-agius4
jelbourn
clydin

Directory Browser for 18.0.0-next.5

All files are compared to previous version, 18.0.0-next.4. Click here to browse diffs between other versions.

Loading File Browser...

Release Notes Published

<a name="18.0.0-next.5"></a>

18.0.0-next.5 (2024-04-17)

common

| Commit | Description | | -- | -- | | refactor - 3b0de30b37 | remove deprecated isPlatformWorkerApp and isPlatformWorkerUi API (#55302) |

compiler

| Commit | Description | | -- | -- | | fix - 7d5bc1c628 | remove container index from conditional instruction (#55190) | | fix - 4eb0165750 | remove support for unassignable expressions in two-way bindings (#55342) |

core

| Commit | Description | | -- | -- | | feat - fdd560ea14 | Add ability to configure zone change detection to use zoneless scheduler (#55252) | | feat - bce5e2344f | Add build target for jsaction contract binary. (#55319) | | feat - f09c5a7bc4 | Add zoneless change detection provider as experimental (#55329) | | feat - d28614b90e | Modify EventType from an enum to an object. (#55323) | | feat - 1ee9f32621 | Synchronize changes from internal JSAction codebase. (#55182) | | fix - de7447d15e | Angular should not ignore changes that happen outside the zone (#55102) | | fix - 0cec9e4f9a | Fix null dereference error addEvent (#55353) | | fix - 6534c035c0 | Remove deprecated Testability methods (#53768) |

service-worker

| Commit | Description | | -- | -- | | fix - 3bc63eaaf3 | avoid running CDs on controllerchange (#54222) |

Breaking Changes

common

  • The deprecated isPlatformWorkerUi and isPlatformWorkerApp 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 the TestBed 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 in bootstrapApplication or add schedulingMode: NgZoneSchedulingMode.NgZoneOnly to the BootstrapOptions of bootstrapModule. - Testability methods increasePendingRequestCount, decreasePendingRequestCount and getPendingRequestCount have been removed. This information is tracked with zones.