MongoDB Go Driver Alpha 6
Pre-releaseThe MongoDB Go driver team is pleased to release the sixth alpha of the official Go driver.
This release mainly contains bug fixes and documentation updates. There are a few large changes of note in the BSON library, where the behavior of the bson.Prepend
and bson.Delete
methods was corrected, the extjson
package was merged into the bson
package, and the semantics of the bson.Document.Lookup
method were changed. 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-403] - command.Encode doesn't set slaveOk flag
- [GODRIVER-426] - Change "too precise" float32 behavior
- [GODRIVER-427] - fix pointers' decoding
- [GODRIVER-430] - bson.Document.Delete and bson.Document.Prepend are subtly broken
- [GODRIVER-432] - topology.SelectServer leaks timers
- [GODRIVER-434] - Fix encoding of *time.Time
- [GODRIVER-435] - README does not have reference to GoDoc
- [GODRIVER-440] - fix swapped T, I values for Timestamp
New Feature
- [GODRIVER-50] - Support maxTimeMS for createIndexes and dropIndexes commands
- [GODRIVER-124] - Support bulk inserting documents over 16 MB in total size with InsertMany
- [GODRIVER-360] - Correct semantics of bson.Document.Lookup method
Improvement
- [GODRIVER-419] - Set the Kind when returning a topology.SelectedServer