Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Mar 5, 2025

🌱 A new release!

6.4.1 (2025-03-05)

The MongoDB Node.js team is pleased to announce version 6.4.1 of the bson package!

Release Notes

⚠️ 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.

Fixed float byte-wise handling on big-endian systems

Caution

Among the platforms BSON and the MongoDB driver support this issue impacts s390x big-endian systems. x86, ARM, and other little-endian systems are not affected. Existing versions of the driver can be upgraded to this release.

A change in BSON@6.4.0 (2024-02-29) started parsing and serializing floats using a Float64Array. When reading the bytes from this array the ordering is dependent on the platform it is running on and we now properly account for that ordering.

Bug Fixes

Documentation

We invite you to try the bson library immediately, and report any issues to the NODE project.


@baileympearson
Copy link
Contributor

run release_notes

@github-actions github-actions bot force-pushed the release-please--branches--v6.4.x--components--bson branch from b5376ee to 12eafd7 Compare March 5, 2025 23:05
@github-actions github-actions bot force-pushed the release-please--branches--v6.4.x--components--bson branch from 12eafd7 to 2ce1025 Compare March 5, 2025 23:10
@baileympearson
Copy link
Contributor

run release_notes

@nbbeeken nbbeeken merged commit 901343a into v6.4.x Mar 5, 2025
@nbbeeken nbbeeken deleted the release-please--branches--v6.4.x--components--bson branch March 5, 2025 23:15
@github-actions
Copy link
Contributor Author

github-actions bot commented Mar 5, 2025

🤖 Created releases:

🌻

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants