Skip to content

Releases: mongodb/mongo-go-driver

MongoDB Go Driver Alpha 16

11 Oct 20:40
Compare
Choose a tag to compare
Pre-release

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

This alpha release contains a new extended JSON implementation, an improved Sessions API, and an implementation of the BulkWrite API. Additionally, there are small API updates. 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-562] - JSON decoding of an objectid returns error
  • [GODRIVER-564] - bson.EC.Time does not treat the zero time.Time value the same as the encoder
  • [GODRIVER-596] - Check value validity in isZero function

New Feature

Improvement

  • [GODRIVER-514] - Implement ExtJSON Reader using custom JSON parser & Implement extJSONValueReader and extJSONValueWriter
  • [GODRIVER-587] - Implement Improved Go Driver Sessions API
  • [GODRIVER-590] - objectid.ObjectID should support regular JSON hex bytes

MongoDB Go Driver Alpha 15

27 Sep 21:08
Compare
Choose a tag to compare
Pre-release

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

This release contains splits the bson package into two packages, bson and bsoncodec. The new marshaling and unmarshaling logic is contained within the bsoncodec package. Version 1 of the marshaling and unmarshaling logic has been removed. This release also contains a change to how cursors behave, fixes MaxAwaitTime, and adds a Database method to mongo.Collection. 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-266] - Properly implement maxAwaitTimeMS
  • [GODRIVER-558] - SSL option processing sets SSLCaFileSet when SSLCaFile is empty string
  • [GODRIVER-566] - Fix Equal method for bson.Value and update bson.Element.Equal to properly compare keys
  • [GODRIVER-567] - Decoding date into time.Time does not work

Epic

New Feature

  • [GODRIVER-568] - Add Database() method on mongo.Collection

Improvement

  • [GODRIVER-527] - Add BytesValueReader and BytesValueWriter interfaces
  • [GODRIVER-537] - Split bson package into bson and bsoncodec packages
  • [GODRIVER-551] - Use BSON Codecs in mongo package

MongoDB Go Driver Alpha 14

20 Sep 21:30
Compare
Choose a tag to compare
Pre-release

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

This release contains a preview of the new BSON Encoder and Decoder types. This release also contains minor 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

New Feature

Task

  • [GODRIVER-523] - Support new readConcern level "available"

Improvement

  • [GODRIVER-460] - Attempt to grow connection readBuf before allocating new buffer.
  • [GODRIVER-490] - Cursor.Next should call getMore in a loop until a document is available
  • [GODRIVER-495] - Implement BSON Registry
  • [GODRIVER-496] - Implement default struct tag handler
  • [GODRIVER-497] - Implement valueWriter and documentValueWriter
  • [GODRIVER-498] - Implement valueReader and documentValueReader
  • [GODRIVER-499] - Implement bson.Encoder/bson.Marshal*
  • [GODRIVER-500] - Implement bson.Decoder/bson.Unmarshal*
  • [GODRIVER-501] - Implement basic codecs
  • [GODRIVER-516] - Add default codecs for most reflect.Kind types
  • [GODRIVER-539] - Add BinaryOK function to the bson.Value type
  • [GODRIVER-546] - Deprecate eval helpers
  • [GODRIVER-547] - Resync read write concern tests to add new read concern levels

Sub-task

  • [GODRIVER-553] - Skip one-txt-record-multiple-strings spec test on Go 1.11

MongoDB Go Driver Alpha 13

06 Sep 21:27
Compare
Choose a tag to compare
Pre-release

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

This release contains support for GridFS. This release also contains minor 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

New Feature

Improvement

MongoDB Go Driver Alpha 12

23 Aug 19:55
Compare
Choose a tag to compare
Pre-release

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

This release contains support for retryable writes, transactions, and SCRAM-SHA-256. 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

New Feature

Improvement

  • [GODRIVER-519] - Convert SCRAM-SHA-1 to use external scram library

MongoDB Go Driver Alpha 11

09 Aug 15:58
Compare
Choose a tag to compare
Pre-release

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

This release contains support for causal consistency and the new count API. Additionally, this release has 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-491] - Failure to establish connection when using only local certificate
  • [GODRIVER-510] - Documents larger than the MaxDocumentSize/MaxBSONObjectSize should cause error on InsertOne/InsertMany

New Feature

MongoDB Go Driver Alpha 10

26 Jul 17:57
Compare
Choose a tag to compare
Pre-release

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

This release contains support for sessions and application performance monitoring. Additionally, this release has 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

Epic

New Feature

MongoDB Go Driver Alpha 9

12 Jul 19:37
Compare
Choose a tag to compare
Pre-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

MongoDB Go Driver Alpha 8

28 Jun 21:15
Compare
Choose a tag to compare
Pre-release

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

This release adds support for network compression. Additionally, there are improvements to the index management functionality in the driver. 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-477] - benchmark max execution timeout counts setup time.

New Feature

Improvement

MongoDB Go Driver Alpha 7

14 Jun 17:38
Compare
Choose a tag to compare
Pre-release

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

This release mainly contains bug fixes and documentation updates. Additionally, there are improvements to the index management functionality in the driver. 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-436] - Documentation does not indicate users should call client.Connect or use mongo.Connect
  • [GODRIVER-441] - Connection Handshake should not call buildInfo
  • [GODRIVER-442] - Authentication error should drain a topology.Server's connection pool
  • [GODRIVER-456] - Creating an index with nil Keys panics
  • [GODRIVER-457] - expireAfter index option incorrectly uses expireAfter instead of expireAfterSeconds

New Feature

  • [GODRIVER-31] - Implement Enumerate Collections Specification
  • [GODRIVER-47] - Support passing index hint to aggregations
  • [GODRIVER-294] - Add builder for index management options

Improvement