Skip to content

Conversation

W-A-James
Copy link
Contributor

@W-A-James W-A-James commented Mar 6, 2025

Description

What is changing?

Is there new documentation needed for these changes?

What is the motivation for this change?

Release Highlight

⚠️ Fixed potential data corruption bug when useBigInt64 is enabled

After refactoring to improve deserialization performance in #649, we inadvertently introduced a bug that manifested when deserializing Long values with the useBigInt64 flag enabled. The bug would lead to negative Long values being deserialized as unsigned integers. This issue has been resolved here.

Thanks to @rkistner for reporting this bug!

Double check the following

  • Ran npm run check:lint script
  • Self-review completed using the steps outlined here
  • PR title follows the correct format: type(NODE-xxxx)[!]: description
    • Example: feat(NODE-1234)!: rewriting everything in coffeescript
  • Changes are covered by tests
  • New TODOs have a related JIRA ticket
@W-A-James W-A-James changed the title fix(NODE-6764): incorrect negative bigint handling fix(NODE-6826): incorrect negative bigint handling Mar 6, 2025
@W-A-James W-A-James marked this pull request as ready for review March 6, 2025 16:30
@baileympearson baileympearson merged commit 66af3fe into v6.5.x Mar 6, 2025
1 check failed
@baileympearson baileympearson deleted the NODE-6764-6.5.x branch March 6, 2025 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants