common
Commit | Description |
---|---|
Add experimental support for the Navigation API (#63406) |
compiler
Commit | Description |
---|---|
fixes regression with event parsing and animate prefix (#63470) |
core
Commit | Description |
---|---|
avoid injecting internal error handler from a destroyed injector (#62275) | |
Explicit Zone CD in TestBed providers should not override TestBed error handler (#63404) | |
Fix cancellation of animation enter classes (#63442) | |
Fixed inject migration schematics for migrate destructured properties (#62832) | |
Prevent an error on cleanup when an rxResource stream threw before returning an Observable (#63342)
| |
Remove ignoreChangesOutsideZone option (#62700) |
forms
Commit | Description |
---|---|
add experimental signal-based forms (#63408) | |
consistent treatment of empty (#63456) |
http
Commit | Description |
---|---|
Add reponseType property to HttpResponse and HttpErrorResponse (#63043) |
platform-browser
Commit | Description |
---|---|
remove deprecated ApplicationConfig export (#63529)
|
platform-server
Commit | Description |
---|---|
prevent false warning for duplicate state serialization (#63525) |
router
Commit | Description |
---|---|
Update recognize stage to use internally async/await (#62994) |
upgrade
Commit | Description |
---|---|
Remove deprecated UpgradeAdapter (#61659) |
Breaking Changes
common
- (test only) -
TestBed
now provides a fakePlatformLocation
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 forTestBed
by providing theMockPlatformLocation
from
@angular/common/testing
in your providers:
{provide: PlatformLocation, useClass: MockPlatformLocation}
core
- (test only) - Using
provideZoneChangeDetection
in the
TestBed providers would previously preventTestBed
from rethrowing
errors as it should. Errors in the test will now be rethrown, regardless
of the usage ofprovideZoneChangeDetection
. Tests should be adjusted to
prevent or account for these errors. As in previous major versions,
this behavior can be disabled withrethrowApplicationErrors: 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 importApplicationConfig
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