From d7091e0afe202043e020209a74c5b8d18d7e28c6 Mon Sep 17 00:00:00 2001 From: Matt Dale <9760375+matthewdale@users.noreply.github.com> Date: Fri, 16 Jun 2023 16:15:53 -0700 Subject: [PATCH] GODRIVER-2860 Update Go driver module version in all submodules. (#1299) --- examples/_logger/logrus/go.mod | 4 +++- examples/_logger/zap/go.mod | 4 +++- examples/_logger/zerolog/go.mod | 4 +++- internal/test/compilecheck/go.mod | 4 +++- internal/test/faas/awslambda/mongodb/go.mod | 5 +++-- 5 files changed, 15 insertions(+), 6 deletions(-) diff --git a/examples/_logger/logrus/go.mod b/examples/_logger/logrus/go.mod index 7ea21ade0c..526168bdc0 100644 --- a/examples/_logger/logrus/go.mod +++ b/examples/_logger/logrus/go.mod @@ -7,7 +7,9 @@ replace go.mongodb.org/mongo-driver => ../../../ require ( github.com/bombsimon/logrusr/v4 v4.0.0 github.com/sirupsen/logrus v1.9.0 - go.mongodb.org/mongo-driver v1.11.1 + // Note that the Go driver version is replaced with the local Go driver code + // by the replace directive above. + go.mongodb.org/mongo-driver v1.11.7 ) require ( diff --git a/examples/_logger/zap/go.mod b/examples/_logger/zap/go.mod index 7c6d4e902d..5af9d1ac7a 100644 --- a/examples/_logger/zap/go.mod +++ b/examples/_logger/zap/go.mod @@ -6,7 +6,9 @@ replace go.mongodb.org/mongo-driver => ../../../ require ( github.com/go-logr/zapr v1.2.3 - go.mongodb.org/mongo-driver v1.11.1 + // Note that the Go driver version is replaced with the local Go driver code + // by the replace directive above. + go.mongodb.org/mongo-driver v1.11.7 go.uber.org/zap v1.24.0 ) diff --git a/examples/_logger/zerolog/go.mod b/examples/_logger/zerolog/go.mod index 19f070a5db..f7151460c9 100644 --- a/examples/_logger/zerolog/go.mod +++ b/examples/_logger/zerolog/go.mod @@ -7,7 +7,9 @@ replace go.mongodb.org/mongo-driver => ../../../ require ( github.com/go-logr/zerologr v1.2.2 github.com/rs/zerolog v1.28.0 - go.mongodb.org/mongo-driver v1.11.1 + // Note that the Go driver version is replaced with the local Go driver code + // by the replace directive above. + go.mongodb.org/mongo-driver v1.11.7 ) require ( diff --git a/internal/test/compilecheck/go.mod b/internal/test/compilecheck/go.mod index da6967463f..7bbd1e996f 100644 --- a/internal/test/compilecheck/go.mod +++ b/internal/test/compilecheck/go.mod @@ -4,4 +4,6 @@ go 1.13 replace go.mongodb.org/mongo-driver => ../../../ -require go.mongodb.org/mongo-driver v0.0.0-00010101000000-000000000000 +// Note that the Go driver version is replaced with the local Go driver code by +// the replace directive above. +require go.mongodb.org/mongo-driver v1.11.7 diff --git a/internal/test/faas/awslambda/mongodb/go.mod b/internal/test/faas/awslambda/mongodb/go.mod index 9cd1f4e968..79640a1734 100644 --- a/internal/test/faas/awslambda/mongodb/go.mod +++ b/internal/test/faas/awslambda/mongodb/go.mod @@ -6,14 +6,15 @@ replace go.mongodb.org/mongo-driver => ../../../../../ require ( github.com/aws/aws-lambda-go v1.41.0 - go.mongodb.org/mongo-driver v1.11.4 + // Note that the Go driver version is replaced with the local Go driver code + // by the replace directive above. + go.mongodb.org/mongo-driver v1.11.7 ) require ( github.com/golang/snappy v0.0.1 // indirect github.com/klauspost/compress v1.13.6 // indirect github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe // indirect - github.com/pkg/errors v0.9.1 // indirect github.com/xdg-go/pbkdf2 v1.0.0 // indirect github.com/xdg-go/scram v1.1.2 // indirect github.com/xdg-go/stringprep v1.0.4 // indirect