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

Bump golang.org/x/tools/gopls from 0.15.1 to 0.15.2 #189

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 12, 2024

Bumps golang.org/x/tools/gopls from 0.15.1 to 0.15.2.

Release notes

Sourced from golang.org/x/tools/gopls's releases.

gopls/v0.15.2

This release fixes the following regressions in [email protected]+.

  • golang/go#66109: a crash when encountering a test file excluded via build tags, which also contained an invalid import of a main package. This could occur in a tools_test.go file implementing the common pattern for tool dependencies.
  • golang/go#66145: spurious import errors in multi-root workspaces. In some scenarios, the new zero-config logic added in [email protected] resulted in inaccurate errors about missing imports. This could occur when module A has a local replace of module B, and A and B are open as a separate workspace folders.
  • golang/go#66195: a crash when working on modules with a go directive of the form go a.b.c, when gopls was compiled with Go 1.20 or earlier.
  • golang/go#66090: a crash when SignatureHelp is cancelled (found via telemetry)
  • golang/go#66250: a crash in references when one of the package files is missing a package declaration (found via telemetry)

These last two crashes are worth highlighting. Both were found via the (off by default) automated crash reporting added in [email protected]. Both were unlikely to get reported via GitHub issues, because they won't happen frequently enough for most LSP clients to notify the user. This is a perfect example of how telemetry can help us deliver a more reliable product than would be possible without automated reporting.

Commits
  • 270fd83 gopls: update go.mod for v0.15.2-pre.2
  • 78fbdeb [gopls-release-branch.0.15] gopls/internal/server: update telemetry prompt link
  • adfa453 [gopls-release-branch.0.15] gopls/internal/golang: fix crash in package refer...
  • ba252e8 [gopls-release-branch.0.15] gopls/internal/server: fix crash in SignatureHelp
  • 3a44541 gopls: update go.mod for v0.15.2-pre.1
  • 86c58d0 [gopls-release-branch.0.15] gopls/internal/cache: add assertions for telemetr...
  • 3f95539 [gopls-release-branch.0.15] gopls/internal/server: set -mod=readonly when che...
  • 68630b3 [gopls-release-branch.0.15] gopls/internal/cache: avoid go/types panic on ver...
  • f5357f5 [gopls-release-branch.0.15] gopls/internal/cache: fix spurious diagnostics in...
  • 03e6d41 [gopls-release-branch.0.15] gopls/internal/cache: prune broken edges to comma...
  • See full diff 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)

Bumps [golang.org/x/tools/gopls](https://github.com/golang/tools) from 0.15.1 to 0.15.2.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](golang/tools@gopls/v0.15.1...gopls/v0.15.2)

---
updated-dependencies:
- dependency-name: golang.org/x/tools/gopls
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 12, 2024
@jacobbednarz jacobbednarz merged commit 8535364 into master Mar 12, 2024
6 checks passed
@jacobbednarz jacobbednarz deleted the dependabot/go_modules/golang.org/x/tools/gopls-0.15.2 branch March 12, 2024 19:56
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant