NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules, #428 by repository stars
Latest stable
v1.17.10
Last release 2 months ago
10 Sep 2026
Release timing varies
gaps range from 8 days to 7 months
Nearly every release is documented
notes for 59 of the last 60 stable releases
14 versions withdrawn
withdrawn after publishing
10 years old
1482 releases · first in 2017
Drag across the ruler to compare, or tap a release to open it.
> Go Driver versions v1.0.0 through v1.17.9 and v2.0.0 through v2.9.0 are affected by a security issue CVE-2026-88031 in the GridFS delete methods. Th…
The MongoDB Go Driver Team is pleased to release version 1.17.10 of the official MongoDB Go Driver.
[!WARNING]
Go Driver versions v1.0.0 through v1.17.9 and v2.0.0 through v2.9.0 are affected by a security issue CVE-2026-88031 in the GridFS delete methods. This release resolves that security issue in Go Driver v1. Users are encouraged to upgrade to Go Driver v1.17.10 as soon as possible. For the fix in Go Driver v2, see the v2.9.1 release.
This release addresses CVE-2026-88031, a security issue in GridFS delete methods where the file ID lookup could match more loosely than intended, potentially causing unintended file (and chunk) deletions instead of an exact match on the given file ID.
Users can manually restrict the file ID with a $eq operator before passing it to GridFSBucket methods using code like the following.
func exactMatch(id any) bson.D {
return bson.D{{"$eq", id}}
}
// e.g., for v1, (*Bucket).DeleteContext() with an exact match on the file ID.
bucket.DeleteContext(context.TODO(), exactMatch(id))
Full Changelog: https://github.com/mongodb/mongo-go-driver/compare/v1.17.9...v1.17.10
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!
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
The MongoDB Go Driver Team is pleased to release version 1.17.9 of the official MongoDB Go Driver.
The MongoDB Go Driver Team is pleased to release version 1.17.9 of the official MongoDB Go Driver.
This release fixes a bug caused by variable shadowing.
<!-- Release notes generated using configuration in .github/release.yml at v1.17.9 -->
Full Changelog: https://github.com/mongodb/mongo-go-driver/compare/v1.17.8...v1.17.9
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!
Nothing published for this version
This release adds a deprecation notice to go.mongodb.org/mongo-driver, indicating users should migrate to go.mongodb.org/mongo-driver/v2. See the V2 m…
The MongoDB Go Driver Team is pleased to release version 1.17.8 of the official MongoDB Go Driver.
This release adds a deprecation notice to go.mongodb.org/mongo-driver, indicating users should migrate to go.mongodb.org/mongo-driver/v2. See the V2 migration guide for more information.
<!-- Release notes generated using configuration in .github/release.yml at v1.17.8 -->
Full Changelog: https://github.com/mongodb/mongo-go-driver/compare/v1.17.7...v1.17.8
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!
Nothing published for this version
This release removes the deprecation notice from options.MergeClientOptions and fixes buffer handling in GSSAPI error description and username functio…
The MongoDB Go Driver Team is pleased to release version 1.17.7 of the official MongoDB Go Driver.
This release removes the deprecation notice from options.MergeClientOptions and fixes buffer handling in GSSAPI error description and username functions.
<!-- Release notes generated using configuration in .github/release.yml at v1.17.7 -->
MergeClientOptions by @tadjik1 in https://github.com/mongodb/mongo-go-driver/pull/2294Full Changelog: https://github.com/mongodb/mongo-go-driver/compare/v1.17.6...v1.17.7
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!
Nothing published for this version
Nothing published for this version
The MongoDB Go Driver Team is pleased to release version 1.17.6 of the official MongoDB Go Driver.
The MongoDB Go Driver Team is pleased to release version 1.17.6 of the official MongoDB Go Driver.
[!NOTE] Due to a bug in the Go Driver release automation, there is no 1.17.5 release.
This release makes various maintainability improvements to the Go Driver development and release automation.
<!-- Release notes generated using configuration in .github/release.yml at v1.17.6 -->
Full Changelog: https://github.com/mongodb/mongo-go-driver/compare/v1.17.4...v1.17.6
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!
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
The MongoDB Go Driver Team is pleased to release version 1.17.4 of the official MongoDB Go Driver.
The MongoDB Go Driver Team is pleased to release version 1.17.4 of the official MongoDB Go Driver.
This release resolves two bugs in the Go Driver: it removes a buggy and unnecessary connection liveness check that could run unexpectedly or fail intermittently when maxIdleTimeMS was set, and it fixes an issue where regular expressions were marshaled to invalid JSON due to improper character escaping, ensuring all generated JSON is now valid.
For a full list of tickets included in this release, please see the list of fixed issues.
Full Changelog: v1.17.3...v1.17.4
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!
Full Changelog: https://github.com/mongodb/mongo-go-driver/compare/v1.17.3...v1.17.4
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
The MongoDB Go Driver team is pleased to release version 1.17.3 of the official MongoDB Go Driver.
The MongoDB Go Driver team is pleased to release version 1.17.3 of the official MongoDB Go Driver.
This release fixes one bug:
For a full list of tickets included in this release, please see the links below:
Full Changelog: v1.17.2...v1.17.3
Documentation for the MongoDB 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 MongoDB Go Driver is greatly appreciated!
Nothing published for this version
Nothing published for this version
The MongoDB Go Driver Team is pleased to release version 1.17.2 of the official MongoDB Go driver.
The MongoDB Go Driver Team is pleased to release version 1.17.2 of the official MongoDB Go driver.
This release addresses several issues and tasks to improve the functionality of the Go Driver. It includes a fix for a bug in the DefaultValueDecoders.ValueUnmarshalerDecodeValue to avoid inappropriately instantiating a pointer field decoded from null data if the user defined an UnmarshalBSONValue. Additionally, the release resolves a goroutine and memory leak issue found in the Zstandard (zstd) network compression decoding process.
Furthermore, the release includes a task to restore the ReadCompressedCompressedMessage() function to the wiremessage API. This function was previously removed under task GODRIVER-3303 with the aim of preventing out-of-bounds runtime errors, as it was identified as complicit in such issues and was not needed by the driver itself. However, it has been identified as a convenient utility for some users of the Go Driver.
For a full list of tickets included in this release, please see the links below:
Full Changelog: v1.17.1...v1.17.2
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!
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
The MongoDB Go Driver Team is pleased to release version 1.17.1 of the official Go driver.
The MongoDB Go Driver Team is pleased to release version 1.17.1 of the official Go driver.
This release improves the behavior of connection checkout by checking for closed connections.
It also fixes a bug where the authSource from a TXT record would be overridden for auth mechanisms
that require an authSource of $external.
For a full list of tickets included in this release, please see the links below:
Full Changelog: v1.17.0...v1.17.1
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!
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
The MongoDB Go Driver Team is pleased to release version 1.17.0 of the official MongoDB Go driver.
The MongoDB Go Driver Team is pleased to release version 1.17.0 of the official MongoDB Go driver.
This release adds support for client authentication using OpenID Connect (MONGODB-OIDC), and for the Queryable Encryption Range Protocol. The driver now supports MongoDB 8.0. Additionally, IndexView has been extended to include methods for dropping indexes by key (i.e. DropOneWithKey and DropWithKey).
[!NOTE]
This is the last planned minor release in the 1.x series. Future driver versions will be in the 2.x series. The v1.17.x will still receive security and bug fixes for a year.
Added range protocol support for Queryable Encryption.
Added support OpenID Connect (OIDC) authentication for workload identities. A workload identity is an identity you assign to a software workload, such as an application, service, script, or container, to authenticate and access other services and resources.
See the documentation for more details.
For a full list of tickets included in this release, please see the links below:
Full Changelog: v1.16.1...v1.17.0
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!
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.