Skip to content

Conversation

@injectives
Copy link
Contributor

@injectives injectives commented Apr 13, 2023

bolt_agent

This update introduces support for the new HELLO message bolt_agent field 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.

Java driver bolt_agent sample:

neo4j-java/5.7.0-bf6c5444e19cef8b6cb7aa7e0cecf80b7f8a19a9 (Linux; 5.15.49-linuxkit; aarch64) Java/17.0.6 (Eclipse Adoptium; OpenJDK 64-Bit Server VM; 17.0.6+10)

Bolt 5.3

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

user_agent

The user agent remains a configurable value, but its default value has been updated to match the new bolt_agent value.

@injectives injectives marked this pull request as draft April 13, 2023 18:07
@injectives injectives changed the title Initial Introduce bolt_agent and update the default user_agent Apr 20, 2023
@injectives injectives force-pushed the feature/user-agent branch 2 times, most recently from 40c9632 to 6622fac Compare April 20, 2023 08:55
@injectives injectives marked this pull request as ready for review April 20, 2023 08:56
@injectives injectives requested a review from gjmwoods April 20, 2023 09:00
This update introduces support for the new `HELLO` message `bolt_agent` field 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.

Java driver `bolt_agent` sample:
```
neo4j-java/5.7.0-bf6c5444e19cef8b6cb7aa7e0cecf80b7f8a19a9 (Linux; 5.15.49-linuxkit; aarch64) Java/17.0.6 (Eclipse Adoptium; OpenJDK 64-Bit Server VM; 17.0.6+10)
```

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

The user agent remains a configurable value, but its default value has been updated to match the new `bolt_agent` value.
Copy link
Contributor

@gjmwoods gjmwoods left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💪

@injectives injectives merged commit b654181 into neo4j:5.0 Apr 20, 2023
@injectives injectives deleted the feature/user-agent branch April 20, 2023 12:44
injectives added a commit to injectives/neo4j-java-driver that referenced this pull request Apr 26, 2023
injectives added a commit that referenced this pull request Apr 27, 2023
injectives added a commit to injectives/neo4j-java-driver that referenced this pull request May 15, 2023
* Introduce `bolt_agent` and update the default `user_agent`

This update introduces support for the new `HELLO` message `bolt_agent` field 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.

Java driver `bolt_agent` sample:
```
neo4j-java/5.7.0-bf6c5444e19cef8b6cb7aa7e0cecf80b7f8a19a9 (Linux; 5.15.49-linuxkit; aarch64) Java/17.0.6 (Eclipse Adoptium; OpenJDK 64-Bit Server VM; 17.0.6+10)
```

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

The user agent remains a configurable value, but its default value has been updated to match the new `bolt_agent` value.

* Update IT tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants