Skip to content

Commit b3eaf2d

Browse files
authored
Merge branch 'master' into godriver3522
2 parents 905599f + ce350f1 commit b3eaf2d

File tree

20 files changed

+20
-220
lines changed

20 files changed

+20
-220
lines changed

.github/workflows/merge-up.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,11 @@ jobs:
2727

2828
- name: Create pull request
2929
id: create-pull-request
30-
uses: alcaeus/automatic-merge-up-action@main
30+
uses: alcaeus/automatic-merge-up-action@1.0.0
3131
with:
3232
ref: ${{ github.ref_name }}
3333
branchNamePattern: 'release/<major>.<minor>'
3434
devBranchNamePattern: 'v<major>'
3535
fallbackBranch: 'master'
36+
ignoredBranches: ${{ vars.IGNORED_MERGE_UP_BRANCHES }}
3637
enableAutoMerge: true

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ jobs:
4949
with:
5050
version: ${{ inputs.version }}
5151
push_changes: ${{ inputs.push_changes }}
52+
ignored_branches: ${{ vars.IGNORED_MERGE_UP_BRANCHES }}
5253

5354
static-scan:
5455
needs: [pre-publish]

README.md

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

2020
## Requirements
2121

22-
- Go 1.18 or higher. We aim to support the latest versions of Go.
22+
- Go 1.19 or higher. We aim to support the latest versions of Go.
2323
- Go 1.23 or higher is required to run the driver test suite.
2424
- MongoDB 4.0 and higher.
2525

docs/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Before starting to write code, look for existing [tickets](https://jira.mongodb.
1717
The Go Driver team uses GitHub to manage and review all code changes. Patches should generally be made against the master (default) branch and include relevant tests, if
1818
applicable.
1919

20-
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.18 and requires Go 1.23 for development. Please run the following `Taskfile` targets to validate your changes:
20+
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:
2121

2222
- `task fmt`
2323
- `task lint`

docs/migration-2.0.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Migrating from 1.x to 2.0
22

3-
The minimum supported version of Go for v2 is 1.18.
4-
53
To upgrade imports of the Go Driver from v1 to v2, we recommend using [marwan-at-work/mod
64
](https://github.com/marwan-at-work/mod):
75

etc/compile_check.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set -e # exit when any command fails
33
set -x # show all commands being run
44

5-
: ${GC:=go${GO_VERSION="1.18"}}
5+
: ${GC:=go${GO_VERSION="1.19"}}
66

77
COMPILE_CHECK_DIR="internal/cmd/compilecheck"
88
ARCHITECTURES=("386" "arm" "arm64" "ppc64le" "s390x")

examples/_logger/logrus/go.mod

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

33
go 1.23
44

examples/_logger/zap/go.mod

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

33
go 1.23
44

examples/_logger/zerolog/go.mod

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

33
go 1.23
44

go.mod

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

3-
go 1.18
3+
go 1.19
44

55
require (
66
github.com/davecgh/go-spew v1.1.1

0 commit comments

Comments
 (0)