Skip to content
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

feat(NODE-5564): bump bson version to ^5.5.0 #3865

Merged
merged 1 commit into from
Sep 14, 2023
Merged

feat(NODE-5564): bump bson version to ^5.5.0 #3865

merged 1 commit into from
Sep 14, 2023

Conversation

W-A-James
Copy link
Contributor

@W-A-James W-A-James commented Sep 14, 2023

Description

What is changing?

Bump bson dependency version to 5.5 to make use of new Decimal128 behaviour.

Is there new documentation needed for these changes?

Just release notes

What is the motivation for this change?

NODE-5564

Release Highlight

Bumped bson version to make use of new Decimal128 behaviour

In this release, we have adopted the changes made to Decimal128 in bson version 5.5. The Decimal128 constructor and fromString() methods now throw when detecting a loss of precision (more than 34 significant digits). We also expose a new fromStringWithRounding() method which restores the previous rounding behaviour.

See the bson v5.5.0 release notes for more information.

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 marked this pull request as ready for review September 14, 2023 18:33
@nbbeeken nbbeeken self-assigned this Sep 14, 2023
@nbbeeken nbbeeken added the Primary Review In Review with primary reviewer, not yet ready for team's eyes label Sep 14, 2023
@nbbeeken nbbeeken changed the title chore(NODE-5564): bump bson version chore(NODE-5564): bump bson version to ^5.5.0 Sep 14, 2023
@W-A-James W-A-James changed the title chore(NODE-5564): bump bson version to ^5.5.0 feat(NODE-5564): bump bson version to ^5.5.0 Sep 14, 2023
@nbbeeken nbbeeken merged commit dc110e0 into 5.x Sep 14, 2023
@nbbeeken nbbeeken deleted the NODE-5564 branch September 14, 2023 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Primary Review In Review with primary reviewer, not yet ready for team's eyes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants