Skip to content

fix(deps): update module go.mongodb.org/mongo-driver/v2 to v2.5.0#100

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/go.mongodb.org-mongo-driver-v2-2.x
Open

fix(deps): update module go.mongodb.org/mongo-driver/v2 to v2.5.0#100
renovate[bot] wants to merge 1 commit intomainfrom
renovate/go.mongodb.org-mongo-driver-v2-2.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Aug 14, 2025

This PR contains the following updates:

Package Change Age Confidence
go.mongodb.org/mongo-driver/v2 v2.2.3v2.5.0 age confidence

Release Notes

mongodb/mongo-go-driver (go.mongodb.org/mongo-driver/v2)

v2.5.0: MongoDB Go Driver 2.5.0

Compare Source

The MongoDB Go Driver Team is pleased to release version 2.5.0 of the official MongoDB Go Driver.

Release Highlights

This release adds a preview of CRUD support for prefix/suffix/substring indexes. Prefix, suffix and substring search are in preview and should be used for experimental workloads only. These features are unstable and their security is not guaranteed until released as Generally Available (GA). The GA version of these features may not be backwards compatible with the preview version.

Also, this release adds AsFloat64(), AsFloat64OK() to bson.RawValue, and DefaultDocumentMap() to bson.Decoder in the BSON package.

Additionally, this release adds ErrorCodes() to parse server error codes from an arbitrary Go error, and exposes atClusterTime in snapshot sessions.

Moreover, this release fixes several bugs, including potential heap out-of-bounds read in GSSAPI error handling.

What's Changed

✨ New Features
🐛 Fixed
📦 Dependency Updates
📝 Other Changes

New Contributors

Full Changelog: mongodb/mongo-go-driver@v2.4.2...v2.5.0

For a full list of tickets included in this release, please see the list of fixed issues.

Documentation for the Go Driver can be found on pkg.go.dev and the MongoDB documentation site. BSON library documentation is also available on pkg.go.dev. For issues with, questions about, or feedback for the Go Driver, please look into our support channels, including StackOverflow. Bugs can be reported in the Go Driver project in the MongoDB JIRA where a list of current issues can be found. Your feedback on the Go Driver is greatly appreciated!

v2.4.2: MongoDB Go Driver 2.4.2

Compare Source

The MongoDB Go Driver Team is pleased to release version 2.4.2 of the official MongoDB Go Driver.

Release Highlights

This release fixes buffer handling in GSSAPI error description and username functions.

What's Changed

🐛 Fixed

Full Changelog: mongodb/mongo-go-driver@v2.4.1...v2.4.2

For a full list of tickets included in this release, please see the list of fixed issues.

Documentation for the Go Driver can be found on pkg.go.dev and the MongoDB documentation site. BSON library documentation is also available on pkg.go.dev. For issues with, questions about, or feedback for the Go Driver, please look into our support channels, including StackOverflow. Bugs can be reported in the Go Driver project in the MongoDB JIRA where a list of current issues can be found. Your feedback on the Go Driver is greatly appreciated!

v2.4.1: MongoDB Go Driver 2.4.1

Compare Source

The MongoDB Go Driver Team is pleased to release version 2.4.1 of the official MongoDB Go Driver.

What's Changed

🐛 Fixed
📝 Other Changes

Full Changelog: mongodb/mongo-go-driver@v2.4.0...v2.4.1

For a full list of tickets included in this release, please see the list of fixed issues.

Documentation for the Go Driver can be found on pkg.go.dev and the MongoDB documentation site. BSON library documentation is also available on pkg.go.dev. For issues with, questions about, or feedback for the Go Driver, please look into our support channels, including StackOverflow. Bugs can be reported in the Go Driver project in the MongoDB JIRA where a list of current issues can be found. Your feedback on the Go Driver is greatly appreciated!

v2.4.0: MongoDB Go Driver 2.4.0

Compare Source

The MongoDB Go Driver Team is pleased to release version 2.4.0 of the official MongoDB Go Driver.

