Skip to content

deps(deps): bump go.mongodb.org/mongo-driver/v2 from 2.3.0 to 2.5.1#62

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/go.mongodb.org/mongo-driver/v2-2.5.1
Open

deps(deps): bump go.mongodb.org/mongo-driver/v2 from 2.3.0 to 2.5.1#62
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/go.mongodb.org/mongo-driver/v2-2.5.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 19, 2026

Bumps go.mongodb.org/mongo-driver/v2 from 2.3.0 to 2.5.1.

Release notes

Sourced from go.mongodb.org/mongo-driver/v2's releases.

MongoDB Go Driver 2.5.1

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

Release Highlights

This release fixes two BSON unmarshaling edge cases.

What's Changed

🐛 Fixed

Full Changelog: mongodb/mongo-go-driver@v2.5.0...v2.5.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!

MongoDB Go Driver 2.5.0

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

... (truncated)

Commits
  • 4782a98 BUMP v2.5.1
  • 908a3ef Merge release/2.4 into release/2.5 (#2356)
  • b2db9b5 Remove spaces from config.yml
  • b1a4757 Merge branch 'release/2.5' into merge-release/2.4-into-release/2.5-1775787864909
  • 65d61d4 GODRIVER-3854 Remove "backport pr" Evergreen task. (#2355)
  • 09f572d Merge branch 'release/2.4' into release/2.5
  • e9c841f BUMP v2.4.3
  • fcfea70 GODRIVER-3809 Fix *streamingByteSrc.readSlice(). (#2326)
  • 889822d GODRIVER-3768 Check unmatched type in Unmarshal(). (#2318)
  • 484ea44 Merge branch 'release/1.17' into release/2.5
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [go.mongodb.org/mongo-driver/v2](https://github.com/mongodb/mongo-go-driver) from 2.3.0 to 2.5.1.
- [Release notes](https://github.com/mongodb/mongo-go-driver/releases)
- [Commits](mongodb/mongo-go-driver@v2.3.0...v2.5.1)

---
updated-dependencies:
- dependency-name: go.mongodb.org/mongo-driver/v2
  dependency-version: 2.5.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Apr 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants