Skip to content

Conversation

@prestonvasquez
Copy link
Member

GODRIVER-3592

Summary

Update documentation, workspaces, submodules, and linter to use go1.25

- 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
@prestonvasquez prestonvasquez requested a review from a team as a code owner November 12, 2025 18:00
@github-actions github-actions bot added review-priority-normal Medium Priority PR for Review: within 1 business day documentation Pull requests that update documentation or examples labels Nov 12, 2025
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 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.

@mongodb-drivers-pr-bot
Copy link
Contributor

🧪 Performance Results

Commit SHA: 0893e42

The following benchmark tests for version 6914cb4ed0bea900076cdff1 had statistically significant changes (i.e., |z-score| > 1.96):

Benchmark Measurement % Change Patch Value Stable Region H-Score Z-Score
BenchmarkBSONFlatDocumentDecoding ops_per_second_min -92.9970 154.9107 Avg: 2212.0622
Med: 2257.7594
Stdev: 308.0519
0.9222 -6.6779
BenchmarkMultiInsertLargeDocument allocated_bytes_per_op -5.9950 26298378.0000 Avg: 27975509.9429
Med: 27920426.0000
Stdev: 645517.9504
0.7893 -2.5981
BenchmarkBSONFlatDocumentDecoding ops_per_second_max 2.4908 22008.0109 Avg: 21473.1642
Med: 21531.3947
Stdev: 244.7154
0.7573 2.1856
BenchmarkBSONFlatDocumentDecoding total_time_seconds 1.9818 1.2231 Avg: 1.1994
Med: 1.1992
Stdev: 0.0067
0.8528 3.5417
BenchmarkLargeDocInsertOne allocated_bytes_per_op -0.3427 5670.0000 Avg: 5689.5000
Med: 5688.5000
Stdev: 4.7958
0.8846 -4.0660

For a comprehensive view of all microbenchmark results for this PR's commit, please check out the Evergreen perf task for this patch.

@mongodb-drivers-pr-bot
Copy link
Contributor

API Change Report

No changes found!

Copy link
Collaborator

@matthewdale matthewdale left a comment

Choose a reason for hiding this comment

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

Looks good! 👍

@prestonvasquez prestonvasquez merged commit a386fd5 into mongodb:master Nov 12, 2025
32 of 35 checks passed
@prestonvasquez prestonvasquez deleted the ci/godriver-3592-complete-go-1.25-update branch November 12, 2025 20:55
prestonvasquez added a commit that referenced this pull request Nov 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/cd documentation Pull requests that update documentation or examples review-priority-normal Medium Priority PR for Review: within 1 business day

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants