@angular/elements
Advanced tools
Changelog
20.0.1 (2025-06-04)
| Commit | Type | Description | | -- | -- | -- | | 66a0ec6510 | fix | move defer trigger assertions out of parser (#61747) | | 8ecb1ba027 | fix | recover invalid parenthesized expressions (#61815) |
| Commit | Type | Description |
| -- | -- | -- |
| 8c60cbfd1c | fix | takeUntilDestroyed
completes immediately if DestroyRef already destroyed (#61847) |
| b1d960d082 | fix | produce an error when incremental hydration is expected, but not configured (#61741) |
| b4ed62ddf6 | fix | properly handle the case where getSignalGraph is called on a componentless NodeInjector (#60772) |
| ddd22bea48 | fix | unregister onDestroy
in ResourceImpl
when destroy()
is called (#61870) |
| 5c31e7e28d | fix | unregister onDestroy
when observable errors in toSignal
(#61596) |
| Commit | Type | Description | | -- | -- | -- | | e9820a6d48 | fix | avoid trailing whitespaces in unused imports migration (#61698) |
| Commit | Type | Description | | -- | -- | -- | | b93fa22f25 | fix | prevent duplicate fetches during concurrent update checks (#61443) | | 9743bd1317 | fix | update service worker to handle seeking better for videos (#60029) |
<!-- CHANGELOG SPLIT MARKER --><a name="20.0.0"></a>
Changelog
20.0.0-rc.2 (2025-05-21)
@angular/platform-browser-dynamic
Resource.value()
now returns a default value when in a loading state after reloading the error stateResource.value()
now throws an error when it's in an error state. Previously it returned undefined
.Resource.error
now has a type of Signal<Error | undefined>
instead of Signal<unknown>
Resource.reload
has been moved to WritableResource.reload
.| Commit | Type | Description | | -- | -- | -- | | af7881abac | fix | cancel reader when app is destroyed (#61528) | | 966df84351 | fix | prevent reading chunks if app is destroyed (#61354) |
| Commit | Type | Description | | -- | -- | -- | | e74266b108 | fix | avoid conflicts between HMR code and local symbols (#61550) |
| Commit | Type | Description | | -- | -- | -- | | b57084267e | fix | Always retain prior results for all files (#61487) | | 7a3a41f33f | fix | avoid ECMAScript private field metadata emit (#61227) |
| Commit | Type | Description |
| -- | -- | -- |
| 7efb3384a7 | fix | cleanup rxResource
abort listener (#58306) |
| b90160d10a | fix | cleanup testability subscriptions (#61261) |
| 3ba39bc28f | fix | getting resource value throws an error instead of returning undefined (#61441) |
| ca6295e90b | fix | handle different DI token types in Chrome DevTools integration (#61333) |
| d62379bb13 | fix | move reload method from Resource to WritableResource (#61441) |
| a89f1cff24 | fix | narrow error type for resources API (#61441) |
| 6e79eaf739 | fix | reading resource value after reload in the error state (#61441) |
| 350776b412 | fix | TestBed.tick should ensure test components are synchronized (#61382) |
| 648d42fe65 | fix | Testing should not throw when Zone does not patch test FW APIs (#61376) |
| 5dbeb42308 | fix | unregister onDestroy
in toSignal
. (#61514) |
| 30e081287d | fix | update min Node.js support to 20.19, 22.12, and 24.0 (#61500) |
| Commit | Type | Description |
| -- | -- | -- |
| bc2cab747f | refactor | Deprecate the platform-browser-dynamic
package (#61043) |
| Commit | Type | Description | | -- | -- | -- | | 6d8e57d131 | perf | speed up resolution of base (#61392) |
<!-- CHANGELOG SPLIT MARKER --><a name="19.2.12"></a>
Changelog
19.2.14 (2025-05-28)
| Commit | Type | Description | | -- | -- | -- | | 24bab55f0c | fix | lexer support for template literals in object literals (#61601) |
| Commit | Type | Description | | -- | -- | -- | | 9e1cd49662 | fix | preserve comments when removing unused imports (#61674) |
<!-- CHANGELOG SPLIT MARKER --><a name="19.2.13"></a>
Changelog
19.2.13 (2025-05-23)
| Commit | Type | Description | | -- | -- | -- | | 2c876b4fc5 | fix | avoid injecting ApplicationRef in FetchBackend (#61649) |
| Commit | Type | Description | | -- | -- | -- | | b15bddfa04 | fix | do not register service worker if app is destroyed before it is ready to register (#61101) |
<!-- CHANGELOG SPLIT MARKER --><a name="20.0.0-rc.2"></a>
Changelog
20.0.0-rc.2 (2025-05-21)
@angular/platform-browser-dynamic
Resource.value()
now returns a default value when in a loading state after reloading the error stateResource.value()
now throws an error when it's in an error state. Previously it returned undefined
.Resource.error
now has a type of Signal<Error | undefined>
instead of Signal<unknown>
Resource.reload
has been moved to WritableResource.reload
.| Commit | Type | Description | | -- | -- | -- | | af7881abac | fix | cancel reader when app is destroyed (#61528) | | 966df84351 | fix | prevent reading chunks if app is destroyed (#61354) |
| Commit | Type | Description | | -- | -- | -- | | e74266b108 | fix | avoid conflicts between HMR code and local symbols (#61550) |
| Commit | Type | Description | | -- | -- | -- | | b57084267e | fix | Always retain prior results for all files (#61487) | | 7a3a41f33f | fix | avoid ECMAScript private field metadata emit (#61227) |
| Commit | Type | Description |
| -- | -- | -- |
| 7efb3384a7 | fix | cleanup rxResource
abort listener (#58306) |
| b90160d10a | fix | cleanup testability subscriptions (#61261) |
| 3ba39bc28f | fix | getting resource value throws an error instead of returning undefined (#61441) |
| ca6295e90b | fix | handle different DI token types in Chrome DevTools integration (#61333) |
| d62379bb13 | fix | move reload method from Resource to WritableResource (#61441) |
| a89f1cff24 | fix | narrow error type for resources API (#61441) |
| 6e79eaf739 | fix | reading resource value after reload in the error state (#61441) |
| 350776b412 | fix | TestBed.tick should ensure test components are synchronized (#61382) |
| 648d42fe65 | fix | Testing should not throw when Zone does not patch test FW APIs (#61376) |
| 5dbeb42308 | fix | unregister onDestroy
in toSignal
. (#61514) |
| 30e081287d | fix | update min Node.js support to 20.19, 22.12, and 24.0 (#61500) |
| Commit | Type | Description |
| -- | -- | -- |
| bc2cab747f | refactor | Deprecate the platform-browser-dynamic
package (#61043) |
| Commit | Type | Description | | -- | -- | -- | | 6d8e57d131 | perf | speed up resolution of base (#61392) |
<!-- CHANGELOG SPLIT MARKER --><a name="19.2.12"></a>
Changelog
19.2.12 (2025-05-21)
| Commit | Type | Description | | -- | -- | -- | | 126efc9972 | fix | cancel reader when app is destroyed (#61528) | | efda872453 | fix | prevent reading chunks if app is destroyed (#61354) |
| Commit | Type | Description | | -- | -- | -- | | 44bb328eae | fix | avoid conflicts between HMR code and local symbols (#61550) |
| Commit | Type | Description | | -- | -- | -- | | 107180260f | fix | Always retain prior results for all files (#61487) | | 1191e62d70 | fix | avoid ECMAScript private field metadata emit (#61227) |
| Commit | Type | Description |
| -- | -- | -- |
| 2b1b14f4d3 | fix | cleanup rxResource
abort listener (#58306) |
| 8f9b05eaaa | fix | cleanup testability subscriptions (#61261) |
| eb53bda470 | fix | enable stashing only when withEventReplay()
is invoked (#61352) |
| 94f5a4b4d6 | fix | Testing should not throw when Zone does not patch test FW APIs (#61376) |
| c0c69a5abc | fix | unregister onDestroy
in toSignal
. (#61514) |
| Commit | Type | Description | | -- | -- | -- | | 8edafd0559 | perf | speed up resolution of base (#61392) |
<!-- CHANGELOG SPLIT MARKER --><a name="20.0.0-rc.1"></a>
Changelog
20.0.0-rc.1 (2025-05-15)
| Commit | Type | Description | | -- | -- | -- | | e0d378d20e7 | fix | incorrectly handling let declarations inside i18n (#60512) | | 768239a89cb | perf | reduce allocations for let declarations only used in the same view (#60512) |
| Commit | Type | Description | | -- | -- | -- | | 9ec9c7e1b84 | fix | avoid fatal diagnostics for invalid module schemas (#61220) |
| Commit | Type | Description |
| -- | -- | -- |
| 4fe34f4cfea | fix | enable stashing only when withEventReplay()
is invoked (#61077) |
<a name="19.2.11"></a>
Changelog
19.2.11 (2025-05-15)
<!-- CHANGELOG SPLIT MARKER --><a name="20.0.0-rc.0"></a>