NewYour coding agent can read the release notes before it upgrades.Set up the MCP server โ
Go modules, #2633 by repository stars
Latest stable
v5.28.6
Last release 1 months ago
27 Oct 2026
Release timing varies
gaps range from 8 days to 6 months
Nearly every release is documented
notes for 38 of 38 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
70 releases ยท first in 2022
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
๐ Bug fixes
[760b14d] Port Discard pooled connections the server closed while idle (#717)
Also fixes a data race in Connector.Connect .
ReadBufferSize of 0 or below now selects the default instead of disabling buffering.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
Your coding agent can read these notes before it upgrades. Set up the MCP server โ
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
๐ ๏ธ Internal
[79539ef] Add .semgrepignore (#689)
[f0e5319] Remove .snyk file (#692)
[da9a391] Port Pin pre-commit staticcheck to the version CI uses (#709)
๐ Bug fixes
๐ Special thanks to
Nothing published for this version
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
๐ Bug fixes
[aa5e3c3] Fix Close deadlock (#669)
[ed84341] Short-circuit retries on context timeout (#666)
๐ Improvements
[b167253] TestKit: time warp backend (#638)
[267f8c7] Docs: note IsRetryable is not applicable to auto-commit transactions (#649)
๐ Special thanks to
Nothing published for this version
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
๐ Bug fixes
๐ Improvements
๐ Special thanks to
Nothing published for this version
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
๐ Deprecations
๐ Improvements
๐ Special thanks to
Nothing published for this version
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
๐ Bug fixes
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
๐ Special thanks to
๐ Features / Improvements
[ee9efc8] ADR 30: Bolt Handshake Manifest v1 (#619)
[41d6c1b] ADR 26 Home Database Cache (#618)
[a530f66] mTLS out of preview (#623)
[15e6f76] Optimize serialization of []any and map[string]any (#617)
[4bf3766] Added Records method to ResultWithContext (#600)
[402dc51] CI: test against multiple versions of Go (#616)
[48912c4] CI: fix ITs not always closing driver (#628)
[92f35d0] TestKit: add maxConnectionTimeout support (#621)
[a5e056d] TestKit backend: add custom DNS resolution hook (#622)
[5b9235e] TestKit: skip one of the newly added summary tests (#624)
๐ Bug fixes
[b401c3d] Fix for cache key collisions, secure logging fix (#633)
[165e445] Fix panic when calling driver.Close concurrently (#626)
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
๐ Features / Improvements
๐ Bug fixes
Nothing published for this version
Nothing published for this version
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
๐ Features / Improvements
[9a93d3e] GQL Compliant Errors (โน๏ธ in preview) (#607)
[8d40e8b] TestKit: serialize Neo4j error messages (#604)
๐ Bug fixes
[9e6857b] Retry mechanism doesn't respect the context (#601)
[2341390] Fix race conditions in unit tests and enable race check in tests (#521)
[5ebc91d] Fix unit test not waiting for go routine to finish (#606)
[54c9d19] Fix nil pointer errors on unit test failure (#605)
Nothing published for this version
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
๐ Features / Improvements
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
๐ Features / Improvements
[6ecad42] Add SCHEMA notification category (#594)
[778d6ba] Pre-commit hook: fix staticcheck version selection by go version (#595)
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
๐ Special thanks to
๐ Bug fixes
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
๐ Features / Improvements
[f49845b] Add GqlStatusObject support as notifications to ResultSummary (โน๏ธ in preview). (#588)
[14cbf69] Significant performance improvement through buffered reading. (#581)
[a8c8342] Clarify FetchAll behavior inline docs (#586)
Nothing published for this version
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
๐ Features / Improvements
[7772a81] Updated name of skipped Testkit test due to upcoming GqlStatusObject work. (#585)
[8836143] Disabled flakey stress test. (#585)
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
๐ Features / Improvements
๐ Bug fixes
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
๐ Special thanks to
๐ Features / Improvements
[ed22096] Added ExecuteQueryWithAuthToken configuration option (#564)
[ef1b68f] Added initial BenchKit backend implementation (#566)
๐ Bug fixes
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
๐ Features / Improvements
๐ Bug fixes
[a3fa881] Cleaned up logging packaging (#560)
[373bd39] Updated to non-racing lock for driver pool (#552)
[94725fd] Fixed race condition: pool kept connections after closure (#562)
Nothing published for this version
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
๐ Features / Improvements
[4354f3a] Added ExecuteQueryWithTransactionConfig option for ExecuteQuery (#553)
[84b51fe] Added ConnectionLivenessCheckTimeout configuration (#551)
[ddb0635] Minor code clean-ups (#554)
๐ Bug fixes
[ac6a50b] Abort health check loop on done context (#555)
[042c154] Avoid I/O while holding the pool's queue lock (#556)
[fdbce9f] Pool: notify fewer waiters on returned connection (#559)
[29fad8a] Fixed concurrent auth token map modification (#558)
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
๐ Special thanks to
@lucapirolo
@julienvey
๐ Features / Improvements
[e3e27ee] Enhance Neo4j integration test configuration (#544)
[b0a4f07] Updated licence headers (#546)
[88f48ad] Fixed typo in godoc for driver_with_context.go (#535)
๐ Bug fixes
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
๐ Special thanks to
๐ Features / Improvements
[56358bd] Released Re-Auth and AuthTokenManager (#542)
[ede36d4] Added new Notifications (#537)
๐ Bug fixes
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
๐ Features / Improvements
[54efcda] Added Bolt 5.4 support and Telemetry API. (#533)
[7d6cead] Improved transaction timeout documentation. (#531)
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
๐ Features / Improvements
[553515c] Pipelined ExecuteQuery is now more efficient by saving a round trip. (#522)
[a8a15a5] Changes were made to the re-auth feature in preview. (#523)
ExpirationBasedTokenManager was renamed to BearerTokenManager .
BasicTokenManager was added to handle password rotation.
[ee7546f] Spatial type stringers now show actual field names. (#510)
[39d4411] Backend improvements to support TestKit. (#520)
Nothing published for this version
Nothing published for this version
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
๐ Features / Improvements
[4147ce6] New logic to handle sub-millisecond transaction timeouts (#516).
[6964030] Documented Bolt logger usage for ExecuteQuery (#505).
๐ Bug fixes
[72512ea] Fixed error message when connecting to HTTP server (#517).
[5f36183] Add commented blank line to fix Driver deprecation notice (#506).
[69e574c] Added missing licence (#514).
[9a195bf] TestKit: Temporarily skipped new tests that need fixes in the driver (#512).
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
๐ Features / Improvements
[94db034] Updated API documentation link.
[0341d94] Prevent spurious logging on multiple Driver.Close().
[226f4b9] Added bolt_agent to the extra dictionary of the HELLO message.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
๐ Special thanks to
@knotseaborg
@rlenglet
@timrulebosch
for the detailed issues!
๐ Bug fixes
[0eccfa3] Add missing time.Time type constraint for records and nodes/rels (see issue 486 for more context)
[5074923] Make sure transactions never returns connections to the pool twice (see issue 487 for more context)
[bbb6f6d] Fix disabled level of notication min severity
๐ Features / Improvements
[fa344be] Docs: mention performance impact of notification filtering.
[786866e] Expose a dictionary conversion method to records. Check out this example !
[29a9396] Wake up connection borrowers when pool is closed (#489)
[4f29cdc] Reduce number of logs around connection acquisition timeouts (#498)
[e1b42c9] Gracefully return error when no callback defined for response (see issue 492 for more context)
[a4ee117] Get rid of redundant onUnknown response handler callback (#499)
[c01cd19] Update agent for upcoming release
Nothing published for this version
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
This contains an important fix for re-authentication.
๐ Features / Improvements
[4d3f387] Mention NewDriverWithContext does not do any connectivity work
[cb75c31] Improve blocking borrow logic in pool
This also ensures re-authorization occurs in all cases with connection re-use.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
This release ships the long-requested re-authentication support ( try it out and chime in ) ๐ฅณ
ExecuteQuery and BookmarkManager are now Generally Available and out of preview!
๐ Features / Improvements
[1f1c154] โ ๏ธ Deprecate driver config alias and update call sites
Please use config.Config instead of neo4j.Config
Please use config.ServerAddressResolver instead of neo4j.ServerAddressResolver
Please use config.ServerAddress instead of neo4j.ServerAddress
[c25cc31] Revisit retry logic (#465)
neo4j.IsRetryable now more closely resembles the criteria used internally for when to retry transactions
[dec206f] Stabilize ExecuteQuery and BookmarkManager APIs
Rename neo4j.Writers to Write and Readers to Read .
Rename driver.DefaultExecuteQueryBookmarkManager() to driver.ExecuteQueryBookmarkManager() .
[a9c87b9] Introduce re-authentication: auth rotation and session auth support (#467) (in preview)
Allows for handling expiring authentication (backwards compatible) as well as session scoped authentication (requires neo4j server version 5.5+).
We are actively looking for feedback: https://github.com/neo4j/neo4j-go-driver/discussions/482
[3f304ee] Feature ExecuteQuery in README
[c594f08] Bump default user agent to 5.8.0 (#480)
[df4a6c1] Update server/driver compatibility (#481)
Nothing published for this version
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
๐ Features / Improvements
[fc2a1e0] Implement minimal support for Bolt 5.1
it adds support for the new LOGON , LOGOFF messages
[6aa0240] Introduce message queue to better correlate requests and responses
[deab2cd] Enable Bolt logger configuration for ExecuteQuery
this allows users to log Bolt messages exchanged between the driver and the Neo4j server, which is useful for troubleshooting
[a489aca] Show off GetRecordValue API in README example
[c9bec0c] Introduce notification filtering capability (see it in action )
[ec2268f] Relabel experimental features as preview (see README for more explanation)
๐ Bug fixes
[8667940] Fix tfirst tracking for interleaved runs of same transaction
[94b10f6] Explicitly check for nil driver in ExecuteQuery
[efeb607] Close socket if Bolt handshake fails
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
This is a minor release with a couple of adjustments to neo4j.ExecuteQuery[T] and documentation improvements.
๐ Features / Improvements
[4ebfbdb] Allow ResultTransformer to return error at any stage
The 5.5.0 announcement's examples are updated.
[69b6d72] Pin staticcheck version
Used internally in CI. Change needed to keep working with Go 1.18 (baseline of the 5.x driver)
[9f981c1] Fix driver manual link
Thanks @julienvey for the contribution!
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
๐ฃ A brand new simplified API appears: welcome to neo4j.ExecuteQuery[T] !
๐ช A more robust approach to context termination has been implemented!
๐ Features / Improvements
[8a53610] Clarify ResultWithContext#Single API docs
[70ed7ac] Update documented password to match new length requirements
[8b9c4df] Let users override the minimum TLS version
[c2ca69d] Introduce ExecuteQuery[T] - Follow this announcement for more details. neo4j.ExecuteQuery example
// error handling omitted for brevity // note: you can implement your own ResultTransformer quite easily eagerResult , _ := neo4j . ExecuteQuery ( ctx , driver , "RETURN 42 AS answer" , nil , neo4j . EagerResultTransformer ) fmt . Printf ( "keys: %v \n " , eagerResult . Keys ) for _ , record := range eagerResult . Records { answer , _ , _ := neo4j . GetRecordValue [ int64 ]( record , "answer" ) fmt . Printf ( "result: %d \n " , answer ) } fmt . Printf ( "result available after: %s \n " , eagerResult . Summary . ResultAvailableAfter (). String ())
[23b666f] Warn of the impact of early context terminations
[d463827] Remove read timeout log from critical section
[b17318e] Improve docs of generic helpers
[50a78df] Document current limitation with property values
๐ Bug fixes
[78c1c75] Close underlying connection when context has terminated
This is super important and allows now to free the server from transactions that would otherwise sit idle. It is now also documented that early context termination hurt connection pooling in general, and degrade general application performance. context.Context is a nice but sharp tool!
Nothing published for this version
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
A few wild generics helpers appear ๐
๐ Features / Improvements
// โฌ๏ธ neo4j.ExecuteWrite[T] and neo4j.ExecuteRead[T] are now both available โฌ๏ธ name , err := neo4j . ExecuteWrite [ string ]( ctx , session , func ( tx neo4j. ManagedTransaction ) ( string , error ) { result , err := tx . Run ( ctx , "MATCH (person:Person {uuid: $uuid}) RETURN person LIMIT 1" , map [ string ] any { "uuid" : someUuid }) if err != nil { return "" , err } record , err := result . Single ( ctx ) if err != nil { return "" , err } rawPerson , found := record . Get ( "person" ) if ! found { return "" , fmt . Errorf ( "no person found" ) } person , ok := rawPerson .(neo4j. Node ) if ! ok { return "" , fmt . Errorf ( "invalid person: %v" , rawPerson ) } rawName , found := person . Props [ "name" ] if ! found { return "" , fmt . Errorf ( "no name property found on person: %v" , person ) } name , ok := rawName .( string ) if ! ok { return "" , fmt . Errorf ( "invalid name property: %v" , rawName ) } return name , nil })
name , err := neo4j . ExecuteWrite [ string ]( ctx , session , func ( tx neo4j. ManagedTransaction ) ( string , error ) { result , err := tx . Run ( ctx , "MATCH (person:Person {uuid: $uuid}) RETURN person LIMIT 1" , map [ string ] any { "uuid" : someUuid }) if err != nil { return "" , err } record , err := result . Single ( ctx ) if err != nil { return "" , err } // โฌ๏ธ same as before, just way shorter โฌ๏ธ person , _ , err := neo4j . GetRecordValue [neo4j. Node ]( record , "person" ) if err != nil { return "" , fmt . Errorf ( "no person found" ) } rawName , found := person . Props [ "name" ] if ! found { return "" , fmt . Errorf ( "no name property found on person: %v" , person ) } name , ok := rawName .( string ) if ! ok { return "" , fmt . Errorf ( "invalid name property: %v" , rawName ) } return name , nil })
name , err := neo4j . ExecuteWrite [ string ]( ctx , session , func ( tx neo4j. ManagedTransaction ) ( string , error ) { result , err := tx . Run ( ctx , "MATCH (person:Person {uuid: $uuid}) RETURN person LIMIT 1" , map [ string ] any { "uuid" : someUuid }) if err != nil { return "" , err } record , err := result . Single ( ctx ) if err != nil { return "" , err } person , _ , err := neo4j . GetRecordValue [neo4j. Node ]( record , "person" ) if err != nil { return "" , fmt . Errorf ( "no person found" ) } // โฌ๏ธ same as before, just way shorter โฌ๏ธ return neo4j . GetProperty [ string ]( person , "name" ) })
Less to write, less to read, more to enjoy!
Nothing published for this version
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
๐ Features / Improvements
[576d8e0] Simplify the experimental Bookmark Manager API - It will no longer track bookmarks per database.
[1b6df2d] Improve documentation of SessionConfig#Database - TL;DR: always set the database at the session level if you can!
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
A minor release in all aspects.
Nothing published for this version
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
Nothing published for this version
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
This release does not contain any new user-facing features but improves documentation among other things.
[6590ab1] Pin TestKit version
[e4b6e09] Document issue with some code-generation based mocking libraries (read this )
[cb7db9e] Update driver manual examples to leverage context-aware APIs
[332277b] Integrate https://staticcheck.io/ and fix violations
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
See https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog for more information.
5.0.0 is out, y'all! ๐ฅณ
go get github.com/neo4j/neo4j-go-driver/v5
This includes all of the previously mentioned changes and a couple more.
๐ Features / Improvements
[a788d7c] Bookmark Manager APIs now expose context.Context and may return an error , to ease the interoperability with external data sources
[5e4eb9f] "pool closed" errors are now wrapped as usage error, since this is likely a sign of a closed session being used
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.