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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump mvdan.cc/gofumpt from 0.1.0 to 0.4.0 #113

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Oct 3, 2022

Bumps mvdan.cc/gofumpt from 0.1.0 to 0.4.0.

Release notes

Sourced from mvdan.cc/gofumpt's releases.

v0.4.0

This release is based on Go 1.19's gofmt, and requires Go 1.18 or later. We recommend building gofumpt with Go 1.19 for the best formatting results.

The jump from Go 1.18 brings diffing in pure Go, removing the need to exec diff, and a small parsing speed-up thanks to go/parser.SkipObjectResolution.

The following formatting fixes are included as well:

  • Allow grouping declarations with comments - #212
  • Properly measure the length of case clauses - #217
  • Fix a few crashes found by Go's native fuzzing

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

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

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 @鈥婳iyoo for his recent contributions as well 馃帀

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

... (truncated)

Changelog

Sourced from mvdan.cc/gofumpt's changelog.

[v0.4.0] - 2022-09-27

This release is based on Go 1.19's gofmt, and requires Go 1.18 or later. We recommend building gofumpt with Go 1.19 for the best formatting results.

The jump from Go 1.18 brings diffing in pure Go, removing the need to exec diff, and a small parsing speed-up thanks to go/parser.SkipObjectResolution.

The following formatting fixes are included as well:

  • Allow grouping declarations with comments - #212
  • Properly measure the length of case clauses - #217
  • Fix a few crashes found by Go's native fuzzing

[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

[v0.2.1] - 2021-12-12

This bugfix release resolves a number of issues:

  • Add deprecated flags -s and -r once again, now giving useful errors
  • Avoid a panic with certain function declaration styles
  • Don't group interface members of different kinds
  • Account for leading comments in composite literals

... (truncated)

Commits
  • 6da4e62 write changelog for v0.4.0
  • 535f6e6 use testscript.Params.RequireExplicitExec
  • c6041b3 bump module deps
  • 70d7433 revamp //gofumpt:diagnose for real use cases
  • bf2870b add Go 1.19.x, drop 1.17.x
  • 8dda806 use testdata/script/.txtar rather than testdata/scripts/.txt
  • 900c61a sync with go1.19beta1's gofmt
  • 2a5d4bc use go/parser.SkipObjectResolution
  • 8f1392a README: clarify that we require Go 1.17 or later
  • d4a82e8 README: add a godoc badge
  • 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.1.0 to 0.4.0.
- [Release notes](https://github.com/mvdan/gofumpt/releases)
- [Changelog](https://github.com/mvdan/gofumpt/blob/master/CHANGELOG.md)
- [Commits](mvdan/gofumpt@v0.1.0...v0.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Oct 3, 2022
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
0 participants