Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jul 19, 2024

🌱 A new release!

6.9.0 (2024-10-15)

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

Release Notes

Timestamp now has t and i properties

To make this type a bit easier to use we are surfacing the breakdown of the two internal 32 bit segments of a Timestamp value.

const ts = new Timestamp({ i: 2, t: 1 }); ts.i // 2 ts.t // 1

ObjectId.isValid(string) performance improvement

Often used to validate whether a hex string is the correct length and proper format before constructing an ObjectId for querying, the isValid function will validate strings much faster than before. Many thanks to @SeanReece for the contribution!

Serialization performance improved.

Optimizations have been implemented with respect to BSON serialization across the board, resulting in up to 20% gains in serialization with a sample of MFlix documents. Thanks again to @SeanReece for the contribution!

Features

Performance Improvements

Documentation

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


@github-actions github-actions bot force-pushed the release-please--branches--main--components--bson branch from cd4b1e6 to a5a2880 Compare August 8, 2024 14:59
@github-actions github-actions bot force-pushed the release-please--branches--main--components--bson branch from a5a2880 to 055bd03 Compare August 28, 2024 15:38
@github-actions github-actions bot force-pushed the release-please--branches--main--components--bson branch 3 times, most recently from bc52e86 to aaf02af Compare September 11, 2024 13:55
@github-actions github-actions bot force-pushed the release-please--branches--main--components--bson branch 2 times, most recently from cc83f84 to 953ff6e Compare September 17, 2024 15:35
@github-actions github-actions bot force-pushed the release-please--branches--main--components--bson branch from 953ff6e to d57c06d Compare October 15, 2024 23:23
@nbbeeken
Copy link
Contributor

run release_notes

@nbbeeken nbbeeken merged commit 5f6bbf0 into main Oct 21, 2024
@nbbeeken nbbeeken deleted the release-please--branches--main--components--bson branch October 21, 2024 19:30
Copy link
Contributor Author

🤖 Created releases:

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

1 participant