Skip to content

Releases: mongodb/mongo-go-driver

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

MongoDB Go Driver Alpha 6

31 May 19:05
Compare
Choose a tag to compare
Pre-release

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

This release mainly contains bug fixes and documentation updates. There are a few large changes of note in the BSON library, where the behavior of the bson.Prepend and bson.Delete methods was corrected, the extjson package was merged into the bson package, and the semantics of the bson.Document.Lookup method were changed. 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

  • [GODRIVER-50] - Support maxTimeMS for createIndexes and dropIndexes commands
  • [GODRIVER-124] - Support bulk inserting documents over 16 MB in total size with InsertMany
  • [GODRIVER-360] - Correct semantics of bson.Document.Lookup method

Improvement

  • [GODRIVER-419] - Set the Kind when returning a topology.SelectedServer

MongoDB Go Driver Alpha 5

17 May 18:49
Compare
Choose a tag to compare
Pre-release

The MongoDB Go driver team is pleased to release the fifth 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.

Release Notes

Bug

New Feature

Improvement

MongoDB Go Driver Alpha 4

03 May 20:26
Compare
Choose a tag to compare
Pre-release

The MongoDB Go driver team is pleased to release the fourth 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.

Release Notes

Bug

  • [GODRIVER-298] - Passing a nil context.Next to Cursor#Next panics
  • [GODRIVER-307] - Insert methods do not seem propogate duplicate key errors
  • [GODRIVER-369] - Function mongo.newClient should not call topology.Connect
  • [GODRIVER-370] - The ConnectTimeout ClientOption should be used when using the default Dialer
  • [GODRIVER-371] - SocketTimeout should be set as Read and Write Timeouts on a Connection
  • [GODRIVER-374] - examples_test.go : Topology is closed on Mac
  • [GODRIVER-383] - Use Server Selection Timeout from connection string
  • [GODRIVER-388] - Creating a new connection may leak a semaphore permit
  • [GODRIVER-389] - Race condition when disconnecting a connection pool
  • [GODRIVER-390] - Getting a connection from a pool can be starved indefinitely
  • [GODRIVER-397] - Connections are leaked by the driver

New Feature

Improvement

  • [GODRIVER-337] - Allow option.Optioner to return an error
  • [GODRIVER-343] - Add Encoder support for the decimal.decimal128 type
  • [GODRIVER-359] - Add bson.Zeroer types for comparing structs
  • [GODRIVER-363] - BSON encode and decoder do not support time.Time, url.URL, or json.Number