Skip to content

Releases: mongodb/mongo-go-driver

MongoDB Go Driver 1.17.9

09 Feb 16:10

Choose a tag to compare

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

Release Highlights

This release fixes a bug caused by variable shadowing.

What's Changed

🐛 Fixed

Full Changelog: 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!

MongoDB Go Driver 1.17.8

30 Jan 17:04

Choose a tag to compare

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

Release Highlights

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.

What's Changed

✨ New Features

Full Changelog: 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!

MongoDB Go Driver 2.5.0

28 Jan 20:27

Choose a tag to compare

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

  • Bump github.com/xdg-go/scram from 1.1.2 to 1.2.0 by @dependabot[bot] in #2252
  • Bump github.com/klauspost/compress from 1.16.7 to 1.17.6 by @dependabot[bot] in #2229
  • GODRIVER-3715 fix: replace golang/snappy with klauspost/compress/snappy by @oikarinen in #2248
  • Bump github.com/sirupsen/logrus from 1.9.0 to 1.9.1 in /examples/_logger/logrus by @dependabot[bot] in #2256
  • Bump golang.org/x/crypto from 0.36.0 to 0.45.0 in /internal/test/compilecheck by @dependabot[bot] in #2281
  • Bump golang.org/x/crypto from 0.33.0 to 0.45.0 in /internal/cmd/faas/awslambda/mongodb by @dependabot[bot] in #2282
  • Bump golang.org/x/crypto from 0.33.0 to 0.45.0 in /examples/_logger/zap by @dependabot[bot] in #2280
  • Bump golang.org/x/crypto from 0.33.0 to 0.45.0 in /internal/cmd/benchmark by @dependabot[bot] in #2279
  • Bump golang.org/x/crypto from 0.33.0 to 0.45.0 in /examples/_logger/logrus by @dependabot[bot] in #2307
  • Bump golang.org/x/crypto from 0.33.0 to 0.45.0 in /examples/_logger/zerolog by @dependabot[bot] in #2311

📝 Other Changes

New Contributors

Full Changelog: 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!

MongoDB Go Driver 2.4.2

22 Jan 16:42

Choose a tag to compare

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: 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!

MongoDB Go Driver 1.17.7

21 Jan 20:17

Choose a tag to compare

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

Release Highlights

This release removes the deprecation notice from options.MergeClientOptions and fixes buffer handling in GSSAPI error description and username functions.

What's Changed

🐛 Fixed

📝 Other Changes

Full Changelog: 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!

MongoDB Go Driver 2.4.1

10 Dec 18:32

Choose a tag to compare

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: 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!

MongoDB Go Driver 2.4.0

28 Oct 17:43

Choose a tag to compare

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: 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!

MongoDB Go Driver 1.17.6

28 Oct 17:42

Choose a tag to compare

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.

Release Highlights

This release makes various maintainability improvements to the Go Driver development and release automation.

What's Changed

📝 Other Changes

Full Changelog: 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!

MongoDB Go Driver 2.3.1

14 Oct 15:52

Choose a tag to compare

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

  • Merge release/1.17 into release/2.2 by @mongodb-drivers-pr-bot[bot] in #2193
  • Merge release/2.2 into release/2.3 by @mongodb-drivers-pr-bot[bot] in #2204

Full Changelog: 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!

MongoDB Go Driver 2.3.0

15 Aug 20:43

Choose a tag to compare

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: 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!