Angular: 21.0.0-next.2 Release

Release date:
September 3, 2025
Previous version:
21.0.0-next.1 (released August 27, 2025)
Magnitude:
571 Diff Delta
Contributors:
10 total committers
Data confidence:
Commits:

Top Contributors in 21.0.0-next.2

SkyZeroZx
aparzi
DuncanFaulkner
angular-robot
arturovt
wartab
hawkgs
seanbright
Yogu
milomg

Directory Browser for 21.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

common

| Commit | Description | | -- | -- | | feat - c795960ada | Add experimental support for the Navigation API (#63406) |

compiler

| Commit | Description | | -- | -- | | fix - 0a82138d4b | fixes regression with event parsing and animate prefix (#63470) |

core

| Commit | Description | | -- | -- | | fix - 538de86a72 | avoid injecting internal error handler from a destroyed injector (#62275) | | fix - d399d7d02b | Explicit Zone CD in TestBed providers should not override TestBed error handler (#63404) | | fix - ed3d1f246b | Fix cancellation of animation enter classes (#63442) | | fix - 06f4fd4456 | Fixed inject migration schematics for migrate destructured properties (#62832) | | fix - 9ae9875384 | Prevent an error on cleanup when an rxResource stream threw before returning an Observable (#63342) | | fix - 92e09adc0a | Remove ignoreChangesOutsideZone option (#62700) |

forms

| Commit | Description | | -- | -- | | feat - b8314bd340 | add experimental signal-based forms (#63408) | | fix - 10ef96adb3 | consistent treatment of empty (#63456) |

http

| Commit | Description | | -- | -- | | feat - 07e678872f | Add reponseType property to HttpResponse and HttpErrorResponse (#63043) |

platform-browser

| Commit | Description | | -- | -- | | refactor - ce8db665f9 | remove deprecated ApplicationConfig export (#63529) |

platform-server

| Commit | Description | | -- | -- | | fix - ee73dc9553 | prevent false warning for duplicate state serialization (#63525) |

router

| Commit | Description | | -- | -- | | fix - 5b53535dd1 | Update recognize stage to use internally async/await (#62994) |

upgrade

| Commit | Description | | -- | -- | | fix - f86846555b | Remove deprecated UpgradeAdapter (#61659) |

Breaking Changes

common

  • (test only) - TestBed now provides a fake PlatformLocation implementation that supports the Navigation API. This may break some tests, though we have not observed any failures internally. You can revert to the old default for TestBed by providing the MockPlatformLocation from @angular/common/testing in your providers: {provide: PlatformLocation, useClass: MockPlatformLocation} ### core
  • (test only) - Using provideZoneChangeDetection in the TestBed providers would previously prevent TestBed from rethrowing errors as it should. Errors in the test will now be rethrown, regardless of the usage of provideZoneChangeDetection. Tests should be adjusted to prevent or account for these errors. As in previous major versions, this behavior can be disabled with rethrowApplicationErrors: false in configureTestingModule as a last resort.
  • ignoreChangesOutsideZone is no longer available as an option for configuring ZoneJS change detection behavior. ### platform-browser
  • The deprecated ApplicationConfig export from @angular/platform-browser has been removed. Please import ApplicationConfig from @angular/core instead. ### router
  • Router navigations may take several additional microtasks to complete. Tests have been found to often be highly dependent on the exact timing of navigation completions with respect to the microtask queue. The most common fix for tests is to ensure all navigations have been completed before making assertions. On rare occasions, this can also affect production applications. This can be caused by multiple subscriptions to router state throughout the application, both of which trigger navigations that happened to not conflict with the previous timing. ### upgrade
  • UpgradeAdapter is no longer available. Use upgrade/static instead