release-notes
release-notes copied to clipboard
Bump @angular/language-service from 14.2.2 to 18.0.0
Bumps @angular/language-service from 14.2.2 to 18.0.0.
Release notes
Sourced from @angular/language-service's releases.
v18.0.0
18.0.0 (2024-05-22)
animations
Commit Description remove deprecated matchesElementfromAnimationDriver(#55479)common
Commit Description Deprecate Local Data API functions (#54483) remove deprecated isPlatformWorkerAppandisPlatformWorkerUiAPI (#55302)compiler
Commit Description add math elements to schema (#55631) allow comments between connected blocks (#55966) capture all control flow branches for content projection in if blocks (#54921) capture switch block cases for content projection (#54921) declare for loop aliases in addition to new name (#54942) For FatalDiagnosticError, hide themessagefield without affecting the emit (#55160)maintain multiline CSS selectors during CSS scoping (#55509) output input flags as a literal (#55215) prevent usage of reserved control flow symbol in custom interpolation context. (#55809) remove container index from conditional instruction (#55190) remove support for unassignable expressions in two-way bindings (#55342) throw error if item name and context variables conflict (#55045) compiler-cli
Commit Description add partial compilation support for deferred blocks (#54908) drop support for TypeScript older than 5.4 (#54961) add diagnostic if initializer API is used outside of an initializer (#54993) do not throw when retrieving TCB symbol for signal input with restricted access (#55774) dom property binding check in signal extended diagnostic (#54324) don't type check the bodies of control flow nodes in basic mode (#55360) fix type narrowing of @ifwith aliases (#55835)preserve original reference to non-deferrable dependency (#54759) report cases where initializer APIs are used in a non-directive class (#54993) report errors when initializer APIs are used on private fields (#54981) use switch statements to narrow Angular switch blocks (#55168) core
Commit Description Add a public API to establish events to be replayed and an attribute to mark an element with an event handler. (#55356) Add ability to configure zone change detection to use zoneless scheduler (#55252) Add build target for jsaction contract binary. (#55319) Add event delegation library to queue up events and replay them when the application is ready (#55121) add HOST_TAG_NAME token (#54751) add support for fallback content in ng-content (#54854)
... (truncated)
Changelog
Sourced from @angular/language-service's changelog.
18.0.0 (2024-05-22)
Blog post "Angular v18 is now available".
Breaking Changes
animations
- Deprecated
matchesElementmethod has been removed fromAnimationDriveras it is unused.common
- The deprecated
isPlatformWorkerUiandisPlatformWorkerApphave been removed without replacement, as they serve no purpose since the removal of the WebWorker platform.compiler
- Angular only supports writable expressions inside of two-way bindings.
compiler-cli
- Angular no longer supports TypeScript versions older than 5.4.
core
OnPushviews at the root of the application need to be marked dirty for their host bindings to refresh. Previously, the host bindings were refreshed for all root views without respecting theOnPushchange detection strategy.
OnPushviews at the root of the application need to be marked dirty for their host bindings to refresh. Previously, the host bindings were refreshed for all root views without respecting theOnPushchange detection strategy.The
ComponentFixtureautoDetectfeature will no longer refresh the component's host view when the component isOnPushand not marked dirty. This exposes existing issues in components which claim to beOnPushbut do not correctly callmarkForCheckwhen they need to be refreshed. If this change causes test failures, the easiest fix is to change the component toChangeDetectionStrategy.Default.
ComponentFixture.whenStablenow matches theApplicationRef.isStableobservable. Prior to this change, stability of the fixture did not include everything that was considered inApplicationRef.whenStableof the fixture will now include unfinished router navigations and unfinishedHttpClientrequests. This will cause tests thatawaitthewhenStablepromise to time out when there are incomplete requests. To fix this, remove thewhenStable, instead wait for another condition, or ensureHttpTestingControllermocks responses for all requests. Try addingHttpTestingController.verify()before yourawait fixture.whenStableto identify the open requests. Also, make sure your tests wait for the stability promise. We found many examples of tests that did not, meaning the expectations did not execute within the test body.In addition,
ComponentFixture.isStablewould synchronously switch to true in some scenarios but will now always be asynchronous.Angular will ensure change detection runs, even when the state update originates from outside the zone, tests may observe additional rounds of change detection compared to the previous behavior.
This change will be more likely to impact existing unit tests. This should usually be seen as more correct and the test should be updated,
... (truncated)
Commits
b7f2fd4fix(language-service): use type-only import in plugin factory (#55996)ca517d7refactor: migrate language-service to prettier formatting (#55405)5c29416refactor(language-service): add a plugin factory initialize helper (#55264)bd236ccfix(language-service): implement getDefinitionAtPosition for Angular template...ed6df68refactor(language-service): use compiler for current program instance (#55097)104dfd4refactor(language-service): support showing tags info in the completion (#51140)a48afe0fix(language-service): avoid generating TS syntactic diagnostics for template...f3b6245refactor: fix a number of typos throughout the codebase (#55018)f2a98cdrefactor(language-service): use native Array flatMap (#55011)4166dfcfix(language-service): prevent underlying TS Service from handling template f...- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Keywords which can automatically close issues and at(@) or hashtag(#) mentions are not allowed in commit messages.
The list of commits with invalid commit messages:
- 25b032f Bump @angular/language-service from 14.2.2 to 18.0.0
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.
Keywords which can automatically close issues and at(@) mentions are not allowed in the title of a Pull Request.
You can edit the title by writing /retitle
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.
Hi @dependabot[bot]. Thanks for your PR.
I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: dependabot[bot] Once this PR has been reviewed and has the lgtm label, please assign xmudrii for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
Deploy Preview for kubernetes-sigs-release-notes ready!
| Name | Link |
|---|---|
| Latest commit | 25b032f5d1f7c8973327cbf31a1e4f0a41857fa6 |
| Latest deploy log | https://app.netlify.com/sites/kubernetes-sigs-release-notes/deploys/66507aee8bd7400008e11f7f |
| Deploy Preview | https://deploy-preview-618--kubernetes-sigs-release-notes.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Superseded by #630.