From bc472b669c3025cb90b48285495de1f462e6729c Mon Sep 17 00:00:00 2001 From: Andrew Kushnir Date: Wed, 12 Mar 2025 16:49:45 +0000 Subject: [PATCH] release: cut the v20.0.0-next.2 release --- CHANGELOG.md | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++ package.json | 2 +- 2 files changed, 65 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 14aa552539d..22c96a686f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,67 @@ + +# 20.0.0-next.2 (2025-03-12) +## 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` 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. +### common +| Commit | Type | Description | +| -- | -- | -- | +| [92250493ff](https://github.com/angular/angular/commit/92250493ffc2201e118f399f2ae46d792390fb47) | fix | support equality function in httpResource ([#60026](https://github.com/angular/angular/pull/60026)) | +### compiler +| Commit | Type | Description | +| -- | -- | -- | +| [ef1fd137a9](https://github.com/angular/angular/commit/ef1fd137a9e180059963b1f3a025c3acc1610b8f) | fix | incorrect spans for template literals ([#60323](https://github.com/angular/angular/pull/60323)) | +### compiler-cli +| Commit | Type | Description | +| -- | -- | -- | +| [a1cacc5b17](https://github.com/angular/angular/commit/a1cacc5b17d6f865bb260f475f1d2ef37dc845f1) | fix | avoid fatal diagnostics for missing template files ([#58673](https://github.com/angular/angular/pull/58673)) | +| [9be2b334ed](https://github.com/angular/angular/commit/9be2b334edd20724dc54646ee11622e7ae4b4b0b) | fix | handle transformed classes when generating HMR code ([#60298](https://github.com/angular/angular/pull/60298)) | +### core +| Commit | Type | Description | +| -- | -- | -- | +| [611baaf069](https://github.com/angular/angular/commit/611baaf0695882f1684baa1c007f7ae112afa5d4) | feat | remove InjectFlags from public API ([#60318](https://github.com/angular/angular/pull/60318)) | +| [e170d24240](https://github.com/angular/angular/commit/e170d242402f5ee4671dd425c24e5f31fbc67b21) | fix | add migration away from InjectFlags ([#60318](https://github.com/angular/angular/pull/60318)) | +| [79ae35577e](https://github.com/angular/angular/commit/79ae35577efc7d2fb2fbf87e7783daf938c576ff) | fix | check whether application is destroyed before initializing event replay ([#59789](https://github.com/angular/angular/pull/59789)) | +| [c82384104f](https://github.com/angular/angular/commit/c82384104fd9db292e093aa9e62fe6346bdb4a8f) | fix | ensures immediate trigger fires properly with lazy loaded routes ([#60203](https://github.com/angular/angular/pull/60203)) | +| [de2bfc0913](https://github.com/angular/angular/commit/de2bfc09132d19d954d367622c8704993c21da1e) | fix | fix removal of a container reference used in the component file ([#60210](https://github.com/angular/angular/pull/60210)) | +| [ff772d7800](https://github.com/angular/angular/commit/ff772d780089b7b1fcaa14fbd9139d6eeca2f596) | fix | fix typing on injector.get to omit 'any' ([#60202](https://github.com/angular/angular/pull/60202)) | +| [338818ce89](https://github.com/angular/angular/commit/338818ce8992294a6b3ab15947e65eb0c6d01391) | fix | Surface errors from `ApplicationRef.tick` to callsite ([#60102](https://github.com/angular/angular/pull/60102)) | +### forms +| Commit | Type | Description | +| -- | -- | -- | +| [81fe0536fd](https://github.com/angular/angular/commit/81fe0536fdb86ba2428954ac5305c2424f369339) | fix | Make sure statusChanges is emitted ([#57098](https://github.com/angular/angular/pull/57098)) | +### platform-browser +| Commit | Type | Description | +| -- | -- | -- | +| [a980ac9a6a](https://github.com/angular/angular/commit/a980ac9a6a9b47246db8690e7779e563bf231a90) | refactor | Deprecate the HammerJS integration ([#60257](https://github.com/angular/angular/pull/60257)) | +### platform-server +| Commit | Type | Description | +| -- | -- | -- | +| [0cff9a12d3](https://github.com/angular/angular/commit/0cff9a12d3701b994d25d241e44126f536b15c2f) | fix | add missing peer dependency for `rxjs` ([#60308](https://github.com/angular/angular/pull/60308)) | +### router +| Commit | Type | Description | +| -- | -- | -- | +| [219f41d049](https://github.com/angular/angular/commit/219f41d049cf6798f81fbb393b4e23b2a030ff48) | fix | Prevent dangling promise rejections from internal navigations ([#60162](https://github.com/angular/angular/pull/60162)) | +| [cae1fe519b](https://github.com/angular/angular/commit/cae1fe519b4fc093ca99d0183a2c4da86a96bde1) | fix | update symbols ([#60233](https://github.com/angular/angular/pull/60233)) | + + + # 19.2.2 (2025-03-12) ### common diff --git a/package.json b/package.json index 90833206320..05c55e7ae05 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "angular-srcs", - "version": "20.0.0-next.1", + "version": "20.0.0-next.2", "private": true, "description": "Angular - a web framework for modern web apps", "homepage": "https://github.com/angular/angular",