release-notes icon indicating copy to clipboard operation
release-notes copied to clipboard

Bump @angular/language-service from 14.2.2 to 18.0.0

Open dependabot[bot] opened this issue 1 year ago • 5 comments

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
refactor - bcce85af72 remove deprecated matchesElement from AnimationDriver (#55479)

common

Commit Description
refactor - d34c033902 Deprecate Local Data API functions (#54483)
refactor - 3b0de30b37 remove deprecated isPlatformWorkerApp and isPlatformWorkerUi API (#55302)

compiler

Commit Description
fix - 91b007e58f add math elements to schema (#55631)
fix - 33d0102304 allow comments between connected blocks (#55966)
fix - 7fc7f3f05f capture all control flow branches for content projection in if blocks (#54921)
fix - a369f43fbd capture switch block cases for content projection (#54921)
fix - eb625d3783 declare for loop aliases in addition to new name (#54942)
fix - f824911510 For FatalDiagnosticError, hide the message field without affecting the emit (#55160)
fix - a040fb720a maintain multiline CSS selectors during CSS scoping (#55509)
fix - 39624c6b12 output input flags as a literal (#55215)
fix - eba92cfa55 prevent usage of reserved control flow symbol in custom interpolation context. (#55809)
fix - 7d5bc1c628 remove container index from conditional instruction (#55190)
fix - 4eb0165750 remove support for unassignable expressions in two-way bindings (#55342)
fix - e1650e3b13 throw error if item name and context variables conflict (#55045)

compiler-cli

Commit Description
feat - 5bd188a394 add partial compilation support for deferred blocks (#54908)
feat - b02b31a915 drop support for TypeScript older than 5.4 (#54961)
fix - 78188e877a add diagnostic if initializer API is used outside of an initializer (#54993)
fix - 69a83993b3 do not throw when retrieving TCB symbol for signal input with restricted access (#55774)
fix - 4f4f41016e dom property binding check in signal extended diagnostic (#54324)
fix - 7a16d7e969 don't type check the bodies of control flow nodes in basic mode (#55360)
fix - 8d93597a82 fix type narrowing of @if with aliases (#55835)
fix - 9b424d7224 preserve original reference to non-deferrable dependency (#54759)
fix - 694ba79cbf report cases where initializer APIs are used in a non-directive class (#54993)
fix - 6219341d26 report errors when initializer APIs are used on private fields (#54981)
fix - c04ffb1fa6 use switch statements to narrow Angular switch blocks (#55168)

core

Commit Description
feat - a730f09ae9 Add a public API to establish events to be replayed and an attribute to mark an element with an event handler. (#55356)
feat - fdd560ea14 Add ability to configure zone change detection to use zoneless scheduler (#55252)
feat - bce5e2344f Add build target for jsaction contract binary. (#55319)
feat - 666d646575 Add event delegation library to queue up events and replay them when the application is ready (#55121)
feat - 5f06ca8f55 add HOST_TAG_NAME token (#54751)
feat - a600a39d0c 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 matchesElement method has been removed from AnimationDriver as it is unused.

common

  • The deprecated isPlatformWorkerUi and isPlatformWorkerApp have 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

  • OnPush views 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 the OnPush change detection strategy.

  • OnPush views 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 the OnPush change detection strategy.

  • The ComponentFixture autoDetect feature will no longer refresh the component's host view when the component is OnPush and not marked dirty. This exposes existing issues in components which claim to be OnPush but do not correctly call markForCheck when they need to be refreshed. If this change causes test failures, the easiest fix is to change the component to ChangeDetectionStrategy.Default.

  • ComponentFixture.whenStable now matches the ApplicationRef.isStable observable. Prior to this change, stability of the fixture did not include everything that was considered in ApplicationRef. whenStable of the fixture will now include unfinished router navigations and unfinished HttpClient requests. This will cause tests that await the whenStable promise to time out when there are incomplete requests. To fix this, remove the whenStable, instead wait for another condition, or ensure HttpTestingController mocks responses for all requests. Try adding HttpTestingController.verify() before your await fixture.whenStable to 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.isStable would 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
  • b7f2fd4 fix(language-service): use type-only import in plugin factory (#55996)
  • ca517d7 refactor: migrate language-service to prettier formatting (#55405)
  • 5c29416 refactor(language-service): add a plugin factory initialize helper (#55264)
  • bd236cc fix(language-service): implement getDefinitionAtPosition for Angular template...
  • ed6df68 refactor(language-service): use compiler for current program instance (#55097)
  • 104dfd4 refactor(language-service): support showing tags info in the completion (#51140)
  • a48afe0 fix(language-service): avoid generating TS syntactic diagnostics for template...
  • f3b6245 refactor: fix a number of typos throughout the codebase (#55018)
  • f2a98cd refactor(language-service): use native Array flatMap (#55011)
  • 4166dfc fix(language-service): prevent underlying TS Service from handling template f...
  • Additional commits viewable in compare view

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

dependabot[bot] avatar May 24 '24 11:05 dependabot[bot]

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.

k8s-ci-robot avatar May 24 '24 11:05 k8s-ci-robot

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 in a comment.

When GitHub merges a Pull Request, the title is included in the merge commit. To avoid invalid keywords in the merge commit, please edit the title of the PR.

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.

k8s-ci-robot avatar May 24 '24 11:05 k8s-ci-robot

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.

k8s-ci-robot avatar May 24 '24 11:05 k8s-ci-robot

[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.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

k8s-ci-robot avatar May 24 '24 11:05 k8s-ci-robot

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...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar May 24 '24 11:05 netlify[bot]

Superseded by #630.

dependabot[bot] avatar May 30 '24 11:05 dependabot[bot]