Skip to content

MongoDB Go Driver 1.0.1

Compare
Choose a tag to compare
@skriptble skriptble released this 18 Apr 19:14
· 1476 commits to master since this release

The MongoDB Go driver team is pleased to release version 1.0.1 of the official Go driver.

This release fixes a race condition in handshaking, panics in GridFS, and improves documentation. Additionally, some small API changes have been made.

Documentation can be found on GoDoc and the MongoDB documentation site. BSON library documentation is also available on GoDoc. Questions and inquiries can be asked on the mongo-go-driver Google Group. Bugs can be reported in the Go Driver Jira where a list of current issues can be found.

Release Notes

Bug

  • [GODRIVER-809] - Go driver cannot decode gridfs files collection documents if the length field is not stored as int64
  • [GODRIVER-880] - Cannot query when having a regular expression in MongoDB Document
  • [GODRIVER-881] - ObjectID should be quoted in bsoncore.Value's String() method
  • [GODRIVER-884] - Default for timestamps is a zero'd *time.Location, instead of `nil`
  • [GODRIVER-886] - Panic when passing non-ObjectID file ID to bucket.OpenDownloadStream
  • [GODRIVER-887] - Panic when passing in UploadOptions with Metadata but no Registry to bucket.OpenUploadStream
  • [GODRIVER-888] - GoDoc out of date for cursor example
  • [GODRIVER-893] - bsonrw.valueReader skip does not properly skip regular expressions
  • [GODRIVER-898] - Topology should synchronously update ServerDescriptions
  • [GODRIVER-900] - Server string representation typo: Avergage RTT
  • [GODRIVER-901] - Race detector flagged race
  • [GODRIVER-908] - options.MergeClientOptions doesn't handle errors properly
  • [GODRIVER-910] - panic when calling Watch on a Client that has not been connected
  • [GODRIVER-956] - Legacy Find is not respecting limit

New Feature

  • [GODRIVER-873] - BulkWriteResult from BulkWrite doesn't have errors in unordered bulk

Improvement