Skip to content

MongoDB Go Driver Alpha 15

Pre-release
Pre-release
Compare
Choose a tag to compare
@skriptble skriptble released this 27 Sep 21:08
· 1534 commits to master since this release

The MongoDB Go driver team is pleased to release the fifteenth alpha of the official Go driver.

This release contains splits the bson package into two packages, bson and bsoncodec. The new marshaling and unmarshaling logic is contained within the bsoncodec package. Version 1 of the marshaling and unmarshaling logic has been removed. This release also contains a change to how cursors behave, fixes MaxAwaitTime, and adds a Database method to mongo.Collection. This is alpha software, so it is not recommended for production use.

Following semver, the v0 version of the public API should not be considered stable and could change.

Documentation can be found 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-266] - Properly implement maxAwaitTimeMS
  • [GODRIVER-558] - SSL option processing sets SSLCaFileSet when SSLCaFile is empty string
  • [GODRIVER-566] - Fix Equal method for bson.Value and update bson.Element.Equal to properly compare keys
  • [GODRIVER-567] - Decoding date into time.Time does not work

Epic

New Feature

  • [GODRIVER-568] - Add Database() method on mongo.Collection

Improvement

  • [GODRIVER-527] - Add BytesValueReader and BytesValueWriter interfaces
  • [GODRIVER-537] - Split bson package into bson and bsoncodec packages
  • [GODRIVER-551] - Use BSON Codecs in mongo package