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 mvdan.cc/gofumpt from 0.6.0 to 0.7.0 #2594

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 19, 2024

Bumps mvdan.cc/gofumpt from 0.6.0 to 0.7.0.

Release notes

Sourced from mvdan.cc/gofumpt's releases.

v0.7.0

This release is based on Go 1.23.0's gofmt, and requires Go 1.22 or later.

The following changes are included:

  • Group internal/... imported packages as standard library - #307

Binaries built on go version go1.23.0 linux/amd64 with:

CGO_ENABLED=0 go build -trimpath -ldflags="-w -s -X=main.version=v0.7.0"

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

Changelog

Sourced from mvdan.cc/gofumpt's changelog.

[v0.7.0] - 2024-08-16

This release is based on Go 1.23.0's gofmt, and requires Go 1.22 or later.

The following changes are included:

  • Group internal/... imported packages as standard library - #307
Commits
  • 86bffd6 CI: drop Go 1.21, add Go 1.23
  • 45e806f add release notes for v0.7.0
  • 1e52eb3 internal/govendor: re-generate with go1.23.0
  • 038012a update published gofumpt versions in tests
  • 88a300b require Go 1.22 and use go/version for Options.LangVersion
  • 41a9946 format: start using go/token.File.Lines
  • 5aa7546 group internal/... import paths as standard library
  • 52739c5 swap frankban/quicktest for go-quicktest/qt
  • 7ccdb87 re-generate to vendor from Go 1.22.0
  • b2260fd drop Go 1.20, test on Go 1.22
  • See full diff 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Summary by CodeRabbit

  • Chores
    • Updated the gofumpt dependency from version 0.6.0 to 0.7.0, potentially improving code formatting and project functionality.

Bumps [mvdan.cc/gofumpt](https://github.com/mvdan/gofumpt) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/mvdan/gofumpt/releases)
- [Changelog](https://github.com/mvdan/gofumpt/blob/master/CHANGELOG.md)
- [Commits](mvdan/gofumpt@v0.6.0...v0.7.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>
Copy link
Contributor

coderabbitai bot commented Aug 19, 2024

Walkthrough

The primary change involves updating the gofumpt dependency in the go.mod file from version 0.6.0 to 0.7.0. This update may introduce enhancements, bug fixes, or new features to the Go code formatting tool, potentially improving the project's overall code quality. Details on specific changes in the new version are not provided, but this update aims to keep the project aligned with the latest developments in the gofumpt library.

Changes

Files Change Summary
go.mod Updated mvdan.cc/gofumpt from v0.6.0 to v0.7.0

Poem

🐰 In the garden, tools anew,
gofumpt shines, a brighter hue.
With version seven, let’s rejoice,
Formatting code, we lift our voice!
Bugs and fixes, all in line,
Hopping forward, feeling fine! 🌼


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between c297c61 and d86ddb8.

Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
Files selected for processing (1)
  • go.mod (1 hunks)
Additional comments not posted (1)
go.mod (1)

39-39: Dependency Update Approved: Verify Go Version Compatibility.

The update to mvdan.cc/gofumpt from version 0.6.0 to 0.7.0 is approved. Ensure that the project is compatible with Go 1.22 or later, as required by the new version of gofumpt.

Verification successful

Go Version Compatibility Verified

The go.mod file specifies Go version 1.22.2, which is compatible with the updated gofumpt dependency version 0.7.0. No further action is required regarding Go version compatibility.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the Go version compatibility with the updated `gofumpt` dependency.

# Test: Check the Go version used in the project. Expect: Go version 1.22 or later.
go version

Length of output: 82


Script:

#!/bin/bash
# Search for documentation or configuration files that specify the Go version requirement.
# Look for files like README.md or any Go configuration files that might mention the Go version.

# Search for mentions of Go version in README.md or similar documentation.
rg "Go version" README.md

# Search for any Go version specification in the codebase.
rg "go\s*1\.[0-9]+" go.mod

Length of output: 66

@robert-zaremba robert-zaremba merged commit 2a9ae64 into main Sep 5, 2024
21 of 25 checks passed
@robert-zaremba robert-zaremba deleted the dependabot/go_modules/mvdan.cc/gofumpt-0.7.0 branch September 5, 2024 08:24
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.

2 participants