-
Notifications
You must be signed in to change notification settings - Fork 920
GODRIVER-3592 Update example modules to go1.25 #2237
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
GODRIVER-3592 Update example modules to go1.25 #2237
Conversation
- Update README.md to require Go 1.25 for test suite - Update CONTRIBUTING.md to reference Go 1.25 - Update go.work to use Go 1.25
- Update CONTRIBUTING.md development requirement - Update golangci-lint.sh to use Go 1.25.0 - Update internal module go.mod files to use Go 1.25
There was a problem hiding this 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 MongoDB Go driver project to use Go 1.25 across all modules, workspaces, and documentation. The changes ensure consistency in the Go version requirements for development and testing.
Key changes:
- Updated go.mod files to specify Go 1.25 as the minimum version
- Updated documentation to reflect Go 1.25 requirement for running tests
- Updated linter configuration to use Go 1.25.0
Reviewed Changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| internal/test/compilecheck/go.mod | Updated Go version to 1.25.0 and toolchain to 1.25.3 |
| internal/cmd/faas/awslambda/mongodb/go.mod | Updated Go version to 1.25 |
| go.work | Updated workspace Go version to 1.25.0 |
| examples/_logger/zerolog/go.mod | Updated Go version to 1.25 |
| examples/_logger/zap/go.mod | Updated Go version to 1.25 |
| examples/_logger/logrus/go.mod | Updated Go version to 1.25 |
| etc/golangci-lint.sh | Updated GO_VERSION variable to 1.25.0 |
| docs/CONTRIBUTING.md | Updated documentation to reference Go 1.25 requirement |
| README.md | Updated documentation to reference Go 1.25 requirement |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
🧪 Performance ResultsCommit SHA: 0893e42The following benchmark tests for version 6914cb4ed0bea900076cdff1 had statistically significant changes (i.e., |z-score| > 1.96):
For a comprehensive view of all microbenchmark results for this PR's commit, please check out the Evergreen perf task for this patch. |
API Change ReportNo changes found! |
matthewdale
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! 👍
This reverts commit a386fd5.
GODRIVER-3592
Summary
Update documentation, workspaces, submodules, and linter to use go1.25