Release Highlights

[!IMPORTANT]
Go Driver v2.4 requires MongoDB 4.2 or newer.

This release adds a new method Client.AppendDriverInfo that adds information to the driver metadata sent on subsequent connection handshakes.

What's Changed

✨ New Features
📝 Other Changes

New Contributors

Full Changelog: mongodb/mongo-go-driver@v2.3.1...v2.4.0

For a full list of tickets included in this release, please see the list of fixed issues.

Documentation for the Go Driver can be found on pkg.go.dev and the MongoDB documentation site. BSON library documentation is also available on pkg.go.dev. For issues with, questions about, or feedback for the Go Driver, please look into our support channels, including StackOverflow. Bugs can be reported in the Go Driver project in the MongoDB JIRA where a list of current issues can be found. Your feedback on the Go Driver is greatly appreciated!

v2.3.1: MongoDB Go Driver 2.3.1

Compare Source

The MongoDB Go Driver Team is pleased to release version 2.3.1 of the official MongoDB Go Driver.

Release Highlights

This release applies client-level timeouts for tailable/awaitData cursors, and fixes a bug that causes a tight loop when there are no selectable servers.

What's Changed

🐛 Fixed
📝 Other Changes

Full Changelog: mongodb/mongo-go-driver@v2.3.0...v2.3.1

For a full list of tickets included in this release, please see the list of fixed issues.

Documentation for the Go Driver can be found on pkg.go.dev and the MongoDB documentation site. BSON library documentation is also available on pkg.go.dev. For issues with, questions about, or feedback for the Go Driver, please look into our support channels, including StackOverflow. Bugs can be reported in the Go Driver project in the MongoDB JIRA where a list of current issues can be found. Your feedback on the Go Driver is greatly appreciated!

v2.3.0: MongoDB Go Driver 2.3.0

Compare Source

The MongoDB Go Driver Team is pleased to release version 2.3.0 of the official MongoDB Go Driver.

Release Highlights

[!IMPORTANT]
Go Driver v2.3 will be the last release to support MongoDB 4.0. Go Driver v2.4 will require MongoDB 4.2 or newer.

[!IMPORTANT]
The minimum Go version for Go Driver v2.3 is Go 1.19.

This release improves BSON unmarshal performance to fix the regression in v2.0 and fixes bugs in logging truncation and cursor timeouts.

What's Changed

🐛 Fixed
📦 Dependency Updates
📝 Other Changes

New Contributors

Full Changelog: mongodb/mongo-go-driver@v2.2.3...v2.3.0

For a full list of tickets included in this release, please see the list of fixed issues.

Documentation for the Go Driver can be found on pkg.go.dev and the MongoDB documentation site. BSON library documentation is also available on pkg.go.dev. Questions and inquiries can be asked on the MongoDB Developer Community. Bugs can be reported in the Go Driver project in the MongoDB JIRA where a list of current issues can be found. Your feedback on the Go Driver is greatly appreciated!


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title fix(deps): update module go.mongodb.org/mongo-driver/v2 to v2.3.0 fix(deps): update module go.mongodb.org/mongo-driver/v2 to v2.3.1 Oct 9, 2025
@renovate renovate bot force-pushed the renovate/go.mongodb.org-mongo-driver-v2-2.x branch from d60e4f0 to c3332e6 Compare October 9, 2025 16:39
@renovate renovate bot changed the title fix(deps): update module go.mongodb.org/mongo-driver/v2 to v2.3.1 fix(deps): update module go.mongodb.org/mongo-driver/v2 to v2.4.0 Oct 28, 2025
@renovate renovate bot force-pushed the renovate/go.mongodb.org-mongo-driver-v2-2.x branch from c3332e6 to c9c9c5b Compare October 28, 2025 07:00
@renovate renovate bot force-pushed the renovate/go.mongodb.org-mongo-driver-v2-2.x branch from c9c9c5b to 5207c04 Compare November 27, 2025 02:28
@tobybellwood
Copy link
Copy Markdown
Member

