|
| 1 | +<a name="20.0.0-next.2"></a> |
| 2 | +# 20.0.0-next.2 (2025-03-12) |
| 3 | +## Breaking Changes |
| 4 | +### core |
| 5 | +- * `InjectFlags` has been removed. |
| 6 | + * `inject` no longer accepts `InjectFlags`. |
| 7 | + * `Injector.get` no longer accepts `InjectFlags`. |
| 8 | + * `EnvironmentInjector.get` no longer accepts `InjectFlags`. |
| 9 | + * `TestBed.get` no longer accepts `InjectFlags`. |
| 10 | + * `TestBed.inject` no longer accepts `InjectFlags`. |
| 11 | +- The `any` overload has been removed from |
| 12 | + `injector.get`. It now only supports `ProviderToken<T>` and (deprecated |
| 13 | + since v4) `string`. |
| 14 | +- `ApplicationRef.tick` will no longer catch and report |
| 15 | + errors to the appplication `ErrorHandler`. Errors will instead be thrown out of |
| 16 | + the method and will allow callers to determine how to handle these |
| 17 | + errors, such as aborting follow-up work or reporting the error and |
| 18 | + continuing. |
| 19 | +## Deprecations |
| 20 | +### platform-browser |
| 21 | +- HammerJS support is deprecated and will be removed in a future major version. |
| 22 | +### common |
| 23 | +| Commit | Type | Description | |
| 24 | +| -- | -- | -- | |
| 25 | +| [92250493ff](https://github.com/angular/angular/commit/92250493ffc2201e118f399f2ae46d792390fb47) | fix | support equality function in httpResource ([#60026](https://github.com/angular/angular/pull/60026)) | |
| 26 | +### compiler |
| 27 | +| Commit | Type | Description | |
| 28 | +| -- | -- | -- | |
| 29 | +| [ef1fd137a9](https://github.com/angular/angular/commit/ef1fd137a9e180059963b1f3a025c3acc1610b8f) | fix | incorrect spans for template literals ([#60323](https://github.com/angular/angular/pull/60323)) | |
| 30 | +### compiler-cli |
| 31 | +| Commit | Type | Description | |
| 32 | +| -- | -- | -- | |
| 33 | +| [a1cacc5b17](https://github.com/angular/angular/commit/a1cacc5b17d6f865bb260f475f1d2ef37dc845f1) | fix | avoid fatal diagnostics for missing template files ([#58673](https://github.com/angular/angular/pull/58673)) | |
| 34 | +| [9be2b334ed](https://github.com/angular/angular/commit/9be2b334edd20724dc54646ee11622e7ae4b4b0b) | fix | handle transformed classes when generating HMR code ([#60298](https://github.com/angular/angular/pull/60298)) | |
| 35 | +### core |
| 36 | +| Commit | Type | Description | |
| 37 | +| -- | -- | -- | |
| 38 | +| [611baaf069](https://github.com/angular/angular/commit/611baaf0695882f1684baa1c007f7ae112afa5d4) | feat | remove InjectFlags from public API ([#60318](https://github.com/angular/angular/pull/60318)) | |
| 39 | +| [e170d24240](https://github.com/angular/angular/commit/e170d242402f5ee4671dd425c24e5f31fbc67b21) | fix | add migration away from InjectFlags ([#60318](https://github.com/angular/angular/pull/60318)) | |
| 40 | +| [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)) | |
| 41 | +| [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)) | |
| 42 | +| [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)) | |
| 43 | +| [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)) | |
| 44 | +| [338818ce89](https://github.com/angular/angular/commit/338818ce8992294a6b3ab15947e65eb0c6d01391) | fix | Surface errors from `ApplicationRef.tick` to callsite ([#60102](https://github.com/angular/angular/pull/60102)) | |
| 45 | +### forms |
| 46 | +| Commit | Type | Description | |
| 47 | +| -- | -- | -- | |
| 48 | +| [81fe0536fd](https://github.com/angular/angular/commit/81fe0536fdb86ba2428954ac5305c2424f369339) | fix | Make sure statusChanges is emitted ([#57098](https://github.com/angular/angular/pull/57098)) | |
| 49 | +### platform-browser |
| 50 | +| Commit | Type | Description | |
| 51 | +| -- | -- | -- | |
| 52 | +| [a980ac9a6a](https://github.com/angular/angular/commit/a980ac9a6a9b47246db8690e7779e563bf231a90) | refactor | Deprecate the HammerJS integration ([#60257](https://github.com/angular/angular/pull/60257)) | |
| 53 | +### platform-server |
| 54 | +| Commit | Type | Description | |
| 55 | +| -- | -- | -- | |
| 56 | +| [0cff9a12d3](https://github.com/angular/angular/commit/0cff9a12d3701b994d25d241e44126f536b15c2f) | fix | add missing peer dependency for `rxjs` ([#60308](https://github.com/angular/angular/pull/60308)) | |
| 57 | +### router |
| 58 | +| Commit | Type | Description | |
| 59 | +| -- | -- | -- | |
| 60 | +| [219f41d049](https://github.com/angular/angular/commit/219f41d049cf6798f81fbb393b4e23b2a030ff48) | fix | Prevent dangling promise rejections from internal navigations ([#60162](https://github.com/angular/angular/pull/60162)) | |
| 61 | +| [cae1fe519b](https://github.com/angular/angular/commit/cae1fe519b4fc093ca99d0183a2c4da86a96bde1) | fix | update symbols ([#60233](https://github.com/angular/angular/pull/60233)) | |
| 62 | + |
| 63 | +<!-- CHANGELOG SPLIT MARKER --> |
| 64 | + |
1 | 65 | <a name="19.2.2"></a>
|
2 | 66 | # 19.2.2 (2025-03-12)
|
3 | 67 | ### common
|
|
0 commit comments