Skip to content

MongoDB Go Driver Alpha 2

Pre-release
Pre-release
Compare
Choose a tag to compare
@skriptble skriptble released this 07 Mar 16:40
· 1768 commits to master since this release

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

This release mainly contains improvements to the user experience 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.

Changes since the prior release:

Bug

  • [GODRIVER-238] - Lookup should properly traverse Arrays
  • [GODRIVER-241] - Clarify the documentation for the bson package wrt the builder.Builder type
  • [GODRIVER-245] - Ensure methods of *Document handle the case where *Document is nil
  • [GODRIVER-246] - Update bson.ErrTooSmall
  • [GODRIVER-253] - bson.Reader.Lookup should return ErrElementNotFound if no element is found

New Feature

  • [GODRIVER-203] - Create examples for sample shell commands
  • [GODRIVER-236] - Add Marshal, Unmarshal, and UnmarshalDocument functions to BSON library
  • [GODRIVER-265] - Implement Stringer for objectid.ObjectID

Improvement

  • [GODRIVER-135] - Test new BSON library against BSON corpus
  • [GODRIVER-143] - Split ReplaceOptions from UpdateOptions
  • [GODRIVER-158] - Resync CRUD tests to update insertMany test format to a map
  • [GODRIVER-229] - Add namespace type for options in mongo package.
  • [GODRIVER-231] - Add DecodeBytes method to the Cursor
  • [GODRIVER-232] - Add a method to bson.Value to get the offset into the underlying []byte
  • [GODRIVER-237] - Make mongo.Cursor its own interface
  • [GODRIVER-239] - Improve Document.ElementAt usability
  • [GODRIVER-248] - Rename bson.ArrayConstructor to bson.ValueConstructor
  • [GODRIVER-252] - Add FromHex function to the objectid package