@angular/forms
Advanced tools
Changelog
18.2.7 (2024-10-02)
| Commit | Type | Description | | -- | -- | -- | | 249d0260f9 | fix | execute checks and remove placeholder when image is already loaded (#55444) | | 46a2ad39f5 | fix | prevent warning about oversize image twice (#58021) | | 8f2b0ede59 | fix | skip checking whether SVGs are oversized (#57966) |
| Commit | Type | Description | | -- | -- | -- | | 901c1e1a7f | fix | correctly get the type of nested function call expressions (#57010) |
| Commit | Type | Description | | -- | -- | -- | | 2f347ef8fc | fix | provide flag to opt into manual cleanup for after render hooks (#57917) |
| Commit | Type | Description | | -- | -- | -- | | ca637fe6a9 | fix | cleanup JSONP script listeners once loading completed (#57877) |
| Commit | Type | Description | | -- | -- | -- | | b9d846dad7 | fix | delete constructor if it only has super call (#58013) |
| Commit | Type | Description | | -- | -- | -- | | e40a4fa3c7 | fix | support input signal bindings (#57020) |
<!-- CHANGELOG SPLIT MARKER --><a name="19.0.0-next.7"></a>
Changelog
19.0.0-next.7 (2024-09-25)
Changes to effect timing which generally has two implications:
effects which are triggered outside of change detection run as part of the change detection process instead of as a microtask. Depending on the specifics of application/test setup, this can result in them executing earlier or later (or requiring additional test steps to trigger; see below examples).
effects which are triggered during change detection (e.g. by input signals) run earlier, before the component's template.
We've seen a few common failure cases:
Tests which used to rely on the Promise
timing of effects now need to
await whenStable()
or call .detectChanges()
in order for effects to
run.
Tests which use faked clocks may need to fast-forward/flush the clock to cause effects to run.
effect()
s triggered during CD could rely on the application being fully
rendered (for example, they could easily read computed styles, etc). With
the change, they run before the component's updates and can get incorrect
answers. The recent afterRenderEffect()
API is a natural replacement for
this style of effect.
effect()
s which synchronize with the forms system are particularly
timing-sensitive and might need to adjust their initialization timing.
ExperimentalPendingTasks
has been renamed to
PendingTasks
.
| Commit | Type | Description |
| -- | -- | -- |
| fc59e2a7b7 | feat | change effect() execution timing & no-op allowSignalWrites
(#57874) |
| a7eff3ffaa | feat | mark signal-based query APIs as stable (#57921) |
| a1f229850a | feat | migrate ExperimentalPendingTasks to PendingTasks (#57533) |
| 950a5540f1 | fix | Ensure the ViewContext
is retained after closure minification (#57903) |
| Commit | Type | Description | | -- | -- | -- | | 7ecfd89592 | fix | The suppress diagnostics option should work for external templates (#57873) |
<!-- CHANGELOG SPLIT MARKER --><a name="18.2.6"></a>
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>