v1.15.1
版本发布时间: 2024-06-17 23:42:16
mongodb/mongo-go-driver最新发布版本:v1.16.1(2024-08-08 03:39:35)
The MongoDB Go Driver Team is pleased to release version 1.15.1 of the official Go driver.
Release Notes
This release fixes various bugs and addresses a few usability issues:
- (GODRIVER-3107) Fixes a possible connection leak in the background round-trip-time monitor.
- (GODRIVER-3217) Allows manually specifying a
maxTimeMS
value for Find and Aggregate operations when a client-wide timeout (e.g. viatimeoutMS
or SetTimeout) is set and an operation timeout (i.e. aContext
with deadline) is set. Previously,maxTimeMS
was always omitted, even if it was set using the SetMaxTime option. - (GODRIVER-2992) Add a
RemainingBatchLength
method to theChangeStream
, similar to the identically named method on theCursor
type.
For a full list of tickets included in this release, please see the links below:
Full Changelog: v1.15.0...1.15.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!
Full Changelog: https://github.com/mongodb/mongo-go-driver/compare/v1.15.0...v1.15.1