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 mvdan.cc/gofumpt from 0.2.1 to 0.3.1 in /tools #333

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 21, 2022

Bumps mvdan.cc/gofumpt from 0.2.1 to 0.3.1.

Release notes

Sourced from mvdan.cc/gofumpt's releases.

v0.3.1

This bugfix release resolves a number of issues:

  • Avoid "too many open files" error regression introduced by [v0.3.0] - #208
  • Use the go.mod relative to each Go file when deriving flag defaults - #211
  • Remove unintentional debug prints when directly formatting files

#208: mvdan/gofumpt#208 #211: mvdan/gofumpt#211 [v0.3.0]: https://github.com/mvdan/gofumpt/releases/tag/v0.3.0

Binaries built on go version go1.18 linux/amd64 via a shell script.

Consider becoming a sponsor if you benefit from the work that went into this release!

v0.3.0

This is gofumpt's third major release, based on Go 1.18's gofmt. The jump from Go 1.17's gofmt should bring a noticeable speed-up, as the tool can now format many files concurrently. On an 8-core laptop, formatting a large codebase is 4x as fast.

The following formatting rules are added:

  • Functions should separate ) { where the indentation helps readability
  • Field lists should not have leading or trailing empty lines

The following changes are included as well:

  • Generated files are now fully formatted when given as explicit arguments
  • Prepare for Go 1.18's module workspaces, which could cause errors
  • Import paths sharing a prefix with the current module path are no longer grouped with standard library imports
  • format.Options gains a ModulePath field per the last bullet point

A special thanks to @​Oiyoo for his recent contributions as well 🎉

Binaries built on go version go1.17.7 linux/amd64 via a shell script.

Consider becoming a sponsor if you benefit from the work that went into this release!

Changelog

Sourced from mvdan.cc/gofumpt's changelog.

[v0.3.1] - 2022-03-21

This bugfix release resolves a number of issues:

  • Avoid "too many open files" error regression introduced by [v0.3.0] - #208
  • Use the go.mod relative to each Go file when deriving flag defaults - #211
  • Remove unintentional debug prints when directly formatting files

[v0.3.0] - 2022-02-22

This is gofumpt's third major release, based on Go 1.18's gofmt. The jump from Go 1.17's gofmt should bring a noticeable speed-up, as the tool can now format many files concurrently. On an 8-core laptop, formatting a large codebase is 4x as fast.

The following formatting rules are added:

  • Functions should separate ) { where the indentation helps readability
  • Field lists should not have leading or trailing empty lines

The following changes are included as well:

  • Generated files are now fully formatted when given as explicit arguments
  • Prepare for Go 1.18's module workspaces, which could cause errors
  • Import paths sharing a prefix with the current module path are no longer grouped with standard library imports
  • format.Options gains a ModulePath field per the last bullet point
Commits
  • f04017f prepare changelog for v0.3.1
  • 41c1118 bump deps before the upcoming bugfix release
  • 1dfe9ca overhaul how we load module info to format Go files
  • 9eee203 remove unintentional debug prints
  • edc2d69 README: update version info now that Go 1.18 is out
  • 9b05d69 drop Go 1.16, test on 1.18, add checks
  • 06043a6 README: stop mentioning govim and vim-go versions
  • 2becf2f README: tweak setup instructions for Emacs lsp-mode ≥ 8.0.0
  • 6952740 format: fix copy-paste mistake in Options.ModulePath
  • de3450b CHANGELOG: add missing tag link
  • 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)

Bumps [mvdan.cc/gofumpt](https://github.com/mvdan/gofumpt) from 0.2.1 to 0.3.1.
- [Release notes](https://github.com/mvdan/gofumpt/releases)
- [Changelog](https://github.com/mvdan/gofumpt/blob/master/CHANGELOG.md)
- [Commits](mvdan/gofumpt@v0.2.1...v0.3.1)

---
updated-dependencies:
- dependency-name: mvdan.cc/gofumpt
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Mar 21, 2022
@codecov
Copy link

codecov bot commented Mar 21, 2022

Codecov Report

Merging #333 (334f99b) into main (db2c976) will not change coverage.
The diff coverage is n/a.

❗ Current head 334f99b differs from pull request most recent head 1efb784. Consider uploading reports for the commit 1efb784 to get more accurate results

@@           Coverage Diff           @@
##             main     #333   +/-   ##
=======================================
  Coverage   68.57%   68.57%           
=======================================
  Files          20       20           
  Lines        1715     1715           
=======================================
  Hits         1176     1176           
  Misses        484      484           
  Partials       55       55           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update db2c976...1efb784. Read the comment docs.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 3, 2022

Superseded by #352.

@dependabot dependabot bot closed this Oct 3, 2022
@dependabot dependabot bot deleted the dependabot/go_modules/tools/mvdan.cc/gofumpt-0.3.1 branch October 3, 2022 13:02
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.

0 participants