NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules, #428 by repository stars
Latest stable
v1.17.10
Last release 2 months ago
10 Sep 2026
Release timing varies
gaps range from 8 days to 7 months
Nearly every release is documented
notes for 59 of the last 60 stable releases
14 versions withdrawn
withdrawn after publishing
10 years old
1482 releases · first in 2017
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
[ GODRIVER-546 ] - Deprecate eval helpers
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.
<h2>Release Notes</h2> <h3>Bug</h3> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-373'>GODRIVER-373</a>] - DocumentResult does not close cursor </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-452'>GODRIVER-452</a>] - bson package unable to Decode Enum values </li> </ul>
<h3>New Feature</h3> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-372'>GODRIVER-372</a>] - Add a Ping method to the Client type </li> </ul>
<h3>Task</h3> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-523'>GODRIVER-523</a>] - Support new readConcern level "available" </li> </ul>
<h3>Improvement</h3> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-460'>GODRIVER-460</a>] - Attempt to grow connection readBuf before allocating new buffer. </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-490'>GODRIVER-490</a>] - Cursor.Next should call getMore in a loop until a document is available </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-495'>GODRIVER-495</a>] - Implement BSON Registry </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-496'>GODRIVER-496</a>] - Implement default struct tag handler </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-497'>GODRIVER-497</a>] - Implement valueWriter and documentValueWriter </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-498'>GODRIVER-498</a>] - Implement valueReader and documentValueReader </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-499'>GODRIVER-499</a>] - Implement bson.Encoder/bson.Marshal* </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-500'>GODRIVER-500</a>] - Implement bson.Decoder/bson.Unmarshal* </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-501'>GODRIVER-501</a>] - Implement basic codecs </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-516'>GODRIVER-516</a>] - Add default codecs for most reflect.Kind types </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-539'>GODRIVER-539</a>] - Add BinaryOK function to the bson.Value type </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-546'>GODRIVER-546</a>] - Deprecate eval helpers </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-547'>GODRIVER-547</a>] - Resync read write concern tests to add new read concern levels </li> </ul>
<h3>Sub-task</h3> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-553'>GODRIVER-553</a>] - Skip one-txt-record-multiple-strings spec test on Go 1.11 </li> </ul>
Your coding agent can read these notes before it upgrades. Set up the MCP server →
The MongoDB Go driver team is pleased to release the thirteenth alpha of the official Go driver.
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.
<h2>Release Notes</h2> <h3>Bug</h3> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-513'>GODRIVER-513</a>] - Value.DateTime should return an int64 </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-538'>GODRIVER-538</a>] - The readpref.WithTags function is broken </li> </ul>
<h3>New Feature</h3> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-24'>GODRIVER-24</a>] - Implement GridFS Specification </li> </ul>
<h3>Improvement</h3> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-515'>GODRIVER-515</a>] - Add Context to CommandMonitor Events </li> </ul>
The MongoDB Go driver team is pleased to release the twelfth alpha of the official Go driver.
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.
<h2>Release Notes</h2> <h3>New Feature</h3> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-53'>GODRIVER-53</a>] - Retryable writes </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-216'>GODRIVER-216</a>] - SCRAM-SHA-256 Support </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-286'>GODRIVER-286</a>] - Implement Transactions spec </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-511'>GODRIVER-511</a>] - Test only the initial command in a transaction includes readConcern </li> </ul>
<h3>Improvement</h3> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-519'>GODRIVER-519</a>] - Convert SCRAM-SHA-1 to use external scram library </li> </ul>
The MongoDB Go driver team is pleased to release the eleventh alpha of the official Go driver.
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.
<h2>Release Notes</h2> <h3>Bug</h3> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-491'>GODRIVER-491</a>] - Failure to establish connection when using only local certificate </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-510'>GODRIVER-510</a>] - Documents larger than the MaxDocumentSize/MaxBSONObjectSize should cause error on InsertOne/InsertMany </li> </ul>
<h3>New Feature</h3> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-56'>GODRIVER-56</a>] - Causally Consistent Reads support </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-453'>GODRIVER-453</a>] - Implement new count API </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-509'>GODRIVER-509</a>] - Implement ObjectID spec </li> </ul>
The MongoDB Go driver team is pleased to release the tenth alpha of the official Go driver.
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.
<h2>Release Notes</h2> <h3>Bug</h3> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-493'>GODRIVER-493</a>] - Protect against nil options in bundles </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-508'>GODRIVER-508</a>] - topology.Server.update leaks time.Tickers </li> </ul>
<h3>Epic</h3> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-22'>GODRIVER-22</a>] - Implement driver API specs </li> </ul>
<h3>New Feature</h3> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-19'>GODRIVER-19</a>] - Implement Command Monitoring Specification </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-52'>GODRIVER-52</a>] - Implement Drivers Sessions API </li> </ul>
The MongoDB Go driver team is pleased to release the ninth alpha of the official Go driver.
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.
<h2>Release Notes</h2>
<h3>Bug</h3>
<ul>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-302'>GODRIVER-302</a>] - Optioner Interfaces are difficult to construct programatically
</li>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-479'>GODRIVER-479</a>] - Typo - Error information lost / not returned in func Projection()
</li>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-485'>GODRIVER-485</a>] - Authentication degrade after 0.0.6
</li>
</ul>
<h3>Epic</h3> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-415'>GODRIVER-415</a>] - Options Management </li> </ul>
<h3>New Feature</h3> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-54'>GODRIVER-54</a>] - OP_MSG type 0 support </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-157'>GODRIVER-157</a>] - Add read preference option to db.RunCommand </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-335'>GODRIVER-335</a>] - Split options.OptProjection into OptFields and OptProjection </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-356'>GODRIVER-356</a>] - Add ability to create Database and Collection instances with a read preference </li> </ul>
<h3>Improvement</h3> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-272'>GODRIVER-272</a>] - Implement redesigned options for the Collection methods </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-350'>GODRIVER-350</a>] - Change OptWriteConcern to directly wrap a writeconcern.WriteConcern </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-352'>GODRIVER-352</a>] - Incorrect copyright statement on bson/decimal/decimal.go </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-450'>GODRIVER-450</a>] - Combine options that are singular entities </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-481'>GODRIVER-481</a>] - Remove bson/internal libraries </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-482'>GODRIVER-482</a>] - Separate command.Command into command.Read and command.Write </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-486'>GODRIVER-486</a>] - Connection String AuthSource should default to using connection string database name before defaulting to admin </li> </ul>
The MongoDB Go driver team is pleased to release the eighth alpha of the official Go driver.
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.
<h2>Release Notes</h2>
<h3>Bug</h3>
<ul>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-477'>GODRIVER-477</a>] - benchmark max execution timeout counts setup time.
</li>
</ul>
<h3>New Feature</h3> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-20'>GODRIVER-20</a>] - Implement Compression Specification </li> </ul> <h3>Improvement</h3> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-115'>GODRIVER-115</a>] - Implement driver benchmarks </li> </ul>
Nothing published for this version
The MongoDB Go driver team is pleased to release the seventh alpha of the official Go driver.
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.
<h2>Release Notes</h2>
<h3>Bug</h3>
<ul>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-436'>GODRIVER-436</a>] - Documentation does not indicate users should call client.Connect or use mongo.Connect
</li>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-441'>GODRIVER-441</a>] - Connection Handshake should not call buildInfo
</li>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-442'>GODRIVER-442</a>] - Authentication error should drain a topology.Server's connection pool
</li>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-456'>GODRIVER-456</a>] - Creating an index with nil Keys panics
</li>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-457'>GODRIVER-457</a>] - expireAfter index option incorrectly uses expireAfter instead of expireAfterSeconds
</li>
</ul>
<h3>New Feature</h3> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-31'>GODRIVER-31</a>] - Implement Enumerate Collections Specification </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-47'>GODRIVER-47</a>] - Support passing index hint to aggregations </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-294'>GODRIVER-294</a>] - Add builder for index management options </li> </ul>
<h3>Improvement</h3> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-142'>GODRIVER-142</a>] - Implement auth connection string tests </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-293'>GODRIVER-293</a>] - Add Iterator for Array </li> </ul>
The MongoDB Go driver team is pleased to release the sixth alpha of the official Go driver.
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.
<h2>Release Notes</h2>
<h3>Bug</h3>
<ul>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-403'>GODRIVER-403</a>] - command.Encode doesn't set slaveOk flag
</li>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-426'>GODRIVER-426</a>] - Change "too precise" float32 behavior
</li>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-427'>GODRIVER-427</a>] - fix pointers' decoding
</li>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-430'>GODRIVER-430</a>] - bson.Document.Delete and bson.Document.Prepend are subtly broken
</li>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-432'>GODRIVER-432</a>] - topology.SelectServer leaks timers
</li>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-434'>GODRIVER-434</a>] - Fix encoding of *time.Time
</li>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-435'>GODRIVER-435</a>] - README does not have reference to GoDoc
</li>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-440'>GODRIVER-440</a>] - fix swapped T, I values for Timestamp
</li>
</ul>
<h3>New Feature</h3> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-50'>GODRIVER-50</a>] - Support maxTimeMS for createIndexes and dropIndexes commands </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-124'>GODRIVER-124</a>] - Support bulk inserting documents over 16 MB in total size with InsertMany </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-360'>GODRIVER-360</a>] - Correct semantics of bson.Document.Lookup method </li> </ul>
<h3>Improvement</h3> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-419'>GODRIVER-419</a>] - Set the Kind when returning a topology.SelectedServer </li> </ul>
The MongoDB Go driver team is pleased to release the fifth alpha of the official Go driver.
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.
<h2>Release Notes</h2> <h3>Bug</h3> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-395'>GODRIVER-395</a>] - Err check phase fails </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-396'>GODRIVER-396</a>] - Read Preference from connection string should be used </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-407'>GODRIVER-407</a>] - implicit readPreference not allowed </li> </ul>
<h3>New Feature</h3> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-354'>GODRIVER-354</a>] - Add Optioners for Index Commands </li> </ul>
<h3>Improvement</h3> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-329'>GODRIVER-329</a>] - Make bson.Decoder an interface </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-410'>GODRIVER-410</a>] - IsZero and structs </li> </ul>
The MongoDB Go driver team is pleased to release the fourth alpha of the official Go driver.
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.
<h2>Release Notes</h2>
<h3>Bug</h3>
<ul>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-298'>GODRIVER-298</a>] - Passing a nil context.Next to Cursor#Next panics
</li>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-307'>GODRIVER-307</a>] - Insert methods do not seem propogate duplicate key errors
</li>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-369'>GODRIVER-369</a>] - Function mongo.newClient should not call topology.Connect
</li>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-370'>GODRIVER-370</a>] - The ConnectTimeout ClientOption should be used when using the default Dialer
</li>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-371'>GODRIVER-371</a>] - SocketTimeout should be set as Read and Write Timeouts on a Connection
</li>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-374'>GODRIVER-374</a>] - examples_test.go : Topology is closed on Mac
</li>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-383'>GODRIVER-383</a>] - Use Server Selection Timeout from connection string
</li>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-388'>GODRIVER-388</a>] - Creating a new connection may leak a semaphore permit
</li>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-389'>GODRIVER-389</a>] - Race condition when disconnecting a connection pool
</li>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-390'>GODRIVER-390</a>] - Getting a connection from a pool can be starved indefinitely
</li>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-397'>GODRIVER-397</a>] - Connections are leaked by the driver
</li>
</ul>
<h3>New Feature</h3> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-301'>GODRIVER-301</a>] - Add method to retrieve name from collection </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-308'>GODRIVER-308</a>] - provide method to drop database </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-312'>GODRIVER-312</a>] - Ensure WriteErrors are returned to the user </li> </ul>
<h3>Improvement</h3> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-337'>GODRIVER-337</a>] - Allow option.Optioner to return an error </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-343'>GODRIVER-343</a>] - Add Encoder support for the decimal.decimal128 type </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-359'>GODRIVER-359</a>] - Add bson.Zeroer types for comparing structs </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-363'>GODRIVER-363</a>] - BSON encode and decoder do not support time.Time, url.URL, or json.Number </li> </ul>
The MongoDB Go driver team is pleased to release the third alpha of the official Go driver.
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.
<h2> Bug </h2> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-282'>GODRIVER-282</a>] - bson.Decoder cannot decode into bson types inside of a struct </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-287'>GODRIVER-287</a>] - SSL client certificate should support PEM files with passwords </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-288'>GODRIVER-288</a>] - Fix decoding BSON arrays into empty interface </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-309'>GODRIVER-309</a>] - Fix excessive escaping when printing BSON objects </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-313'>GODRIVER-313</a>] - Examples don't reset the document before decode </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-320'>GODRIVER-320</a>] - Document Should Be Reset In Examples </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-321'>GODRIVER-321</a>] - convertValueToElem should copy the attached *bson.Document </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-323'>GODRIVER-323</a>] - Struct with bson tag _id inserts a byte array instead of objectId </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-339'>GODRIVER-339</a>] - Document Set does not always replace the correct field. </li> </ul>
<h2> New Feature </h2> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-2'>GODRIVER-2</a>] - Implement X-509 </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-32'>GODRIVER-32</a>] - Implement Enumerate Indexes Specification </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-34'>GODRIVER-34</a>] - Implement Index Management Specification </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-38'>GODRIVER-38</a>] - add NameOnly to ops.ListDatabasesOptions </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-78'>GODRIVER-78</a>] - Implement Database Enumeration spec </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-195'>GODRIVER-195</a>] - Custom Dialer option for Client </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-285'>GODRIVER-285</a>] - Client should have a Close method </li> </ul>
<h2> Task </h2> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-153'>GODRIVER-153</a>] - Add client constructor that takes client options </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-254'>GODRIVER-254</a>] - Redesign the private package </li> </ul>
<h2> Improvement </h2> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-256'>GODRIVER-256</a>] - Ensure Cursor implementations return Close error on Close </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-315'>GODRIVER-315</a>] - Mongo shipped BSON marshaller to support nested structs using embedding </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-317'>GODRIVER-317</a>] - Handle nil properties of a struct in the BSON encoder </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-324'>GODRIVER-324</a>] - Handle objectid.ObjectID in the bson.Encoder </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-327'>GODRIVER-327</a>] - Migrate to new library structure </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-330'>GODRIVER-330</a>] - Create Collection using Database's read and write selectors </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-331'>GODRIVER-331</a>] - Use description.WriteSelector instead of a ReadPrefSelector </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-332'>GODRIVER-332</a>] - Use db.writeSelector in Database.RunCommand </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-333'>GODRIVER-333</a>] - ReadPref selector should use feature.MaxStaleness </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-334'>GODRIVER-334</a>] - Remove topology server selectors and use description server selectors </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-336'>GODRIVER-336</a>] - Move TLS configuration out of connection.New </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-346'>GODRIVER-346</a>] - Refactor Client Options </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-353'>GODRIVER-353</a>] - Add license notice for core library </li> </ul>
Nothing published for this version
Nothing published for this version
The MongoDB Go driver team is pleased to release the second alpha of the official Go driver.
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:
<h2> Bug
</h2>
<ul>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-238'>GODRIVER-238</a>] - Lookup should properly traverse Arrays
</li>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-241'>GODRIVER-241</a>] - Clarify the documentation for the bson package wrt the builder.Builder type
</li>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-245'>GODRIVER-245</a>] - Ensure methods of *Document handle the case where *Document is nil
</li>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-246'>GODRIVER-246</a>] - Update bson.ErrTooSmall
</li>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-253'>GODRIVER-253</a>] - bson.Reader.Lookup should return ErrElementNotFound if no element is found
</li>
</ul>
<h2> New Feature
</h2>
<ul>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-203'>GODRIVER-203</a>] - Create examples for sample shell commands
</li>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-236'>GODRIVER-236</a>] - Add Marshal, Unmarshal, and UnmarshalDocument functions to BSON library
</li>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-265'>GODRIVER-265</a>] - Implement Stringer for objectid.ObjectID
</li>
</ul>
<h2> Improvement </h2> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-135'>GODRIVER-135</a>] - Test new BSON library against BSON corpus </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-143'>GODRIVER-143</a>] - Split ReplaceOptions from UpdateOptions </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-158'>GODRIVER-158</a>] - Resync CRUD tests to update insertMany test format to a map </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-229'>GODRIVER-229</a>] - Add namespace type for options in mongo package. </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-231'>GODRIVER-231</a>] - Add DecodeBytes method to the Cursor </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-232'>GODRIVER-232</a>] - Add a method to bson.Value to get the offset into the underlying []byte </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-237'>GODRIVER-237</a>] - Make mongo.Cursor its own interface </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-239'>GODRIVER-239</a>] - Improve Document.ElementAt usability </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-248'>GODRIVER-248</a>] - Rename bson.ArrayConstructor to bson.ValueConstructor </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-252'>GODRIVER-252</a>] - Add FromHex function to the objectid package </li> </ul>
Nothing published for this version
The MongoDB Go driver team is pleased to release the first alpha of the official Go driver.
The MongoDB Go driver team is pleased to release the first alpha of the official Go driver.
We will be making several alpha releases of the driver. This version, Alpha 1, supports MongoDB versions 3.2.x, 3.4.x, and 3.6.x. Note that the new features of MongoDB 3.6 (e.g. ChangeStreams, Sessions, Retryable Writes, etc...) are not yet supported. 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.
If you would like to contribute to development, please read the CONTRIBUTING.md guide.
The following is a non-exhaustive list of supported driver specifications:
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.