Skip to content

chore: add Go 1.26 support and raise minimum to 1.25#346

Merged
flc1125 merged 1 commit intov2.xfrom
chore-go1.26-support-min1.25
Feb 23, 2026
Merged

chore: add Go 1.26 support and raise minimum to 1.25#346
flc1125 merged 1 commit intov2.xfrom
chore-go1.26-support-min1.25

Conversation

@flc1125
Copy link
Copy Markdown
Owner

@flc1125 flc1125 commented Feb 23, 2026

No description provided.

Copilot AI review requested due to automatic review settings February 23, 2026 15:38
@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Feb 23, 2026
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @flc1125, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request updates the project's configuration to establish Go 1.25 as the new minimum supported version. This change ensures that the codebase and its development environment are aligned with a more recent Go release, allowing for the utilization of newer language features and maintaining compatibility with the latest tooling. It primarily involves updating version declarations across various configuration files.

Highlights

  • Minimum Go Version Update: The minimum required Go version for the project has been raised from 1.24 to 1.25.
  • Tooling Configuration Alignment: Project tooling, including go mod tidy compatibility and Renovate bot constraints, has been updated to reflect the new Go 1.25 minimum.
  • Documentation Update: The README.md badge indicating supported Go versions has been updated to show Go >=1.25.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • Makefile
    • Updated the go mod tidy -compat flag to use Go 1.25.
    • Ensured a newline character at the end of the file for consistent formatting.
  • README.md
    • Updated the 'Supported Go Versions' badge to reflect the new minimum of Go 1.25.
  • go.mod
    • Updated the declared Go version to 1.25.
  • renovate.json
    • Updated the Go version constraint for Renovate bot to 1.25.
    • Ensured a newline character at the end of the file for consistent formatting.
Ignored Files
  • Ignored by pattern: .github/workflows/** (1)
    • .github/workflows/test.yml
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@dosubot dosubot bot added the go Pull requests that update Go code label Feb 23, 2026
@flc1125 flc1125 merged commit 41a1ecb into v2.x Feb 23, 2026
12 checks passed
@flc1125 flc1125 deleted the chore-go1.26-support-min1.25 branch February 23, 2026 15:40
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request correctly raises the minimum required Go version to 1.25. The update is consistently applied to go.mod, Makefile, renovate.json, and README.md. The change also includes fixes for missing newlines in Makefile and renovate.json. The changes are all positive and I have no concerns.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the project's minimum Go version from 1.24.0 to 1.25.0 and adds Go 1.26.x to the CI test matrix. The changes ensure consistency across all configuration files and development tooling, maintaining support for the two most recent Go versions in testing.

Changes:

  • Raised minimum Go version from 1.24.0 to 1.25.0 across all configuration files
  • Updated CI test matrix to test against Go 1.25.x and 1.26.x (previously 1.24.x and 1.25.x)
  • Updated documentation badge to reflect new minimum version requirement

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
renovate.json Updated Renovate's Go constraint from 1.24.0 to 1.25.0
go.mod Updated Go module version requirement from 1.24.0 to 1.25.0
README.md Updated badge showing minimum supported Go version from 1.24.0 to 1.25.0
Makefile Updated go mod tidy -compat flag from 1.24.0 to 1.25.0
.github/workflows/test.yml Updated CI test matrix from [1.24.x, 1.25.x] to [1.25.x, 1.26.x]

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.27%. Comparing base (7cc6e7b) to head (ac31155).
⚠️ Report is 4 commits behind head on v2.x.

Additional details and impacted files
@@           Coverage Diff           @@
##             v2.x     #346   +/-   ##
=======================================
  Coverage   92.27%   92.27%           
=======================================
  Files           1        1           
  Lines         207      207           
=======================================
  Hits          191      191           
  Misses         11       11           
  Partials        5        5           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

go Pull requests that update Go code size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants