Skip to content

MongoDB Go Driver Alpha 9

Pre-release
Pre-release
Compare
Choose a tag to compare
@skriptble skriptble released this 12 Jul 19:37
· 1763 commits to master since this release

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

This release contains a major update for option handling within the Driver API and adds support for OP_MSG. Additionally, this release has several bug fixes and small API changes. 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-302] - Optioner Interfaces are difficult to construct programatically
  • [GODRIVER-479] - Typo - Error information lost / not returned in func Projection()
  • [GODRIVER-485] - Authentication degrade after 0.0.6

Epic

New Feature

  • [GODRIVER-54] - OP_MSG type 0 support
  • [GODRIVER-157] - Add read preference option to db.RunCommand
  • [GODRIVER-335] - Split options.OptProjection into OptFields and OptProjection
  • [GODRIVER-356] - Add ability to create Database and Collection instances with a read preference

Improvement

  • [GODRIVER-272] - Implement redesigned options for the Collection methods
  • [GODRIVER-350] - Change OptWriteConcern to directly wrap a writeconcern.WriteConcern
  • [GODRIVER-352] - Incorrect copyright statement on bson/decimal/decimal.go
  • [GODRIVER-450] - Combine options that are singular entities
  • [GODRIVER-481] - Remove bson/internal libraries
  • [GODRIVER-482] - Separate command.Command into command.Read and command.Write
  • [GODRIVER-486] - Connection String AuthSource should default to using connection string database name before defaulting to admin