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

chore(5.x): release 5.9.1 [skip-ci] #3878

Merged
merged 1 commit into from
Oct 20, 2023

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Sep 29, 2023

🌱 A new release!

5.9.1 (2023-10-18)

The MongoDB Node.js team is pleased to announce version 5.9.1 of the mongodb package!

Release Notes

insertedIds in bulk write now contain only successful insertions

Prior to this fix, the bulk write error's result.insertedIds property contained the _id of each attempted insert in a bulk operation.

Now, when a bulkwrite() or an insertMany() operation rejects one or more inserts, throwing an error, the error's result.insertedIds property will only contain the _id fields of successfully inserted documents.

Fixed edge case leak in findOne()

When running a findOne against a time series collection, the driver left the implicit session for the cursor un-ended due to the way the server returns the resulting cursor information. Now the cursor will always be cleaned up regardless of the outcome of the find operation.

Bug Fixes

Documentation

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


@github-actions github-actions bot force-pushed the release-please--branches--5.x--components--mongodb branch 2 times, most recently from 16c175e to f06d957 Compare October 6, 2023 15:04
@github-actions github-actions bot force-pushed the release-please--branches--5.x--components--mongodb branch 2 times, most recently from c1b3fb7 to 013f105 Compare October 17, 2023 14:19
@github-actions github-actions bot force-pushed the release-please--branches--5.x--components--mongodb branch from 013f105 to d60b8f1 Compare October 18, 2023 18:55
@W-A-James W-A-James merged commit 0c16582 into 5.x Oct 20, 2023
@W-A-James W-A-James deleted the release-please--branches--5.x--components--mongodb branch October 20, 2023 15:03
@github-actions
Copy link
Contributor Author

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.

1 participant