@angular/animations
Advanced tools
Changelog
20.0.0-next.9 (2025-04-30)
the TestBed.flushEffects()
was removed - use
the TestBed.tick()
instead.
provideExperimentalCheckNoChangesForDebug
has several
breaking changes:
provideCheckNoChangesConfig
useNgZoneOnStable
option is removed. This wasn't found to be generally
more useful than interval
afterRender was renamed to afterEveryRender.
This commit deprecates ng-reflect-*
attributes and updates the runtime to stop producing them by default. Please refactor application and test code to avoid relying on ng-reflect-*
attributes.
To enable a more seamless upgrade to v20, we've added the provideNgReflectAttributes()
function (can be imported from the @angular/core
package), which enables the mode in which Angular would be producing those attribites (in dev mode only). You can add the provideNgReflectAttributes()
function to the list of providers within the bootstrap call.
| Commit | Type | Description | | -- | -- | -- | | b7d3f3dbfc | feat | Allow passing ScrollOptions to ViewportScroller (#61002) | | fc4a56d5c5 | fix | rename httpResource function in factory (#60022) |
| Commit | Type | Description | | -- | -- | -- | | c889382a20 | feat | detect missing structural directive imports (#59443) |
| Commit | Type | Description |
| -- | -- | -- |
| d5fd7349fb | feat | introduce TestBed.tick() (#60993) |
| e711f99d81 | feat | move provideExperimentalCheckNoChangesForDebug
to provideCheckNoChangesConfig
(#60906) |
| d8fbb909ce | feat | rename afterRender to afterEveryRender and stabilize (#60999) |
| 8d82a39a60 | fix | async EventEmitter error should not prevent stability (#61028) |
| 624be2ef0c | fix | prevent stash listener conflicts (#59635) |
| c2987d8402 | refactor | stop producing ng-reflect
attributes by default (#60973) |
| Commit | Type | Description | | -- | -- | -- | | ccc5cc068f | feat | add keepalive support for fetch requests (#60621) |
<!-- CHANGELOG SPLIT MARKER --><a name="19.2.9"></a>
Changelog
19.2.9 (2025-04-30)
| Commit | Type | Description | | -- | -- | -- | | 946b844e0d | fix | async EventEmitter error should not prevent stability (#61028) | | dbb87026ca | fix | call DestroyRef on destroy callback if view is destroyed [patch] (#61061) | | 2e140a136a | fix | prevent stash listener conflicts [patch] (#61063) |
<!-- CHANGELOG SPLIT MARKER --><a name="20.0.0-next.8"></a>
Changelog
20.0.0-next.8 (2025-04-23)
provideExperimentalZonelessChangeDetection
is
renamed to provideZonelessChangeDetection
as it is now "Developer
Preview" rather than "Experimental".RedirectFn
can now return Observable
or
Promise
. Any code that directly calls functions returning this type
may need to be adjusted to account for this.@angular/platform-server/testing
Use e2e tests to verify SSR behavior instead.
| Commit | Type | Description |
| -- | -- | -- |
| 1b8e7ab9fe | feat | support the in
keyword in Binary expression (#58432) |
| Commit | Type | Description |
| -- | -- | -- |
| 953c4b2580 | feat | Move zoneless change detection to dev preview (#60748) |
| 0ac949c266 | fix | do not run change detection on global error events (#60944) |
| 0162ceb427 | fix | inject migration should treat @Attribute
as optional (#60916) |
| Commit | Type | Description | | -- | -- | -- | | be995623cd | fix | make NgForm emit FormSubmittedEvent and FormResetEvent (#60887) |
| Commit | Type | Description | | -- | -- | -- | | 2240a21c97 | refactor | deprecate the testing entry point (#60915) |
| Commit | Type | Description | | -- | -- | -- | | 62de7d930a | feat | add asynchronous redirects (#60863) | | 2419060fef | fix | relax required types on router commands to readonly array (#60345) |
<!-- CHANGELOG SPLIT MARKER --><a name="19.2.8"></a>
Changelog
19.2.8 (2025-04-23)
| Commit | Type | Description | | -- | -- | -- | | ea4a211216 | fix | make NgForm emit FormSubmittedEvent and FormResetEvent (#60887) |
<!-- CHANGELOG SPLIT MARKER --><a name="20.0.0-next.7"></a>
Changelog
20.0.0-next.7 (2025-04-16)
| Commit | Type | Description |
| -- | -- | -- |
| cbbea70fa3 | fix | issue a warning instead of an error when NgOptimizedImage
exceeds the preload limit (#60879) |
| Commit | Type | Description | | -- | -- | -- | | 65adb3024d | feat | Add provider which reports unhandled errors on window to ErrorHandler (#60704) | | c1bcae91dd | feat | expose performance data in Chrome DevTools (#60789) | | 727cda3856 | feat | mark linkedSignal API as public (#60865) | | 567522398f | feat | stabilize incremental hydration api (#60888) | | bf8492b871 | feat | stabilize withI18nSupport() api (#60889) | | 11d441ff8b | fix | inject migration: replace param with this. (#60713) |
| Commit | Type | Description |
| -- | -- | -- |
| 9f31947aad | fix | Include HTTP status code and headers when HTTP requests errored in httpResource
(#60802) |
<a name="19.2.7"></a>
Changelog
19.2.7 (2025-04-16)
| Commit | Type | Description |
| -- | -- | -- |
| 37ab6814f5 | fix | issue a warning instead of an error when NgOptimizedImage
exceeds the preload limit (#60883) |
| Commit | Type | Description | | -- | -- | -- | | b144126612 | fix | inject migration: replace param with this. (#60713) |
| Commit | Type | Description |
| -- | -- | -- |
| d39e09da41 | fix | Include HTTP status code and headers when HTTP requests errored in httpResource
(#60802) |
<a name="20.0.0-next.6"></a>
Changelog
20.0.0-next.6 (2025-04-09)
ApplicationRef.tick
.
Prior to this change, animations would not be flushed in some situations
if change detection did not run on any views attached to the
application. This change can affect tests which may rely on the old
behavior, often by making assertions on DOM elements that should have
been removed but weren't because DOM removal is delayed until animations
are flushed.| Commit | Type | Description |
| -- | -- | -- |
| 7a971766dc | feat | add extended diagnostic for uninvoked track function on @for
blocks (#60495) |
| Commit | Type | Description | | -- | -- | -- | | 8744c9a165 | fix | ensure HMR works with different output module type (#60797) |
| Commit | Type | Description |
| -- | -- | -- |
| 4e88e18a8e | feat | mark toObservable
as stable (#60449) |
| 8d050b5bfc | feat | stabilize linkedSignal API (#60741) |
| 866cea9a05 | feat | Stabilize PendingTasks Injectable (#60716) |
| 39a4e00464 | fix | fix ng generate @angular/core:output-migration. Fixes angular#58650 (#60763) |
| 0b69b61929 | fix | Flush animations when no component has been checked (#58089) |
| 3d85d9363c | fix | reduce total memory usage of various migration schematics (#60774) |
| 0ae1889560 | fix | run ApplicationRef.prototype.bootstrap
in NgZone
(#60720) |
| Commit | Type | Description | | -- | -- | -- | | 5795e03cdf | fix | Delay stabilization until next app synchronization (#60656) |
| Commit | Type | Description | | -- | -- | -- | | a22b13f990 | fix | Do not provide element completions in end tag (#60616) | | b9cf414790 | fix | Ensure dollar signs are escaped in completions (#60597) |
<!-- CHANGELOG SPLIT MARKER --><a name="19.2.6"></a>
Changelog
19.2.6 (2025-04-09)
| Commit | Type | Description | | -- | -- | -- | | 3441f7b914 | fix | error if rawText isn't estimated correctly (#60529) (#60753) |
| Commit | Type | Description | | -- | -- | -- | | fc946c5f72 | fix | ensure HMR works with different output module type (#60797) |
| Commit | Type | Description | | -- | -- | -- | | 00bbd9b382 | fix | fix docs for output migration (#60764) | | f2bfa3151e | fix | fix ng generate @angular/core:output-migration. Fixes angular#58650 (#60763) | | 9241615ad0 | fix | reduce total memory usage of various migration schematics (#60776) |
| Commit | Type | Description | | -- | -- | -- | | 0e82d42774 | fix | Do not provide element completions in end tag (#60616) | | fcdef1019f | fix | Ensure dollar signs are escaped in completions (#60597) |
<!-- CHANGELOG SPLIT MARKER --><a name="20.0.0-next.5"></a>