Skip to content

Removing Bolt Versions 1 and 2 for 4.1 Driver #700

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

Closed
wants to merge 1 commit into from

Conversation

gjmwoods
Copy link
Contributor

@gjmwoods gjmwoods commented May 11, 2020

Since version 4.1 of the driver will no longer support Bolt V1 and V2 we remove unused code for those protocols.

@gjmwoods gjmwoods force-pushed the 4.1-deprecating-bolt-1-and-2 branch from 1254103 to 1c354c7 Compare May 14, 2020 13:14
Copy link
Contributor

@michael-simons michael-simons left a comment

Choose a reason for hiding this comment

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

In general, looks good to me.

I wonder if we should take a day next week to consolidate message format and value (un)packers:

  • Remove the v1 and v2
  • Create unified (Un)Packer with the information from which bolt version types are available into the type itself.
  • Create a factory for (Un)Packers that can be asked for an (Un)Packer supporting a bolt version. That factory would provide the unified unpacker with a enum set of the supported types
  • Use that unified packers for a single message format. I'm sure the field keys and length of the message formats find a better home than the message format classes.

Only removing the protocol classes here feels incomplete.

@gjmwoods gjmwoods changed the title Deprecating Bolt Versions 1 and 2 for 4.1 Driver Removing Bolt Versions 1 and 2 for 4.1 Driver May 20, 2020
@gjmwoods gjmwoods added the on hold Work has temporarily been suspended label May 27, 2020
@gjmwoods
Copy link
Contributor Author

Closing as superseded by #765

@gjmwoods gjmwoods closed this Sep 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
on hold Work has temporarily been suspended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants