MongoDB Go Driver Alpha 15
Pre-releaseThe 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
- [GODRIVER-494] - BSON Codec Redesign
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