tobybellwood commented Nov 27, 2025

This won't pass because v2.4.0+ of the mongo-driver requires a minimum 4.2 version of MongoDB, and the Lagoon images only support 4.0.

@renovate renovate bot force-pushed the renovate/go.mongodb.org-mongo-driver-v2-2.x branch from 5207c04 to 29e9c12 Compare December 10, 2025 02:42
@renovate renovate bot changed the title fix(deps): update module go.mongodb.org/mongo-driver/v2 to v2.4.0 fix(deps): update module go.mongodb.org/mongo-driver/v2 to v2.4.1 Dec 10, 2025
@renovate renovate bot changed the title fix(deps): update module go.mongodb.org/mongo-driver/v2 to v2.4.1 fix(deps): update module go.mongodb.org/mongo-driver/v2 to v2.4.1 - autoclosed Dec 28, 2025
@renovate renovate bot closed this Dec 28, 2025
@renovate renovate bot deleted the renovate/go.mongodb.org-mongo-driver-v2-2.x branch December 28, 2025 00:49
@renovate renovate bot changed the title fix(deps): update module go.mongodb.org/mongo-driver/v2 to v2.4.1 - autoclosed fix(deps): update module go.mongodb.org/mongo-driver/v2 to v2.4.1 Dec 28, 2025
@renovate renovate bot reopened this Dec 28, 2025
@renovate renovate bot force-pushed the renovate/go.mongodb.org-mongo-driver-v2-2.x branch 2 times, most recently from 29e9c12 to 79905af Compare December 28, 2025 05:02
@renovate renovate bot force-pushed the renovate/go.mongodb.org-mongo-driver-v2-2.x branch from 79905af to 9f2d26d Compare January 22, 2026 01:58
@renovate renovate bot changed the title fix(deps): update module go.mongodb.org/mongo-driver/v2 to v2.4.1 fix(deps): update module go.mongodb.org/mongo-driver/v2 to v2.4.2 Jan 22, 2026
@renovate renovate bot force-pushed the renovate/go.mongodb.org-mongo-driver-v2-2.x branch from 9f2d26d to 76ad91a Compare January 28, 2026 22:35
@renovate renovate bot changed the title fix(deps): update module go.mongodb.org/mongo-driver/v2 to v2.4.2 fix(deps): update module go.mongodb.org/mongo-driver/v2 to v2.5.0 Jan 28, 2026
@renovate
Copy link
Copy Markdown
Contributor Author

renovate bot commented Jan 28, 2026

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 1 additional dependency was updated

Details:

Package Change
github.com/xdg-go/scram v1.1.2 -> v1.2.0

@renovate renovate bot force-pushed the renovate/go.mongodb.org-mongo-driver-v2-2.x branch 3 times, most recently from 6318f81 to 56b4a09 Compare February 25, 2026 22:37
@renovate renovate bot changed the title fix(deps): update module go.mongodb.org/mongo-driver/v2 to v2.5.0 fix(deps): update module go.mongodb.org/mongo-driver/v2 to v2.5.0 - autoclosed Feb 27, 2026
@renovate renovate bot closed this Feb 27, 2026
@renovate renovate bot changed the title fix(deps): update module go.mongodb.org/mongo-driver/v2 to v2.5.0 - autoclosed fix(deps): update module go.mongodb.org/mongo-driver/v2 to v2.5.0 Feb 28, 2026
@renovate renovate bot reopened this Feb 28, 2026
@renovate renovate bot force-pushed the renovate/go.mongodb.org-mongo-driver-v2-2.x branch 2 times, most recently from 56b4a09 to d72fb4a Compare February 28, 2026 01:52
@renovate renovate bot force-pushed the renovate/go.mongodb.org-mongo-driver-v2-2.x branch from d72fb4a to b563118 Compare March 13, 2026 17:03
@renovate renovate bot force-pushed the renovate/go.mongodb.org-mongo-driver-v2-2.x branch from b563118 to ba9f1ca Compare April 1, 2026 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant