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 golang.org/x/tools from 0.9.3 to 0.10.0 #455

Merged
merged 1 commit into from
Jun 29, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 16, 2023

Bumps golang.org/x/tools from 0.9.3 to 0.10.0.

Release notes

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

gopls/v0.10.0

This release contains initial support for standalone packages and package renaming. Please see below for more details.

We are also changing our release policy to better align with semver.

Support changes

This version of gopls contains changes to our release policy, deprecates support for some older Go versions, and deprecates support for several experimental features.

New release policy

As described in golang/go#55267, we are tightening our release policy to better follow semver, increase stability, and reduce release-related toil. Significant new features will only be introduced in *.*.0 patch versions, and subsequent patch releases will consist only of bugfixes. For example, this version (v0.10.0) introduces several new features, described below. Subsequent v0.10.* releases will contain only bugfixes.

Final support for Go 1.13-1.15

Consistent with the above release policy and our stated support window, the v0.10.* minor version will be the final set of releases to support being used with Go 1.13-1.15. See golang/go#52982 for details.

Gopls will pop up a warning if it resolves a version of the go command that is older than 1.16. Starting with gopls@v0.11.0, gopls will cease to function when used with a go command with a version older than 1.16.

Deprecated experimental features

The following experimental features are deprecated, and will be removed in gopls@v0.11.0:

  • experimentalWorkspaceModulegolang/go#52897go.work files. See our documentation for information on how to use go.work files to work on multiple modules.
  • experimentalWatchedFileDelaygolang/go#55268workspace/didChangeWatchedFiles notifications.
  • experimentalUseInvalidMetadatagolang/go#54180

New Features

Support for "standalone packages"

Gopls now recognizes certain files as "standalone main packages", meaning they should be interpreted as main packages consisting of a single file. To do this, gopls looks for packages named main containing a single build constraint that matches one of the tags configured by the new standaloneTags setting.

This enables cross references and other features when working in a file such as the example below that contains a //go:build ignore build constraint.

image

(preview) Support for package renaming

golang/go#41567golang/go#56184.

To rename a package, initiate a rename request on the package clause of a file in the package: image

When this renaming is applied, gopls will adjust other package files accordingly, rename the package directory, and update import paths referencing the current package or any nested package in the renamed directory. image

Method information in hover

Hovering over a type now shows a summary of its methods.

... (truncated)

Commits
  • 7261b32 gopls/internal/regtest: fix goimports on windows when using vendoring
  • 41e4e56 gopls/internal/lsp/source/completion: ensuring completion completeness
  • ac29460 go/ssa: fix bug in writeSignature on external functions
  • 3b62e7e go/ssa: use core type within (*builder).receiver
  • f394d45 gopls/internal/lsp/cache: compute xrefs and methodsets asynchronously
  • 27dbf85 go.mod: update golang.org/x dependencies
  • c6c9830 go/types/objectpath: memoize scope lookup in objectpath.Encoder
  • 0245e1d gopls/internal/regtest/codelens: set GOWORK=off for go mod vendor
  • 85be888 go/analysis/passes/defers: add analyser for defer mistake
  • c43232f cmd/digraph: improve examples using go list, mod
  • 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 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 dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jun 16, 2023
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.9.3 to 0.10.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](golang/tools@v0.9.3...v0.10.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/go_modules/golang.org/x/tools-0.10.0 branch from d0f369c to fdb55e8 Compare June 16, 2023 17:42
@austinvazquez
Copy link
Member

Flaky test? Maybe rerun the test.

@pendo324 pendo324 merged commit e321f1d into main Jun 29, 2023
@pendo324 pendo324 deleted the dependabot/go_modules/golang.org/x/tools-0.10.0 branch June 29, 2023 22:05
KevinLiAWS pushed a commit that referenced this pull request Jul 18, 2023
🤖 I have created a release *beep* *boop*
---


## [0.7.0](v0.6.2...v0.7.0)
(2023-07-18)


### Features

* ECR credential integration into Finch
([#462](#462))
([d3514b3](d3514b3))


### Bug Fixes

* Add cleanup script to Makefile
([#444](#444))
([da91f87](da91f87))


### Build System or External Dependencies

* **deps:** Bump github.com/docker/docker from 24.0.2+incompatible to
24.0.4+incompatible
([#469](#469))
([ad37f4f](ad37f4f))
* **deps:** Bump github.com/docker/docker from 24.0.2+incompatible to
24.0.4+incompatible
([#481](#481))
([15d2a4b](15d2a4b))
* **deps:** Bump github.com/onsi/ginkgo/v2 from 2.10.0 to 2.11.0
([#456](#456))
([f7e0916](f7e0916))
* **deps:** Bump github.com/onsi/ginkgo/v2 from 2.9.7 to 2.10.0
([#449](#449))
([a415e3e](a415e3e))
* **deps:** Bump github.com/onsi/gomega from 1.27.7 to 1.27.8
([#448](#448))
([96fc8d0](96fc8d0))
* **deps:** Bump github.com/runfinch/common-tests from 0.7.0 to 0.7.1
([#477](#477))
([54c03bb](54c03bb))
* **deps:** Bump github.com/shirou/gopsutil/v3 from 3.23.5 to 3.23.6
([#464](#464))
([43a6720](43a6720))
* **deps:** Bump github.com/sirupsen/logrus from 1.9.2 to 1.9.3
([#446](#446))
([1823677](1823677))
* **deps:** Bump golang.org/x/crypto from 0.10.0 to 0.11.0
([#465](#465))
([dc5a3e7](dc5a3e7))
* **deps:** Bump golang.org/x/crypto from 0.9.0 to 0.10.0
([#451](#451))
([fef6e77](fef6e77))
* **deps:** Bump golang.org/x/tools from 0.10.0 to 0.11.0
([#466](#466))
([a8b32f9](a8b32f9))
* **deps:** Bump golang.org/x/tools from 0.9.3 to 0.10.0
([#455](#455))
([e321f1d](e321f1d))
* **deps:** Bump k8s.io/apimachinery from 0.27.2 to 0.27.3
([#454](#454))
([d6746a4](d6746a4))
* **deps:** Bump lima version
([#476](#476))
([7b330d3](7b330d3))
* **deps:** Bump submodules
([#482](#482))
([92f2494](92f2494))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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 go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants