Skip to content

ADR 013: bolt_agent, user_agent update, Bolt 5.3 #910

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
May 25, 2023

Conversation

robsdedude
Copy link
Member

  • Update the default user_agent to conform the new common format
  • Added support for Bolt 5.3 with the new bolt_agent string

Depends on:

 * Update the default `user_agent` to conform the new common format
 * Added support for Bolt 5.3 with the new `bolt_agent` string
Some internal types changed upstream. Newly added tests needed adjusting.
Align the implementation with the ADR changes:
 * The default `user_agent` remains untouched
 * `bolt_agent` becomes a dictionary instead of a string
This would constitute a breaking change. So we go back to replacing an empty
string (or any falsy value) with the driver's default user_agent.
@robsdedude robsdedude merged commit 972f386 into neo4j:5.0 May 25, 2023
@robsdedude robsdedude deleted the bolt-agent branch May 25, 2023 09:21
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.

1 participant