Angular: 20.0.0-next.2 Release

Release date:
May 6, 2025
Previous version:
20.0.0-next.1 (released March 5, 2025)
Magnitude:
11,852 Diff Delta
Contributors:
27 total committers
Data confidence:
Commits:

Top Contributors in 20.0.0-next.2

crisbeto
JeanMeche
sumitarora
devversion
pkozlowski-opensource
atscott
mmalerba
jessicajaniuk
goulaheau
iteriani

Directory Browser for 20.0.0-next.2

We haven't yet finished calculating and confirming the files and directories changed in this release. Please check back soon.

Release Notes Published

<a name="20.0.0-next.2"></a>

20.0.0-next.2 (2025-03-12)

common

| Commit | Description | | -- | -- | | fix - 92250493ff | support equality function in httpResource (#60026) |

compiler

| Commit | Description | | -- | -- | | fix - ef1fd137a9 | incorrect spans for template literals (#60323) |

compiler-cli

| Commit | Description | | -- | -- | | fix - a1cacc5b17 | avoid fatal diagnostics for missing template files (#58673) | | fix - 9be2b334ed | handle transformed classes when generating HMR code (#60298) |

core

| Commit | Description | | -- | -- | | feat - 611baaf069 | remove InjectFlags from public API (#60318) | | fix - e170d24240 | add migration away from InjectFlags (#60318) | | fix - 79ae35577e | check whether application is destroyed before initializing event replay (#59789) | | fix - c82384104f | ensures immediate trigger fires properly with lazy loaded routes (#60203) | | fix - de2bfc0913 | fix removal of a container reference used in the component file (#60210) | | fix - ff772d7800 | fix typing on injector.get to omit 'any' (#60202) | | fix - 338818ce89 | Surface errors from ApplicationRef.tick to callsite (#60102) |

forms

| Commit | Description | | -- | -- | | fix - 81fe0536fd | Make sure statusChanges is emitted (#57098) |

platform-browser

| Commit | Description | | -- | -- | | refactor - a980ac9a6a | Deprecate the HammerJS integration (#60257) |

platform-server

| Commit | Description | | -- | -- | | fix - 0cff9a12d3 | add missing peer dependency for rxjs (#60308) |

router

| Commit | Description | | -- | -- | | fix - 219f41d049 | Prevent dangling promise rejections from internal navigations (#60162) | | fix - cae1fe519b | update symbols (#60233) |

Breaking Changes

core

  • * InjectFlags has been removed.
    • inject no longer accepts InjectFlags.
    • Injector.get no longer accepts InjectFlags.
    • EnvironmentInjector.get no longer accepts InjectFlags.
    • TestBed.get no longer accepts InjectFlags.
    • TestBed.inject no longer accepts InjectFlags.
  • The any overload has been removed from injector.get. It now only supports ProviderToken<T> and (deprecated since v4) string.
  • ApplicationRef.tick will no longer catch and report errors to the appplication ErrorHandler. Errors will instead be thrown out of the method and will allow callers to determine how to handle these errors, such as aborting follow-up work or reporting the error and continuing. ## Deprecations ### platform-browser
  • HammerJS support is deprecated and will be removed in a future major version.