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
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
> Go Driver versions v1.0.0 through v1.1.4 and v2.0.0 through v2.8.2 are affected by a security issue CVE-2026-107324 using the bson.Raw.Validate meth…
The MongoDB Go driver team is pleased to release 1.2.0 of the official Go driver.
[!WARNING]
Go Driver versions v1.0.0 through v1.1.4 and v2.0.0 through v2.8.2 are affected by a security issue CVE-2026-107324 using thebson.Raw.Validatemethod. This release resolves that security issue in Go Driver v2. Users are encouraged to upgrade to Go Driver v2.9.0 as soon as possible.
This release addresses CVE-2026-107324, a security issue in calling bson.Raw.Validate. Calling bson.Raw.Validate on a document containing a binary element whose declared length is math.MaxInt32 causes a runtime panic.
This release contains GA support for client-side field level encryption, a new bson.MarshalValue function to marshal Go values to BSON, and various documentation improvements to add more details and examples to GoDoc.
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>
<h2> Bug </h2> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1061'>GODRIVER-1061</a>] - bson docs refer to non-existent RawArray and Array types </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1234'>GODRIVER-1234</a>] - Deadlock on 1.1.0 release </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1254'>GODRIVER-1254</a>] - Fix libmongocrypt wrapper test failure </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-1423'>GODRIVER-1423</a>] - Nil interface panics in BSON marshalling </li> </ul>
<h2> Epic </h2> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1237'>GODRIVER-1237</a>] - Client-side Field Level Encryption </li> </ul>
<h2> New Feature </h2> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-276'>GODRIVER-276</a>] - Implement a testing framework </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-420'>GODRIVER-420</a>] - integration tests should detect topology from connection, not TOPOLOGY envvar </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-626'>GODRIVER-626</a>] - Support Client-side Field Level Encryption </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-783'>GODRIVER-783</a>] - Add support for Zstandard compression </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1158'>GODRIVER-1158</a>] - Enhance Decimal128 </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1220'>GODRIVER-1220</a>] - Mark the FLE feature as "Beta" in driver docs </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1349'>GODRIVER-1349</a>] - Implement mgocompat StructCodec options </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1352'>GODRIVER-1352</a>] - Create StringCodec with options for non-bsontype.String inputs </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1353'>GODRIVER-1353</a>] - Port mgobson tests for mgocompat testing </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1355'>GODRIVER-1355</a>] - Create TimeCodec to match mgo behavior </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1357'>GODRIVER-1357</a>] - Add IntCodec for mgocompat </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-1359'>GODRIVER-1359</a>] - Add BoolCodec for mgocompat </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1360'>GODRIVER-1360</a>] - Add FloatCodec for mgocompat </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1416'>GODRIVER-1416</a>] - Add function to marshal generic BSON values </li> </ul>
<h2> Story </h2> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-990'>GODRIVER-990</a>] - Implement Zeroer for primitive.Binary </li> </ul>
<h2> Task </h2> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1249'>GODRIVER-1249</a>] - Implement a mock deployment </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1250'>GODRIVER-1250</a>] - Change Client to depend on Deployment instead of Topology </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1253'>GODRIVER-1253</a>] - Create assertion library </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1256'>GODRIVER-1256</a>] - Assert that test closes all connections and sessions in testing framework </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1261'>GODRIVER-1261</a>] - Unified test runner </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1265'>GODRIVER-1265</a>] - causal_consistency tests </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1266'>GODRIVER-1266</a>] - change stream spec tests </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1267'>GODRIVER-1267</a>] - change stream prose tests </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1268'>GODRIVER-1268</a>] - client tests </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1269'>GODRIVER-1269</a>] - client side encryption prose tests </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1270'>GODRIVER-1270</a>] - client side encryption spec tests </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1271'>GODRIVER-1271</a>] - collection tests </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1272'>GODRIVER-1272</a>] - command monitoring spec tests </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1273'>GODRIVER-1273</a>] - crud v1 spec tests </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1274'>GODRIVER-1274</a>] - crud v2 spec tests </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1275'>GODRIVER-1275</a>] - cursor tests </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1276'>GODRIVER-1276</a>] - database tests </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1277'>GODRIVER-1277</a>] - index view tests </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1278'>GODRIVER-1278</a>] - mongo_test tests </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1279'>GODRIVER-1279</a>] - legacy operation tests </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1280'>GODRIVER-1280</a>] - primary stepdown tests </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1281'>GODRIVER-1281</a>] - read/write concern spec tests </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1282'>GODRIVER-1282</a>] - results_test tests </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1283'>GODRIVER-1283</a>] - retryable reads spec tests </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1284'>GODRIVER-1284</a>] - retryable writes spec tests </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1285'>GODRIVER-1285</a>] - sessions tests </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1286'>GODRIVER-1286</a>] - SingleResult tests </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1287'>GODRIVER-1287</a>] - mongos pinning transactions tests </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1288'>GODRIVER-1288</a>] - transactions spec tests </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1289'>GODRIVER-1289</a>] - convenient transactions spec tests </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1293'>GODRIVER-1293</a>] - Delete legacy_helpers_test after all tests are ported </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1309'>GODRIVER-1309</a>] - Update from Go1.8 to 1.9 in Evergreen config </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1310'>GODRIVER-1310</a>] - convenient transactions prose tests </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1327'>GODRIVER-1327</a>] - gridfs tests </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1331'>GODRIVER-1331</a>] - Remove ns assertions in index_view_test.go </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1336'>GODRIVER-1336</a>] - initial seedlist discovery tests </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1368'>GODRIVER-1368</a>] - Create language specific copy/pasteable FLE tutorials </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1369'>GODRIVER-1369</a>] - Expectations of listIndexNames.json should refer to command as listIndexes </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1376'>GODRIVER-1376</a>] - Docs for client methods </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1377'>GODRIVER-1377</a>] - Docs for database methods </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1378'>GODRIVER-1378</a>] - Docs for collection methods </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1379'>GODRIVER-1379</a>] - CRUD GoDoc examples </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1380'>GODRIVER-1380</a>] - Sessions GoDoc examples </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1383'>GODRIVER-1383</a>] - ChangeStream and Cursor docs and examples </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1384'>GODRIVER-1384</a>] - Examples for client methods </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1401'>GODRIVER-1401</a>] - ClientOptions docs </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1406'>GODRIVER-1406</a>] - FLE GA docs changes </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1410'>GODRIVER-1410</a>] - Add retryReads URI option </li> </ul>
<h2> Improvement </h2> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-425'>GODRIVER-425</a>] - move highlevel integration tests to sub package and remove "TOPOLOGY" env var usage </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-872'>GODRIVER-872</a>] - Improve documentation for IndexView </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-911'>GODRIVER-911</a>] - Deprecate mongo.IndexOptionsBuilder </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1154'>GODRIVER-1154</a>] - How to use MongoDB's connection pool? </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1221'>GODRIVER-1221</a>] - Document whether mongo.Client is goroutine safe </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1294'>GODRIVER-1294</a>] - Collection.InsertOne is having problems with a struct that has a interface as attribute </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1305'>GODRIVER-1305</a>] - Allow inline fields to be pointers of struct </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1320'>GODRIVER-1320</a>] - Avoid using readConcern snapshot in sharded transaction tests </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1328'>GODRIVER-1328</a>] - Loosen strictness of date parsing in the driver </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1329'>GODRIVER-1329</a>] - Document public types in the mongo package </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1333'>GODRIVER-1333</a>] - Add missing tests for aggregation pipeline in bulk write updates </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1348'>GODRIVER-1348</a>] - FLE GA Spec changes </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1374'>GODRIVER-1374</a>] - Add TryNext API </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1386'>GODRIVER-1386</a>] - Fix data race in topology/resource_pool_test </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1404'>GODRIVER-1404</a>] - Improve performance of SelectServer </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1407'>GODRIVER-1407</a>] - create mapCodec for mgocompat </li> </ul>
The MongoDB Go driver team is pleased to release 1.1.4 of the official Go driver.
The MongoDB Go driver team is pleased to release 1.1.4 of the official Go driver.
This release contains a bug fix for error checking in the driver's monitoring routine. Prior to this fix, the driver would try to close a monitoring connection if the underlying net.Conn was non-nil. This caused issues for some users with custom dialers due to the nil-interface behavior in Go (see https://golang.org/doc/faq#nil_error). This fix makes it so the driver does not call any methods on connections returned by dialers if the error returned is non-nil.
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>
<h2> Bug </h2> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1439'>GODRIVER-1439</a>] - Only close heartbeat connections after they're opened </li> </ul>
The MongoDB Go driver team is pleased to release 1.1.3 of the official Go driver.
The MongoDB Go driver team is pleased to release 1.1.3 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> <h2> Bug </h2> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1345'>GODRIVER-1345</a>] - Cancel in-progress heartbeats when disconnecting </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1351'>GODRIVER-1351</a>] - nil panic on conn close for change stream aggregation operation </li> </ul>
<h2> Improvement </h2> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1364'>GODRIVER-1364</a>] - Allow authentication to all server types except arbiters </li> </ul>
The MongoDB Go driver team is pleased to release 1.1.2 of the official Go driver.
The MongoDB Go driver team is pleased to release 1.1.2 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-1245'>GODRIVER-1245</a>] - Transactions Bugs </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1292'>GODRIVER-1292</a>] - ListCollectionNames does not appear to close the cursor it creates </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1298'>GODRIVER-1298</a>] - Panic in topology/pool.go:416 </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1301'>GODRIVER-1301</a>] - Data race around topology subscription </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1302'>GODRIVER-1302</a>] - Topology.String should take {{serversLock}} </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1311'>GODRIVER-1311</a>] - Running v1.1.0+ against mongot doesn't work </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1322'>GODRIVER-1322</a>] - operations bug fixes </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1323'>GODRIVER-1323</a>] - Cleanup connection close logic </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1324'>GODRIVER-1324</a>] - Can't insert 16 MiB documents </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1325'>GODRIVER-1325</a>] - Getting a new Database from mongo.Client does not honor a Registry from DatabaseOptions </li> </ul>
Nothing published for this version
The MongoDB Go driver team is pleased to release 1.1.1 of the official Go driver.
The MongoDB Go driver team is pleased to release 1.1.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>Backport</h3> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1290'>GODRIVER-1290</a>] - Backport "Deadlock on 1.1.0 release" </li> </ul>
<h3>Bug</h3> <ul> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1011'>GODRIVER-1011</a>] - Struct decoder only works for lowercased fields </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1233'>GODRIVER-1233</a>] - Truncate Bug </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1238'>GODRIVER-1238</a>] - Closing a change stream without reading it returns an error </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1239'>GODRIVER-1239</a>] - mongo.Client's Ping method ignores read preference </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1245'>GODRIVER-1245</a>] - Transactions Bugs </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1246'>GODRIVER-1246</a>] - Cursor.All() should end implicit session </li> <li>[<a href='https://jira.mongodb.org/browse/GODRIVER-1247'>GODRIVER-1247</a>] - connection leak with change stream </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
One column per quarter.