MongoDB Go Driver Alpha 3
Pre-release
Pre-release
The MongoDB Go driver team is pleased to release the third alpha of the official Go driver.
This release mainly contains user experience improvements and a refactor of internal driver structure. 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.
Bug
- [GODRIVER-282] - bson.Decoder cannot decode into bson types inside of a struct
- [GODRIVER-287] - SSL client certificate should support PEM files with passwords
- [GODRIVER-288] - Fix decoding BSON arrays into empty interface
- [GODRIVER-309] - Fix excessive escaping when printing BSON objects
- [GODRIVER-313] - Examples don't reset the document before decode
- [GODRIVER-320] - Document Should Be Reset In Examples
- [GODRIVER-321] - convertValueToElem should copy the attached *bson.Document
- [GODRIVER-323] - Struct with bson tag _id inserts a byte array instead of objectId
- [GODRIVER-339] - Document Set does not always replace the correct field.
New Feature
- [GODRIVER-2] - Implement X-509
- [GODRIVER-32] - Implement Enumerate Indexes Specification
- [GODRIVER-34] - Implement Index Management Specification
- [GODRIVER-38] - add NameOnly to ops.ListDatabasesOptions
- [GODRIVER-78] - Implement Database Enumeration spec
- [GODRIVER-195] - Custom Dialer option for Client
- [GODRIVER-285] - Client should have a Close method
Task
- [GODRIVER-153] - Add client constructor that takes client options
- [GODRIVER-254] - Redesign the private package
Improvement
- [GODRIVER-256] - Ensure Cursor implementations return Close error on Close
- [GODRIVER-315] - Mongo shipped BSON marshaller to support nested structs using embedding
- [GODRIVER-317] - Handle nil properties of a struct in the BSON encoder
- [GODRIVER-324] - Handle objectid.ObjectID in the bson.Encoder
- [GODRIVER-327] - Migrate to new library structure
- [GODRIVER-330] - Create Collection using Database's read and write selectors
- [GODRIVER-331] - Use description.WriteSelector instead of a ReadPrefSelector
- [GODRIVER-332] - Use db.writeSelector in Database.RunCommand
- [GODRIVER-333] - ReadPref selector should use feature.MaxStaleness
- [GODRIVER-334] - Remove topology server selectors and use description server selectors
- [GODRIVER-336] - Move TLS configuration out of connection.New
- [GODRIVER-346] - Refactor Client Options
- [GODRIVER-353] - Add license notice for core library