Skip to content
This repository was archived by the owner on Jul 31, 2024. It is now read-only.

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Apr 9, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
mvdan.cc/gofumpt require minor v0.4.0 -> v0.5.0

Release Notes

mvdan/gofumpt

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 - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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 force-pushed the renovate/mvdan.cc-gofumpt-0.x branch from 27e04a3 to d06a369 Compare April 12, 2023 06:53
@renovate renovate bot force-pushed the renovate/mvdan.cc-gofumpt-0.x branch from d06a369 to 2c420f0 Compare April 12, 2023 06:53
@pranc1ngpegasus pranc1ngpegasus merged commit a66e85a into main Apr 13, 2023
@pranc1ngpegasus pranc1ngpegasus deleted the renovate/mvdan.cc-gofumpt-0.x branch April 13, 2023 13:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants