Skip to content

Add tests for Bolt fix for broken DateTime encoding #470

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 16 commits into from
Jun 21, 2022
Merged

Conversation

robsdedude
Copy link
Contributor

@robsdedude robsdedude commented Jun 8, 2022

TODO:

@injectives
Copy link
Contributor

Just to note, some 4.4 routing tests seem to fail because HELLO includes "patch_bolt": ["utc"].

thelonelyvulpes and others added 3 commits June 17, 2022 11:47
In this case, we don't need for checking the presence of the patch, but just ignore if it's present.

Co-authored-by: Florent Biville <[email protected]>
Co-authored-by: Rouven Bauer <[email protected]>
In this case, we don't need for checking the presence of the patch, but just ignore if it's present.

Co-authored-by: Florent Biville <[email protected]>
@injectives
Copy link
Contributor

This version works with Java driver neo4j/neo4j-java-driver#1247.

@robsdedude robsdedude marked this pull request as ready for review June 20, 2022 09:28
@robsdedude robsdedude force-pushed the bolt-utc-datetime branch 2 times, most recently from d22f5ee to 1c1b2d0 Compare June 20, 2022 11:57
Copy link
Contributor

@bigmontz bigmontz left a comment

Choose a reason for hiding this comment

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

🕥 🕦

@bigmontz bigmontz merged commit 2970056 into 5.0 Jun 21, 2022
@bigmontz bigmontz deleted the bolt-utc-datetime branch June 21, 2022 12:07
bigmontz added a commit that referenced this pull request Jun 21, 2022
The structures with signature `0x46` and `0x66` are being replaced by `0x49` and `0x69`. This new structures changes the meaning of seconds and nano seconds from `adjusted Unix epoch`  to `UTC`.

This changes have with goal of avoiding un-existing or ambiguous ZonedDateTime to be received or sent over Bolt.

Bolt v4.3 and v4.4 were patched to support this feature if the server supports the patch.

Co-authored-by: Antonio Barcelos <[email protected]>
Co-authored-by: grant lodge <[email protected]>
Co-authored-by: Florent Biville <[email protected]>
Co-authored-by: Dmitriy Tverdiakov <[email protected]>
bigmontz added a commit that referenced this pull request Jun 22, 2022
The structures with signature `0x46` and `0x66` are being replaced by `0x49` and `0x69`. This new structures changes the meaning of seconds and nano seconds from `adjusted Unix epoch`  to `UTC`.

This changes have with goal of avoiding un-existing or ambiguous ZonedDateTime to be received or sent over Bolt.

Bolt v4.3 and v4.4 were patched to support this feature if the server supports the patch.

Co-authored-by: Rouven Bauer <[email protected]>
Co-authored-by: grant lodge <[email protected]>
Co-authored-by: Florent Biville <[email protected]>
Co-authored-by: Dmitriy Tverdiakov <[email protected]>
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.

4 participants