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
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
[ GODRIVER-1462 ] - Deprecate oplogReplay find command option from CRUD spec
The MongoDB Go driver team is pleased to release 1.4.0-beta1 of the official Go driver.
This release contains support for some MongoDB server version 4.4 features and improvements to the driver API.
Documentation can be found on pkg.go.dev and the MongoDB documentation site. BSON library documentation is also available on pkg.go.dev. Questions and inquiries can be asked on the MongoDB Developer Community. Bugs can be reported in the Go Driver Jira where a list of current issues can be found.
<h2>Context for BSON Errors</h2> In previous versions, unmarshalling BSON bytes into a struct could fail with errors like <code>cannot decode string into int32 type</code>. These errors lacked context and could be confusing to debug. This release adds context to these errors to provide both the BSON key and the struct field name which caused the error. A similar error is now in the form <code>error decoding key foo(fieldFoo): cannot decode string into int32 type</code>.
<h2>Release Notes</h2>
<h2> New Feature </h2> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-952'>GODRIVER-952</a>] - Lack of context in error description like "cannot decode 64-bit integer into a string type" </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1390'>GODRIVER-1390</a>] - Support shorter SCRAM conversation </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1542'>GODRIVER-1542</a>] - Implement primitive.DateTime.UnmarshalJSON </li> </ul>
<h2> Task </h2> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1303'>GODRIVER-1303</a>] - Bump wire protocol version for 4.4 </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1366'>GODRIVER-1366</a>] - support ability to pass hint to update </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1391'>GODRIVER-1391</a>] - Collection and index creation in multi-doc txns </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1395'>GODRIVER-1395</a>] - MONGODB-AWS Support </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1396'>GODRIVER-1396</a>] - Support for allowDiskUse on find operations </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1397'>GODRIVER-1397</a>] - Allow passing hint to findAndModify update and replace operations </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1462'>GODRIVER-1462</a>] - Deprecate oplogReplay find command option from CRUD spec </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1467'>GODRIVER-1467</a>] - OCSP Support </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1469'>GODRIVER-1469</a>] - GridFS index checking should support indexes created in the shell </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1485'>GODRIVER-1485</a>] - Remove Gopkg.toml and Gopkg.lock </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1490'>GODRIVER-1490</a>] - Separate Connection String Parsing and Validation </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1491'>GODRIVER-1491</a>] - OCSP cache and URI option </li> </ul>
<h2> Improvement </h2> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-672'>GODRIVER-672</a>] - Remove bsonx dependency in driver/session </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1398'>GODRIVER-1398</a>] - Improve testing around default writeConcern </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1437'>GODRIVER-1437</a>] - Expand use of error labels for RetryableWrites </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1444'>GODRIVER-1444</a>] - Change uri_options/auth-options spec test to enable conditional tests </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1445'>GODRIVER-1445</a>] - Verify max set version and max election id on topologies in SDAM spec tests </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1464'>GODRIVER-1464</a>] - Make ExceededTimeLimit retryable writes error </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1470'>GODRIVER-1470</a>] - Raise error if hint specified for unacknowledged update using OP_MSG or OP_UPDATE </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1483'>GODRIVER-1483</a>] - Add error labels to WriteExceptions </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1499'>GODRIVER-1499</a>] - Remove timeout check from server selection fast path </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1508'>GODRIVER-1508</a>] - Allow hinting the delete command </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1509'>GODRIVER-1509</a>] - Use whitelist for change stream resumability </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1524'>GODRIVER-1524</a>] - Unreachable code and confusing error message in loadCert </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1526'>GODRIVER-1526</a>] - Support speculative authentication attempts in isMaster </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1528'>GODRIVER-1528</a>] - RetryableWrites specification improvements </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1536'>GODRIVER-1536</a>] - Ensure that the WriteConcernError "errInfo" object is propagated </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1543'>GODRIVER-1543</a>] - Remove ElectionInProgress (216) from ResumableChangeStreamError </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1546'>GODRIVER-1546</a>] - Expose gridfs files and chunks collections </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1548'>GODRIVER-1548</a>] - Access filename and metadata in gridfs DownloadStream </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1551'>GODRIVER-1551</a>] - Allow BSON undefined to decode to Go types </li> </ul>
Nothing published for this version
The MongoDB Go driver team is pleased to release 1.3.7 of the official Go driver.
The MongoDB Go driver team is pleased to release 1.3.7 of the official Go driver.
This release contains a bugfix for an error introduced in 1.3.6 that caused averageRTT to be set incorrectly.
Documentation can be found on pkg.go.dev and the MongoDB documentation site. BSON library documentation is also available on pkg.go.dev. Questions and inquiries can be asked on the MongoDB Developer Community. 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-1708'>GODRIVER-1708</a>] - Monitoring routine does not correctly set starting time in 1.3.6
</li>
</ul>
The MongoDB Go driver team is pleased to release 1.3.6 of the official Go driver.
The MongoDB Go driver team is pleased to release 1.3.6 of the official Go driver.
This release contains several bugfixes.
Documentation can be found on pkg.go.dev and the MongoDB documentation site. BSON library documentation is also available on pkg.go.dev. Questions and inquiries can be asked on the MongoDB Developer Community. 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-1688'>GODRIVER-1688</a>] - primitive.NewDateTimeFromTime only allows years between 1678 and 2262 </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1695'>GODRIVER-1695</a>] - heartbeats should always use connectTimeout as socket timeout </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1706'>GODRIVER-1706</a>] - Name is not set for WriteConcernError </li> </ul>
…https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-14040.
The MongoDB Go driver team is pleased to release 1.3.5 of the official Go driver.
This release contains several bugfixes and a change to upgrade the driver's golang.org/x/text dependency to v0.3.3 in response to https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-14040.
Documentation can be found on pkg.go.dev and the MongoDB documentation site. BSON library documentation is also available on pkg.go.dev. Questions and inquiries can be asked on the MongoDB Developer Community. 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-1609'>GODRIVER-1609</a>] - ConnectionClosed events not published when pool is disconnecting </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1613'>GODRIVER-1613</a>] - fix how Pool handles MaxPoolSize </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1625'>GODRIVER-1625</a>] - Single character passwords not handled </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1632'>GODRIVER-1632</a>] - retryable writes should be disabled on standalones </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1636'>GODRIVER-1636</a>] - TLS hostname should always be set </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1642'>GODRIVER-1642</a>] - Ensure server descriptions always have an address </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1647'>GODRIVER-1647</a>] - averageRTTSet is never set </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1648'>GODRIVER-1648</a>] - calling cursor.Next() after changestream is invalidated enters spin loop </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1658'>GODRIVER-1658</a>] - connections should update topology faster for failed handshakes </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1663'>GODRIVER-1663</a>] - Context pinned by connection.connect </li> </ul>
<h3> Task </h3> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1675'>GODRIVER-1675</a>] - Ensure driver relies on x/text version 0.3.3 or higher to address security vulnerability </li> </ul>
Nothing published for this version
Nothing published for this version
The MongoDB Go driver team is pleased to release 1.3.4 of the official Go driver.
The MongoDB Go driver team is pleased to release 1.3.4 of the official Go driver.
This release contains several bugfixes.
Documentation can be found on pkg.go.dev and the MongoDB documentation site. BSON library documentation is also available on pkg.go.dev. Questions and inquiries can be asked on the MongoDB Developer Community. 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-1589'>GODRIVER-1589</a>] - Consolidate pool.drain() and pool.clear() </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1615'>GODRIVER-1615</a>] - SingleConnectionDeployment should not be used for application operations </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1620'>GODRIVER-1620</a>] - pool cleared on network timeout errors </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1634'>GODRIVER-1634</a>] - Deduplicate logic for updating cluster/operation time </li> </ul>
The MongoDB Go driver team is pleased to release 1.3.3 of the official Go driver.
The MongoDB Go driver team is pleased to release 1.3.3 of the official Go driver.
This release contains several bugfixes.
Documentation can be found on pkg.go.dev and the MongoDB documentation site. BSON library documentation is also available on pkg.go.dev. Questions and inquiries can be asked on the MongoDB Developer Community. 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-1363'>GODRIVER-1363</a>] - InsertMany returns InsertedID's from insertions that errored </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1405'>GODRIVER-1405</a>] - "appname" is not not always sent in isMaster </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1560'>GODRIVER-1560</a>] - default connection idleTimeout is 10 minutes not unlimited </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1562'>GODRIVER-1562</a>] - bulk writes should wrap driver.ErrUnacknowledgedWrite </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1576'>GODRIVER-1576</a>] - Allowing pointer of type to implement an interface causes errors for non-addressable types </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1592'>GODRIVER-1592</a>] - Change streams should execute client side encryption flow </li> </ul>
<h3> Improvement </h3> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1556'>GODRIVER-1556</a>] - Defensively set c.nc only if the error is nil </li> </ul>
Nothing published for this version
Nothing published for this version
The MongoDB Go driver team is pleased to release 1.3.2 of the official Go driver.
The MongoDB Go driver team is pleased to release 1.3.2 of the official Go driver.
This release includes several bugfixes. One of the tickets in this release, https://jira.mongodb.org/browse/GODRIVER-1540, addresses a regression introduced in v1.3.0 which caused a deadlock if a connection encountered a network error during establishment. We recommend any users on v1.3.0 or v1.3.1 update to this version.
Documentation can be found on pkg.go.dev and the MongoDB documentation site. BSON library documentation is also available on pkg.go.dev. Questions and inquiries can be asked on the MongoDB Developer Community. 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-1502'>GODRIVER-1502</a>] - Extended JSON parsing mishandles invalid $code
</li>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1504'>GODRIVER-1504</a>] - Unmarshaling attempts to parse top-level keys as extended JSON
</li>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1506'>GODRIVER-1506</a>] - Extended JSON parsing doesn't restrict $timestamp fields to uint32
</li>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1513'>GODRIVER-1513</a>] - Extended JSON parsing allow escaping invalid characters
</li>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1520'>GODRIVER-1520</a>] - Extended JSON lone $scope does not error
</li>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1522'>GODRIVER-1522</a>] - Read preference should not be sent to mongos for aggregations with output stages
</li>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1532'>GODRIVER-1532</a>] - Allow invalid UTF-8 strings to be decoded
</li>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1535'>GODRIVER-1535</a>] - endSessions batching must reset BSON array index
</li>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1540'>GODRIVER-1540</a>] - library stuck in connection.wait()
</li>
<li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1549'>GODRIVER-1549</a>] - Handle empty tag sets in read preference
</li>
</ul>
<h3> Task </h3> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1431'>GODRIVER-1431</a>] - Update FLE documentation for community version demonstrating explicit encryption/decryption </li> </ul>
The MongoDB Go driver team is pleased to release v1.3.1 of the official Go driver.
The MongoDB Go driver team is pleased to release v1.3.1 of the official Go driver.
This release contains several bug fixes.
Documentation can be found on pkg.go.dev and the MongoDB documentation site. BSON library documentation is also available on pkg.go.dev. Questions and inquiries can be asked on the MongoDB Developer Community. Bugs can be reported in the Go Driver Jira where a list of current issues can be found.
<h2>Release Notes</h2>
<h2> Bug </h2> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-895'>GODRIVER-895</a>] - bsonrw.valueReader does not verify length of string before slice for CodeWithScope </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1487'>GODRIVER-1487</a>] - UnknownTransactionCommitResult should be added for more writeConcernErrors </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1488'>GODRIVER-1488</a>] - Decode struct infinite recursion with mgocompat Registry </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1507'>GODRIVER-1507</a>] - SRV polling not performed if the URI is not passed to the topology </li> </ul>
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
The existing RegisterEncoder methods has been deprecated and replaced by RegisterTypeEncoder and RegisterHookEncoder . A corresponding change has been…
The MongoDB Go driver team is pleased to release 1.3.0 of the official Go driver.
This release contains new functions to construct BSON registries, a new BSON registry that mimics the behavior of the globalsign/mgo/bson library, and new URI options to specify TLS certificates and keys as separate files. As part of this release, support for Go modules has been added and the README has been changed to reflect this. There is still a vendor directory in the source code so projects can be compiled with versions of Go that do not support modules.
Documentation can be found on GoDoc and the MongoDB documentation site. BSON library documentation is also available 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>mgo compatible BSON</h2> A new <code>mgocompat</code> package has been added under the top-level <code>bson</code> package. This package exports <code>Registry</code>, which is a BSON registry compatible with <code>globalsign/mgo/bson</code> and <code>RegistryRespectNilValues</code>, which is compatible with <code>globalsign/mgo/bson</code> with the <code>RespectNilValues</code> flag set to true. These registries can be used via the <code>ClientOptions.SetRegistry</code> method. The package also exports a <code>RegistryBuilder</code> for each of the registries so additional changes can be made. See the <code>bson/bsoncodec</code> package documentation for more information.
<h2><code>RegistryBuilder</code> method changes</h2> The existing <code>RegisterEncoder</code> methods has been deprecated and replaced by <code>RegisterTypeEncoder</code> and <code>RegisterHookEncoder</code>. A corresponding change has been made for <code>RegisterDecoder</code> as well.
<h2>Release Notes</h2> <h3> Bug </h3> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1002'>GODRIVER-1002</a>] - Credential.PasswordSet doesn't work or is incorrectly documented </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1411'>GODRIVER-1411</a>] - Data race between creating a new connection and disconnecting topology </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1466'>GODRIVER-1466</a>] - Overriding the type map entry for embedded document does not work </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1476'>GODRIVER-1476</a>] - mongodb+srv doesn't work with a fully qualified DNS name </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1478'>GODRIVER-1478</a>] - Pooled sessions should have use time updated when retrieved from the pool </li> </ul>
<h3> New Feature </h3> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-580'>GODRIVER-580</a>] - Need to be able to unmarshall to bson.D field within a struct </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-917'>GODRIVER-917</a>] - Difference in BSON/JSON serialization of nil primitive.D compared to mgo </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1175'>GODRIVER-1175</a>] - allow BSON null values to decode into non-nilable Go types </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1354'>GODRIVER-1354</a>] - Create ObjectIDCodec that accepts bsontype.String for decoding </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1356'>GODRIVER-1356</a>] - Support mgo's Getter and Setter interfaces </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1358'>GODRIVER-1358</a>] - Add UIntCodec for mgocompat </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1361'>GODRIVER-1361</a>] - Create mgocompat.Registry </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1362'>GODRIVER-1362</a>] - Add SliceCodec for mgocompat </li> </ul>
<h3> Task </h3> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-904'>GODRIVER-904</a>] - Improve docs for how to write custom codecs </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-938'>GODRIVER-938</a>] - cannot convert types that use mgobson.ObjectId to new bson library. </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1381'>GODRIVER-1381</a>] - GridFS GoDoc examples </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1427'>GODRIVER-1427</a>] - Add more sessions tests with more read and write commands </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1448'>GODRIVER-1448</a>] - Read operations options documentation </li> </ul>
<h3> Improvement </h3> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-543'>GODRIVER-543</a>] - Enable support for Go 1.11 modules </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1421'>GODRIVER-1421</a>] - Add EmptyInterfaceCodec for mgocompat </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1429'>GODRIVER-1429</a>] - add ByteArrayCodec for mgocompat </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1430'>GODRIVER-1430</a>] - allow strings and binaries to decode to symbols </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1433'>GODRIVER-1433</a>] - Add RespectNilValues equivalent for the mgo registry </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1435'>GODRIVER-1435</a>] - Please add tlsCertificateFile and tlsKeyFile connection string options. </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1438'>GODRIVER-1438</a>] - Separate RegisterEncoder/Decoder functions to "types" and "hooks" </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1455'>GODRIVER-1455</a>] - Use a pure go implementation for zstd </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1460'>GODRIVER-1460</a>] - Document mgocompat </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1461'>GODRIVER-1461</a>] - Validate that mongocryptd is not spawned if bypassAutoEncryption=true </li> </ul>
The MongoDB Go driver team is pleased to release 1.2.1 of the official Go driver.
The MongoDB Go driver team is pleased to release 1.2.1 of the official Go driver.
This release contains several bug fixes.
Documentation can be found on GoDoc and the MongoDB documentation site. BSON library documentation is also available 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-1428'>GODRIVER-1428</a>] - operation.CreateIndexes doesn't support WriteConcern </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1439'>GODRIVER-1439</a>] - Only close heartbeat connections after they're opened </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1442'>GODRIVER-1442</a>] - Fix connection error handling in ProcessError </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1450'>GODRIVER-1450</a>] - BulkWriteError's request is not the correct one </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1456'>GODRIVER-1456</a>] - Extended JSON writer should escape keys </li> </ul>
One column per quarter.