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

chore(deps): update dependency mvdan/gofumpt to v0.6.0 #49

Merged
merged 1 commit into from
Jul 18, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 15, 2024

Mend Renovate

This PR contains the following updates:

Package Update Change
mvdan/gofumpt minor v0.4.0 -> v0.6.0

Release Notes

mvdan/gofumpt (mvdan/gofumpt)

v0.6.0

Compare Source

This release is based on Go 1.21's gofmt, and requires Go 1.20 or later.

The following changes are included:

  • Support go version strings from newer go.mod files - [#​280]
  • Consider simple error checks even if they use the = operator - [#​271]
  • Ignore //line directives to avoid panics - [#​288]

v0.5.0

Compare Source

This release is based on Go 1.20's gofmt, and requires Go 1.19 or later.

The biggest change in this release is that we now vendor copies of the packages
go/format, go/printer, and go/doc/comment on top of cmd/gofmt itself.
This allows for each gofumpt release to format code in exactly the same way
no matter what Go version is used to build it, as Go versions can change those
three packages in ways that alter formatting behavior.

This vendoring adds a small amount of duplication when using the
mvdan.cc/gofumpt/format library, but it's the only way to make gofumpt
versions consistent in their behavior and formatting, just like gofmt.

The jump to Go 1.20's go/printer should also bring a small performance
improvement, as we contributed patches to make printing about 25% faster:

The following changes are included as well:

  • Skip testdata dirs by default like we already do for vendor - [#​260]
  • Avoid inserting newlines incorrectly in some func signatures - [#​235]
  • Avoid joining some comments with the previous line - [#​256]
  • Fix gofumpt -version for release archives - [#​253]

Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot enabled auto-merge (squash) April 15, 2024 18:58
renovate-approve[bot]
renovate-approve bot previously approved these changes Apr 15, 2024
renovate-approve[bot]
renovate-approve bot previously approved these changes Jul 18, 2024
@renovate renovate bot merged commit 94ec8be into main Jul 18, 2024
12 checks passed
@renovate renovate bot deleted the renovate/mvdan-gofumpt-0.x branch July 18, 2024 04:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants