Skip to content

Commit a386fd5

Browse files
GODRIVER-3592 Update example modules to go1.25 (#2237)
1 parent 9bd07db commit a386fd5

File tree

9 files changed

+11
-11
lines changed

9 files changed

+11
-11
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The MongoDB Go driver follows [semantic versioning](https://semver.org/) for its
2323
## Requirements
2424

2525
- Go 1.19 or higher. We aim to support the latest versions of Go.
26-
- Go 1.23 or higher is required to run the driver test suite.
26+
- Go 1.25 or higher is required to run the driver test suite.
2727
- MongoDB 4.2 and higher.
2828

2929
## Installation

docs/CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ We are building this software together and strongly encourage contributions from
66

77
## Requirements
88

9-
Go 1.23 or higher is required to run the driver test suite. We use [task](https://taskfile.dev/) as our task runner.
9+
Go 1.25 or higher is required to run the driver test suite. We use [task](https://taskfile.dev/) as our task runner.
1010

1111
## Bug Fixes and New Features
1212

@@ -18,7 +18,7 @@ The Go Driver team uses GitHub to manage and review all code changes. Pull reque
1818

1919
When creating a pull request, please ensure that your code adheres to the following guidelines:
2020

21-
Code should compile and tests should pass under all Go versions which the driver currently supports. Currently, the Go Driver supports a minimum version of Go 1.19 and requires Go 1.23 for development. Please run the following `Taskfile` targets to validate your changes:
21+
Code should compile and tests should pass under all Go versions which the driver currently supports. Currently, the Go Driver supports a minimum version of Go 1.19 and requires Go 1.25 for development. Please run the following `Taskfile` targets to validate your changes:
2222

2323
- `task fmt`
2424
- `task lint`

etc/golangci-lint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set -ex
33

44
# Keep this in sync with go version used in static-analysis Evergreen build variant.
5-
GO_VERSION=1.23.0
5+
GO_VERSION=1.25.0
66
GOLANGCI_LINT_VERSION=1.60.1
77

88
# Unset the cross-compiler overrides while downloading binaries.

examples/_logger/logrus/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module go.mongodb.go/mongo-driver/v2/examples/logger/logrus
22

3-
go 1.23
3+
go 1.25
44

55
replace go.mongodb.org/mongo-driver/v2 => ../../../
66

examples/_logger/zap/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module go.mongodb.go/mongo-driver/v2/examples/logger/zap
22

3-
go 1.23
3+
go 1.25
44

55
replace go.mongodb.org/mongo-driver/v2 => ../../../
66

examples/_logger/zerolog/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module go.mongodb.go/mongo-driver/v2/examples/logger/zerolog
22

3-
go 1.23
3+
go 1.25
44

55
replace go.mongodb.org/mongo-driver/v2 => ../../../
66

go.work

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
go 1.23.0
1+
go 1.25.0
22

33
use (
44
.

internal/cmd/faas/awslambda/mongodb/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module go.mongodb.go/mongo-driver/v2/internal/cmd/faas/awslambda/mongodb
22

3-
go 1.23
3+
go 1.25
44

55
replace go.mongodb.org/mongo-driver/v2 => ../../../../../
66

internal/test/compilecheck/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module go.mongodb.go/mongo-driver/v2/internal/test/compilecheck
22

3-
go 1.23.0
3+
go 1.25.0
44

5-
toolchain go1.23.1
5+
toolchain go1.25.3
66

77
require (
88
github.com/stretchr/testify v1.10.0

0 commit comments

Comments
 (0)