Angular: 20.0.0-next.9 Release

Release date:
May 19, 2025
Previous version:
20.0.0-next.8 (released April 29, 2025)
Magnitude:
5,278 Diff Delta
Contributors:
21 total committers
Data confidence:
Commits:

Top Contributors in 20.0.0-next.9

crisbeto
JeanMeche
atscott
alxhub
AndrewKushnir
pkozlowski-opensource
Humberd
mmalerba
arturovt
alan-agius4

Directory Browser for 20.0.0-next.9

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

Loading File Browser...

Release Notes Published

common

| Commit | Description | | -- | -- | | feat - b7d3f3dbfc | Allow passing ScrollOptions to ViewportScroller (#61002) | | fix - fc4a56d5c5 | rename httpResource function in factory (#60022) |

compiler-cli

| Commit | Description | | -- | -- | | feat - c889382a20 | detect missing structural directive imports (#59443) |

core

| Commit | Description | | -- | -- | | feat - d5fd7349fb | introduce TestBed.tick() (#60993) | | feat - e711f99d81 | move provideExperimentalCheckNoChangesForDebug to provideCheckNoChangesConfig (#60906) | | feat - d8fbb909ce | rename afterRender to afterEveryRender and stabilize (#60999) | | fix - 8d82a39a60 | async EventEmitter error should not prevent stability (#61028) | | fix - 624be2ef0c | prevent stash listener conflicts (#59635) | | refactor - c2987d8402 | stop producing ng-reflect attributes by default (#60973) |

http

| Commit | Description | | -- | -- | | feat - ccc5cc068f | add keepalive support for fetch requests (#60621) |

Breaking Changes

core

  • the TestBed.flushEffects() was removed - use the TestBed.tick() instead.
  • provideExperimentalCheckNoChangesForDebug has several breaking changes:
    • It is renamed to provideCheckNoChangesConfig
    • The behavior applies to all checkNoChanges runs
    • The useNgZoneOnStable option is removed. This wasn't found to be generally more useful than interval
  • afterRender was renamed to afterEveryRender.
  • This commit deprecates ng-reflect-* attributes and updates the runtime to stop producing them by default. Please refactor application and test code to avoid relying on ng-reflect-* attributes.

To enable a more seamless upgrade to v20, we've added the provideNgReflectAttributes() function (can be imported from the @angular/core package), which enables the mode in which Angular would be producing those attribites (in dev mode only). You can add the provideNgReflectAttributes() function to the list of providers within the bootstrap call.