Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump vscode-languageclient from 8.1.0 to 9.0.0 in /code #642

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 25, 2023

Bumps vscode-languageclient from 8.1.0 to 9.0.0.

Commits

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)

alcarney and others added 30 commits September 12, 2023 20:13
By the time 1.0 is ready 3.7 will have gone EOL so we might as well drop
support now.
Taking inspiration from
https://github.dev/microsoft/vscode-python-tools-extension-template
the next major version of the extension will include a bundled copy of
the language server.

This brings back just enough code to install `esbonio` and its
dependencies in a local `bundled/libs` folder and (attempt) to launch a
language client pointed at this installation of esbonio
It's looking like a lot of the old configuration options won't be
needed so they are being removed for now.

The server needs to know which python interpreter it should use when
spinning up new Sphinx instances. It would be good for the extension
to default to the Python interpreter for the current workspace -
unless told otherwise.

Unfortunately, the Python extension no longer records this as a
standard configuration option.

But adding some middleware to the language client, we can intercept
`workspace/configuration` requests from the server and inject the
Python interpreter as configured by the python extension if necessary!
It's going to be necessary for the server to possess at least a little
knowledge about the content it is processing
This does just enough to open a preview pane for the current document
on demand, it even works for multi-root/multi-project situations -
though currently only one project active at a time.

Fancier features like synced scrolling/document switching etc
will (hopefully!) follow soon
Pass the `-S` flag to the Python interpreter to isolate it from its
environment.

Add support for the `sphinx.enableDevTools` flag
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.1.3 to 5.1.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](microsoft/TypeScript@v5.1.3...v5.1.5)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [webpack](https://github.com/webpack/webpack) from 5.87.0 to 5.88.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.87.0...v5.88.1)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 9.4.3 to 9.4.4.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/main/CHANGELOG.md)
- [Commits](TypeStrong/ts-loader@v9.4.3...v9.4.4)

---
updated-dependencies:
- dependency-name: ts-loader
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.1.5 to 5.1.6.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [semver](https://github.com/npm/node-semver) from 7.5.2 to 7.5.4.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](npm/node-semver@v7.5.2...v7.5.4)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
alcarney and others added 21 commits September 12, 2023 20:16
By default, when the webview is hidden VSCode will destroy the
contents forcing them to be recreated when revealed. By saving the
preview url with the get/set state API we allow the preview pane to
recover from being hidden - albeit with a short delay.
As the name suggests, this prevents VSCode from destroying the
contents when the preview pane is hidden.

The docs discourage you from enabling this due to it being more
resource intensive but I think the experience makes up for that as
the preview is even able to main sync scroll state while still in the
background and recovering from a reveal is near instant.

If the resource usage ever becomes an issue, we can expose an option
and fall back to the previous commit's approach if the user desires
- Disable automatic restarts of the server when it crashes
- Only attempt to stop the client if it is running
- Catch any potential errors in `getStdioClient`
Dependabot couldn't find the original pull request head commit, 4ec135d.
Dependabot couldn't find the original pull request head commit, 01d7279.
Dependabot couldn't find the original pull request head commit, c235a44.
- Implement sync scrolling
- Attempt to automatically detect the user's virtual env
- Move nix config code into its own package - simplifying the
  top-level flake.
Bumps [vscode-languageclient](https://github.com/Microsoft/vscode-languageserver-node/tree/HEAD/client) from 8.1.0 to 9.0.0.
- [Commits](https://github.com/Microsoft/vscode-languageserver-node/commits/release/client/9.0.0/client)

---
updated-dependencies:
- dependency-name: vscode-languageclient
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Sep 25, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 2, 2023

A newer version of vscode-languageclient exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

@alcarney alcarney changed the base branch from beta to develop October 7, 2023 19:14
@alcarney
Copy link
Member

alcarney commented Oct 7, 2023

@dependabot recreate

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 7, 2023

Superseded by #654.

@dependabot dependabot bot closed this Oct 7, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/code/beta/vscode-languageclient-9.0.0 branch October 7, 2023 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants