Skip to content

Conversation

@gqcn
Copy link
Member

@gqcn gqcn commented Jan 26, 2026

This pull request upgrades the GoFrame framework and all related dependencies from version v2.9.8 (and similar) to v2.10.0 across the codebase. It also refactors the .make_version.sh script to improve cross-platform compatibility when editing files, and ensures documentation reflects the new version. These changes help keep the project up-to-date and simplify version management.

Dependency upgrades:

Script improvements:

  • Refactored .make_version.sh to use a new sed_inplace function for in-place file editing, improving cross-platform support (Linux/macOS) and removing reliance on a global variable for the sed command.
  • Updated .make_version.sh to use sed_inplace consistently for version replacement and dependency cleanup steps, ensuring robust file modification regardless of OS. [1] [2]
  • Added a step in .make_version.sh to insert local development replace directives for Go modules, streamlining local testing and development.

Documentation updates:

  • Updated contributor badge version in README.MD and README.zh_CN.MD to reflect the new GoFrame version (v2.10.0). [1] [2]

Copy link
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 pull request upgrades the GoFrame framework from version v2.9.8 to v2.10.0 across the entire codebase, including all contrib modules. It also refactors the version management script to improve cross-platform compatibility.

Changes:

  • Updated the GoFrame version constant and all module dependencies to v2.10.0
  • Refactored .make_version.sh script to use a cleaner sed_inplace() function for better cross-platform file editing
  • Updated contributor badge URLs in both English and Chinese README files to reflect the new version

Reviewed changes

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

Show a summary per file
File Description
version.go Updated VERSION constant to v2.10.0
cmd/gf/go.mod Updated all GoFrame driver dependencies to v2.10.0
cmd/gf/go.sum Removed old v2.9.8 dependency entries
contrib/*/go.mod (27 files) Updated GoFrame dependency to v2.10.0 across all contrib modules
README.MD Updated contributor badge version parameter to v2.10.0
README.zh_CN.MD Updated contributor badge version parameter to v2.10.0
.make_version.sh Refactored sed command handling with improved sed_inplace function and added README.zh_CN.MD to version update logic

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

@gqcn gqcn merged commit 8c8c7c8 into master Jan 26, 2026
20 checks passed
@gqcn gqcn deleted the feat/v2.10.0 branch January 26, 2026 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants