neo4j / neo4j-go-driver

Neo4j Bolt Driver for Go
Apache License 2.0
485 stars 68 forks source link

Add `bolt_agent` to the `extra` dictionary of the `HELLO` message. #507

Closed StephenCathcart closed 1 year ago

StephenCathcart commented 1 year ago

Adds a new field bolt_agent to the extra dictionary of the HELLO message that is mandatory in the Bolt protocol version 5.3.

The bolt_agent value is non-configurable and follows a common format among the official drivers.

Go driver bolt_agent sample:

{"product": "neo4j-go/5.9.0", "platform": "darwin; amd64", "language": "Go/go1.20.3"}

The update also brings support for the Bolt protocol version 5.3.