MongoDB Go Driver Alpha 17
Pre-release
Pre-release
The MongoDB Go driver team is pleased to release the seventeenth alpha of the official Go driver.
This alpha release reverses the dependency between the bson
and bsoncodec
packages, which is elaborated below. Additionally, there are small API updates and bug fixes. 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.
BSON Package Dependency Reversal
This release reverses the dependency between the `bson` and `bsoncodec` packages. This allows the bson package to contain the `Marshal` and `Unmarshal` family of functions and the `Encoder` and `Decoder` types. This allows future types in the bson package to handle the empty interface. Users should be able to rely on the `bson` package for most functionality.Release Notes
Bug
- [GODRIVER-473] - toExtJSON does not escape double quotes in strings
- [GODRIVER-529] - Value.Interface() returns the .String() result for EmbeddedDocument and Array
New Feature
- [GODRIVER-280] - Remove maxScan query option
- [GODRIVER-281] - Remove snapshot option
Improvement
- [GODRIVER-300] - Support constructing *Value from time.Time instances
- [GODRIVER-536] - Upgrade to Go 1.11
- [GODRIVER-548] - Value.Interface() should return the underlying type for a Document
- [GODRIVER-592] - Reverse Dependencies of bson and bsoncodec