Skip to content

Build(deps): Bump go.mongodb.org/mongo-driver from 1.14.0 to 1.15.0

Bumps go.mongodb.org/mongo-driver from 1.14.0 to 1.15.0.

Release notes

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

MongoDB Go Driver 1.15.0

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

Release Notes

This release adds a feature that can prevent "connection churn" caused by operation timeouts.

Prevent "Connection Churn" Caused by Timeouts

Previously, the Go Driver would close the in-use connection when an operation timed out. However, closing the in-use connection can cause significant additional application and database load if many timeouts happen quickly, potentially causing "connection churn" that can exacerbate latency issues. The Go Driver now offers a new feature that waits (for a maximum of 1 second) for the connection to be reusable after an operation times out instead of closing it.

To enable the new feature, set a Client-wide timeout by using SetTimeout or by specifing the timeoutMS connection string option. Use SetTimeout(0) or timeoutMS=0 to enable the new feature without adding new timeouts. See SetTimeout for more information about the Client-wide timeout configuration.


For a full list of tickets included in this release, please see the links below:

Full Changelog: v1.14.0...1.15.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!

Commits
  • 7a495f2 Update version to v1.15.0
  • 64d6ed0 Fix version to prepare for the v1.15.0 release. (#1604)
  • 86cb647 GODRIVER-3145 Don't retry on context timeout or cancellation. (#1598)
  • e9a633c GODRIVER-3137 Skip failing transaction tests (#1599)
  • b605d09 GODRIVER-3172 Read response in the background after an op timeout. (#1589)
  • 722a2f2 GODRIVER-3123 Skip test until QE Range Protocol V2 is Implemented (#1600)
  • 94dfdff GODRIVER-2910 Add durations to connection pool events. (#1590)
  • b693b75 GODRIVER-3161 Resync the fle2v2-Range-* tests and skip prose test 22 (#1591)
  • d41a7cc Fix typo within WriteConcern docs (#1579)
  • d90de95 GODRIVER-3158 Invoke all Drivers Evergreen Tools Scripts with Bash (#1580)
  • Additional commits viewable in compare view


Dependabot commands
You can trigger Dependabot actions by commenting on this MR
  • $dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts

Merge request reports

Loading