@angular/language-service
Advanced tools
Changelog
18.2.10 (2024-10-30)
| Commit | Type | Description | | -- | -- | -- | | 69dce38e778 | fix | transform pseudo selectors correctly for the encapsulated view. (#58417) |
| Commit | Type | Description | | -- | -- | -- | | 3b989ac5bd9 | fix | Adding arb format to the list of valid formats in the localization extractor cli (#58287) |
<!-- CHANGELOG SPLIT MARKER --><a name="19.0.0-next.11"></a>
Changelog
19.0.0-next.11 (2024-10-23)
| Commit | Type | Description | | -- | -- | -- | | 24c6373820 | feat | add optional rounded transform support in cloudinary image loader (#55364) | | 13c13067bc | feat | disable keyvalue sorting using null compareFn (#57487) |
| Commit | Type | Description | | -- | -- | -- | | d0c74f3891 | fix | report when NgModule imports or exports itself (#58231) |
| Commit | Type | Description |
| -- | -- | -- |
| 69fc5ae922 | feat | Add incremental hydration public api (#58249) |
| 8ebbae88ca | feat | Add rxjs operator prevent app stability until an event (#56533) |
| 19edf2c057 | feat | add syntactic sugar for initializers (#53152) |
| ab25a192ba | feat | allow running output migration on a subset of paths (#58299) |
| 18d8d44b1f | feat | experimental resource()
API for async dependencies (#58255) |
| 9762b24b5e | feat | experimental impl of rxResource()
(#58255) |
| ec386e7f12 | feat | introduce debugName optional arg to framework signal functions (#57073) |
| 8311f00faa | feat | introduce the reactive linkedSignal (#58189) |
| Commit | Type | Description | | -- | -- | -- | | 3e7d724037 | feat | add ability to clear a FormRecord (#50750) | | 18b6f3339f | fix | fix FormRecord type inference (#50750) |
| Commit | Type | Description |
| -- | -- | -- |
| 4b9accdf16 | feat | promote withRequestsMadeViaParent
to stable. (#58221) |
| Commit | Type | Description | | -- | -- | -- | | 6342befff8 | feat | support migrating full classes to signal queries (#58263) |
| Commit | Type | Description | | -- | -- | -- | | dff4de0f75 | feat | add a combined migration for all signals APIs (#58259) | | bb286f65e7 | feat | capture output migration stats (#58321) | | 2bfc64daf1 | feat | expose output as function migration (#58299) | | cf70d626cd | feat | print output migration stats in ng generate (#58321) | | 42607bf0f2 | fix | add outputs migration to combined shorthand (#58318) | | 00e2001351 | fix | migrate more .next output usages (#58282) |
| Commit | Type | Description | | -- | -- | -- | | 8ddce80a0b | feat | allow specifying maxAge for entire application (#49601) |
<!-- CHANGELOG SPLIT MARKER --><a name="18.2.9"></a>
Changelog
18.2.9 (2024-10-23)
| Commit | Type | Description | | -- | -- | -- | | b0ab653965 | fix | report when NgModule imports or exports itself (#58231) |
<!-- CHANGELOG SPLIT MARKER --><a name="19.0.0-next.10"></a>
Changelog
19.0.0-next.10 (2024-10-16)
standalone: false
for declarations that are currently declared in @NgModule
s. ng update
for v19 will take care of this automatically.| Commit | Type | Description |
| -- | -- | -- |
| 0c9d721ac1 | feat | add support for the typeof
keyword in template expressions. (#58183) |
| a3cb530d84 | fix | handle typeof expressions in serializer (#58217) |
| ba4340875a | fix | ignore placeholder-only i18n messages (#58154) |
| Commit | Type | Description | | -- | -- | -- | | 231e6ff6ca | feat | generate the HMR replacement module (#58205) | | fb44323c51 | fix | incorrectly generating relative file paths on case-insensitive platforms (#58150) |
| Commit | Type | Description |
| -- | -- | -- |
| 6b8c494d05 | feat | flipping the default value for standalone
to true
(#58169) |
| 3f1e7ab6ae | feat | promote outputFromObservable
& outputToObservable
to stable. (#58214) |
| 97c44a1d6c | feat | Promote takeUntilDestroyed
to stable. (#58200) |
| 819ff034ce | feat | treat directives, pipes, components as by default (#58229) |
<a name="19.0.0-next.9"></a>
Changelog
19.0.0-next.9 (2024-10-10)
this.foo
property reads no longer refer to template context variables. If you intended to read the template variable, do not use this.
.factories
property in KeyValueDiffers
has been removed.name
option in the ng add @localize
schematic has been removed in favor of the project
option.BrowserModule.withServerTransition
method has been removed. Please use the APP_ID
DI token to set the application id instead.| Commit | Type | Description |
| -- | -- | -- |
| 09f589f000 | fix | this.a
should always refer to class property a
(#55183) |
| e8d1944999 | fix | add multiple :host and nested selectors support (#57796) |
| 82144b6d63 | fix | allow combinators inside pseudo selectors (#57796) |
| 292ea4714f | fix | fix comment typo (#57796) |
| 69529d8873 | fix | fix parsing of the :host-context with pseudo selectors (#57796) |
| 2374b87b64 | fix | preserve attributes attached to :host selector (#57796) |
| 46a6324c82 | fix | scope :host-context inside pseudo selectors, do not decrease specificity (#57796) |
| bc5f1175e9 | fix | transform pseudo selectors correctly for the encapsulated view (#57796) |
| Commit | Type | Description | | -- | -- | -- | | 8d8c03abc4 | fix | defer symbols only used in types (#58104) |
| Commit | Type | Description |
| -- | -- | -- |
| ee426c62f0 | fix | allow signal write error (#57973) |
| 67db4305c2 | fix | clean up afterRender after it is executed (#58119) |
| 656b5d3e78 | fix | Re-assign error codes to be within core bounds (<1000) (#53455) |
| 97fb86d331 | perf | set encapsulation to None
for empty component styles (#57130) |
| c15ec36bd1 | refactor | remove deprecated factories
Property in KeyValueDiffers
(#58064) |
| Commit | Type | Description | | -- | -- | -- | | bc83fc1e2e | feat | support converting to signal queries in VSCode extension (#58106) |
| Commit | Type | Description |
| -- | -- | -- |
| 9c3bd1b5d1 | refactor | remove deprecated name
option. (#58063) |
| Commit | Type | Description | | -- | -- | -- | | c1aa411cf1 | fix | properly resolve tsconfig paths on windows (#58137) |
| Commit | Type | Description |
| -- | -- | -- |
| 5c61f46409 | refactor | remove deprecated BrowserModule.withServerTransition
method (#58062) |
| Commit | Type | Description |
| -- | -- | -- |
| 9e82559de4 | fix | destroy PlatformRef
when error happens during the bootstrap()
phase (#58112) |
| Commit | Type | Description | | -- | -- | -- | | 1479af978c | feat | finish implementation of refreshAhead feature (#53356) |
<!-- CHANGELOG SPLIT MARKER --><a name="18.2.8"></a>
Changelog
18.2.8 (2024-10-10)
| Commit | Type | Description | | -- | -- | -- | | 11692c8dab | fix | add multiple :host and nested selectors support (#57796) | | 66dcc691f5 | fix | allow combinators inside pseudo selectors (#57796) | | 48a1437e77 | fix | fix comment typo (#57796) | | d325f9b55f | fix | fix parsing of the :host-context with pseudo selectors (#57796) | | aea747ab3b | fix | preserve attributes attached to :host selector (#57796) | | 21be258be6 | fix | scope :host-context inside pseudo selectors, do not decrease specificity (#57796) | | 7a6fd427d5 | fix | transform pseudo selectors correctly for the encapsulated view (#57796) |
| Commit | Type | Description | | -- | -- | -- | | f187c3abf8 | fix | defer symbols only used in types (#58104) |
| Commit | Type | Description | | -- | -- | -- | | 46bafb0b0a | fix | clean up afterRender after it is executed (#58119) |
| Commit | Type | Description |
| -- | -- | -- |
| b40875a2cc | fix | destroy PlatformRef
when error happens during the bootstrap()
phase (#58112) (#58135) |
<a name="19.0.0-next.8"></a>
Changelog
19.0.0-next.8 (2024-10-02)
| Commit | Type | Description | | -- | -- | -- | | c3115b882e | fix | execute checks and remove placeholder when image is already loaded (#55444) | | b7bd429951 | fix | prevent warning about oversize image twice (#58021) | | e8b2d5fad8 | fix | skip checking whether SVGs are oversized (#57966) |
| Commit | Type | Description | | -- | -- | -- | | d9687f43dd | feat | 'strictStandalone' flag enforces standalone (#57935) | | 39ccaf4cc4 | fix | correctly get the type of nested function call expressions (#57010) | | 33fe252c58 | fix | do not report unused declarations coming from an imported array (#57940) |
| Commit | Type | Description | | -- | -- | -- | | 3240598158 | fix | provide flag to opt into manual cleanup for after render hooks (#57917) |
| Commit | Type | Description | | -- | -- | -- | | 22dafa658b | fix | cleanup JSONP script listeners once loading completed (#57877) | | 057cf7fb6b | fix | preserve all headers from Headers object (#57802) |
| Commit | Type | Description | | -- | -- | -- | | 5c4305f024 | feat | support migrating full classes to signal inputs in VSCode (#57975) |
| Commit | Type | Description | | -- | -- | -- | | b6bc93803c | feat | add schematic to migrate to signal queries (#58032) | | ef577b2d2b | fix | delete constructor if it only has super call (#58013) |
| Commit | Type | Description | | -- | -- | -- | | 5f56a65837 | fix | support input signal bindings (#57020) |
<!-- CHANGELOG SPLIT MARKER --><a name="18.2.7"></a>
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>