@angular/router
Advanced tools
Changelog
18.2.6 (2024-09-25)
<!-- CHANGELOG SPLIT MARKER --><a name="19.0.0-next.6"></a>
Changelog
19.0.0-next.6 (2024-09-18)
| Commit | Type | Description | | -- | -- | -- | | f611faadfe | fix | extended diagnostics not validating ICUs (#57845) |
| Commit | Type | Description |
| -- | -- | -- |
| 3ebe6b4ad4 | feat | Add async run
method on ExperimentalPendingTasks
(#56546) |
| 1b1519224d | feat | mark input, output and model APIs as stable (#57804) |
| e5adf92965 | feat | stabilize @let
syntax (#57813) |
| 4231e8f28f | fix | Handle @let
declaration with array when preparingForHydration
(#57816) |
| Commit | Type | Description |
| -- | -- | -- |
| 59fe9bc772 | feat | introduce signal input migration as ng generate
schematic (#57805) |
| 6144612940 | fix | account for explicit standalone: false in migration (#57803) |
<a name="18.2.5"></a>
Changelog
18.2.5 (2024-09-18)
| Commit | Type | Description | | -- | -- | -- | | e685ed883a | fix | extended diagnostics not validating ICUs (#57845) |
| Commit | Type | Description |
| -- | -- | -- |
| 76709d5d6e | fix | Handle @let
declaration with array when preparingForHydration
(#57816) |
| Commit | Type | Description | | -- | -- | -- | | 5c866942a1 | fix | account for explicit standalone: false in migration (#57803) |
<!-- CHANGELOG SPLIT MARKER --><a name="19.0.0-next.5"></a>
Changelog
19.0.0-next.5 (2024-09-11)
| Commit | Type | Description |
| -- | -- | -- |
| c93b510f9b | feat | allow passing undefined
without needing to include it in the type argument of input
(#57621) |
<a name="18.2.4"></a>
Changelog
18.2.4 (2024-09-11)
| Commit | Type | Description | | -- | -- | -- | | b619d6987e | fix | produce less noisy errors when parsing control flow (#57711) |
| Commit | Type | Description | | -- | -- | -- | | 9895e4492f | fix | replace leftover modules with their exports during pruning (#57684) |
<!-- CHANGELOG SPLIT MARKER --><a name="19.0.0-next.4"></a>
Changelog
19.0.0-next.4 (2024-09-09)
| Commit | Type | Description | | -- | -- | -- | | 40ff18f87a | fix | produce less noisy errors when parsing control flow (#57711) |
| Commit | Type | Description |
| -- | -- | -- |
| 6ea8e1e9aa | feat | Add a schematics to migrate to standalone: false
. (#57643) |
| Commit | Type | Description | | -- | -- | -- | | cbec46a51d | feat | migrate .pipe calls in outputs used in tests (#57691) | | 68e5370a66 | feat | remove complete calls for migrated outputs (#57671) | | 9da21f798d | feat | replace .next usage on outputs (#57654) | | 71f5ef2aa5 | fix | change imports to be G3 compatible (#57654) | | 3a264db866 | fix | properly handle comments in output migration (#57691) | | fc95a9adff | fix | replace leftover modules with their exports during pruning (#57684) |
<!-- CHANGELOG SPLIT MARKER --><a name="19.0.0-next.3"></a>
Changelog
19.0.0-next.3 (2024-09-04)
| Commit | Type | Description | | -- | -- | -- | | a2e4ee0cb3 | feat | add diagnostic for unused standalone imports (#57605) |
| Commit | Type | Description |
| -- | -- | -- |
| 8bcc663a53 | feat | drop support for TypeScript 5.4 (#57577) |
| e6e5d29e83 | feat | initial version of the output migration (#57604) |
| be2e49639b | feat | introduce afterRenderEffect
(#57549) |
| Commit | Type | Description |
| -- | -- | -- |
| fe5c4e086a | fix | support output()
-shaped outputs (#57535) |
| Commit | Type | Description | | -- | -- | -- | | c2892fee58 | fix | Dynamicaly call the global fetch implementation (#57531) |
| Commit | Type | Description |
| -- | -- | -- |
| 8da9fb49b5 | feat | add code fix for unused standalone imports (#57605) |
| 1f067f4507 | feat | add code reactoring action to migrate @Input
to signal-input (#57214) |
| 56ee47f2ec | feat | allow code refactorings to compute edits asynchronously (#57214) |
<a name="18.2.3"></a>
Changelog
18.2.3 (2024-09-04)
| Commit | Type | Description | | -- | -- | -- | | de68e049e4 | fix | Dynamicaly call the global fetch implementation (#57531) |
<!-- CHANGELOG SPLIT MARKER --><a name="19.0.0-next.2"></a>
Changelog
19.0.0-next.2 (2024-08-28)
Render default fallback with empty projectableNodes
.
When passing an empty array to projectableNodes
in the createComponent
API, the default fallback content of the ng-content
will be rendered if present. To prevent rendering the default content, pass document.createTextNode('')
as a projectableNode
.
For example:
// The first ng-content will render the default fallback content if present
createComponent(MyComponent. { projectableNodes: [[], [secondNode]] });
// To prevent projecting the default fallback content:
createComponent(MyComponent. { projectableNodes: [[document.createTextNode('')], [secondNode]] });
The timers that are used for zone coalescing and hybrid
mode scheduling (which schedules an application state synchronization
when changes happen outside the Angular zone) will now run in the zone
above Angular rather than the root zone. This will mostly affect tests
which use fakeAsync
: these timers will now be visible to fakeAsync
and can be affected by tick
or flush
.
| Commit | Type | Description | | -- | -- | -- | | 50f08e6c4bf | feat | automatically use sizes auto in NgOptimizedImage (#57479) |
| Commit | Type | Description | | -- | -- | -- | | 4716c3b9660 | perf | reduce duplicate component style resolution (#57502) |
| Commit | Type | Description | | -- | -- | -- | | a3cdbfe87f5 | fix | avoid leaking memory if component throws during creation (#57546) | | 7a99815146e | fix | Do not bubble capture events. (#57476) | | 7b1e5be20b9 | fix | fallback to default ng-content with empty projectable nodes. (#57480) | | 0300dd2e18f | fix | Fix fixture.detectChanges with autoDetect disabled and zoneless (#57416) | | 226a67dabba | fix | Schedulers run in zone above Angular rather than root (#57553) |
| Commit | Type | Description |
| -- | -- | -- |
| 0cebfd7462c | fix | switch to ComponentRef.setInput
& remove custom scheduler (#56728) |
| Commit | Type | Description | | -- | -- | -- | | 8f6308457f0 | fix | Do not unnecessarily run matcher twice on route matching (#57530) |
| Commit | Type | Description | | -- | -- | -- | | c9d90786d0a | fix | Address Trusted Types violations in @angular/upgrade (#57454) |
<!-- CHANGELOG SPLIT MARKER --><a name="18.2.2"></a>
Changelog
18.2.2 (2024-08-28)
| Commit | Type | Description | | -- | -- | -- | | 106917af878 | fix | avoid leaking memory if component throws during creation (#57546) | | 6d3a2af146a | fix | Do not bubble capture events. (#57476) |
| Commit | Type | Description | | -- | -- | -- | | 5d2e243c76a | fix | Dynamicaly call the global fetch implementation (#57531) |
| Commit | Type | Description | | -- | -- | -- | | 804925b1149 | fix | Do not unnecessarily run matcher twice on route matching (#57530) |
| Commit | Type | Description | | -- | -- | -- | | 03ec620e31a | fix | Address Trusted Types violations in @angular/upgrade (#57454) |
<!-- CHANGELOG SPLIT MARKER --><a name="18.2.1"></a>