@angular/common
Advanced tools
Changelog
19.2.1 (2025-03-05)
| Commit | Type | Description |
| -- | -- | -- |
| c2de5f68b3 | fix | clean up onUrlChange
listener when root scope is destroyed (#60004) |
| Commit | Type | Description | | -- | -- | -- | | 1dd94476b3 | fix | ensure template IDs are not reused if a source file changes (#60152) |
| Commit | Type | Description | | -- | -- | -- | | 1b3b05bf72 | fix | cache ComponentRef inputs and outputs (#60156) | | 330c24aed9 | fix | prevent invoking replay listeners on disconnected nodes (#60103) | | cfad089cc3 | fix | prevents event replay from being called on comment nodes (#60130) |
| Commit | Type | Description | | -- | -- | -- | | 3f0116607d | fix | Forward the tags for quick info from the type definition (#59524) |
<!-- CHANGELOG SPLIT MARKER --><a name="20.0.0-next.0"></a>
Changelog
20.0.0-next.0 (2025-02-26)
Y
formatter (week-numbering year) without also including w
(week number) is now detected as suspicious date pattern, as y
is typically intended.void
in an expression now refers to the operator
Previously an expression in the template like {{void}}
referred to a
property on the component class. After this change it now refers to the
void
operator, which would make the above example invalid. If you have
existing expressions that need to refer to a property named void
,
change the expression to use this.void
instead: {{this.void}}
.
| Commit | Type | Description | | -- | -- | -- | | 74cceba587 | feat | throw error for suspicious date patterns (#59798) |
| Commit | Type | Description | | -- | -- | -- | | f2d5cf7edd | feat | support exponentiation operator in templates (#59894) | | 0361c2d81f | feat | support void operator in templates (#59894) |
| Commit | Type | Description |
| -- | -- | -- |
| 962b59b14e | fix | Ensure ComponentFixture does not duplicate error reporting from FakeAsync (#60104) |
| 491b0a4ead | fix | Remove duplicate reporting of errors in CDR.detectChanges
(#60056) |
| Commit | Type | Description | | -- | -- | -- | | 7c12cb1df9 | feat | Allow resolvers to read resolved data from ancestors (#59860) | | db2f2d99c8 | fix | Scroller should scroll as soon as change detection completes (#60086) |
<!-- CHANGELOG SPLIT MARKER --><a name="19.2.0"></a>
Changelog
19.2.0 (2025-02-26)
| Commit | Type | Description |
| -- | -- | -- |
| 3e39da593a | feat | introduce experimental httpResource
(#59876) |
| Commit | Type | Description | | -- | -- | -- | | 5b20bab96d | feat | Add Skip Hydration diagnostic. (#59576) | | fe8a68329b | feat | support untagged template literals in expressions (#59230) |
| Commit | Type | Description | | -- | -- | -- | | ed705a856a | feat | detect missing structural directive imports (#59443) |
| Commit | Type | Description |
| -- | -- | -- |
| 2588985f43 | feat | pass signal node to throwInvalidWriteToSignalErrorFn (#59600) |
| 168516462a | feat | support default value in resource()
(#59655) |
| bc2ad7bfd3 | feat | support streaming resources (#59573) |
| 146ab9a76e | feat | support TypeScript 5.8 (#59830) |
| 6c92d65349 | fix | add hasValue
narrowing to ResourceRef
(#59708) |
| 96e602ebe9 | fix | cancel in-progress request when same value is assigned (#59280) |
| 6789c7ef94 | fix | Defer afterRender until after first CD (#59455) (#59551) |
| c87e581dd9 | fix | Don't run effects in check no changes pass (#59455) (#59551) |
| 127fc0dc84 | fix | fix resource()
's previous.state
(#59708) |
| b592b1b051 | fix | fix race condition in resource() (#59851) |
| a299e02e91 | fix | preserve tracing snapshot until tick finishes (#59796) |
| Commit | Type | Description | | -- | -- | -- | | fa0c3e3210 | feat | support type set in form validators (#45793) |
| Commit | Type | Description | | -- | -- | -- | | 1cd3a7db83 | feat | add migration to convert templates to use self-closing tags (#57342) |
| Commit | Type | Description | | -- | -- | -- | | e6cb411e43 | fix | automatically disable animations on the server (#59762) |
| Commit | Type | Description | | -- | -- | -- | | fc5d187da5 | fix | decouple server from animations module (#59762) |
<!-- CHANGELOG SPLIT MARKER --><a name="19.1.8"></a>
Changelog
19.1.8 (2025-02-26)
| Commit | Type | Description | | -- | -- | -- | | f0990c67e6 | fix | Ensure future-proof correct initialization order (#60025) |
| Commit | Type | Description | | -- | -- | -- | | 1fbaeab37d | fix | make types for HttpClient more readable (#59901) |
| Commit | Type | Description | | -- | -- | -- | | c611c8d212 | fix | capture stack for HMR errors (#60067) |
| Commit | Type | Description | | -- | -- | -- | | 4c9d09c643 | fix | provide correct rename info for elements (#60088) |
<!-- CHANGELOG SPLIT MARKER --><a name="19.1.7"></a>
Changelog
19.1.7 (2025-02-19)
| Commit | Type | Description |
| -- | -- | -- |
| e9f10eb4c9 | fix | clean up urlChanges
subscribers when root scope is destroyed (#59703) |
| Commit | Type | Description | | -- | -- | -- | | 16fc074689 | fix | avoid crash in isolated transform operations (#59869) |
| Commit | Type | Description |
| -- | -- | -- |
| ec1e4c3d94 | fix | Fix typing on FormRecord
. (#59993) |
<a name="19.2.0-next.3"></a>
Changelog
19.2.0-next.3 (2025-02-13)
| Commit | Type | Description | | -- | -- | -- | | 9e847fc60d | fix | handle tracking expressions requiring temporary variables (#58520) |
| Commit | Type | Description | | -- | -- | -- | | 5cd26a9420 | fix | handle deferred blocks with shared dependencies correctly (#59926) |
| Commit | Type | Description | | -- | -- | -- | | 6789c7ef94 | fix | Defer afterRender until after first CD (#59455) (#59551) | | c87e581dd9 | fix | Don't run effects in check no changes pass (#59455) (#59551) | | b0266bda4a | fix | invalidate HMR component if replacement throws an error (#59854) |
| Commit | Type | Description | | -- | -- | -- | | aa285c548c | fix | account for let declarations in control flow migration (#59861) | | 1119f85ca9 | fix | count used dependencies inside existing control flow (#59861) |
<!-- CHANGELOG SPLIT MARKER --><a name="19.1.6"></a>
Changelog
19.1.6 (2025-02-12)
| Commit | Type | Description | | -- | -- | -- | | 01f669a274 | fix | handle tracking expressions requiring temporary variables (#58520) |
| Commit | Type | Description | | -- | -- | -- | | dcfb9f1959 | fix | handle deferred blocks with shared dependencies correctly (#59926) |
| Commit | Type | Description | | -- | -- | -- | | cab7a9b69c | fix | invalidate HMR component if replacement throws an error (#59854) |
| Commit | Type | Description | | -- | -- | -- | | 710759ddcc | fix | account for let declarations in control flow migration (#59861) | | 46f36a58bf | fix | count used dependencies inside existing control flow (#59861) |
<!-- CHANGELOG SPLIT MARKER --><a name="19.2.0-next.2"></a>
Changelog
19.2.0-next.2 (2025-02-06)
| Commit | Type | Description | | -- | -- | -- | | a97136052f9 | fix | gracefully fall back if const enum cannot be passed through (#59815) | | bae94b82fda | fix | handle const enums used inside HMR data (#59815) | | 03bcd30e348 | fix | handle enum members without initializers in partial evaluator (#59815) |
| Commit | Type | Description | | -- | -- | -- | | 146ab9a76e6 | feat | support TypeScript 5.8 (#59830) | | b592b1b0516 | fix | fix race condition in resource() (#59851) | | a299e02e914 | fix | preserve tracing snapshot until tick finishes (#59796) |
| Commit | Type | Description | | -- | -- | -- | | fa0c3e32108 | feat | support type set in form validators (#45793) |
<!-- CHANGELOG SPLIT MARKER --><a name="19.1.5"></a>