-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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(main): release 6.4.0 [skip-ci] #3935
Merged
nbbeeken
merged 1 commit into
main
from
release-please--branches--main--components--mongodb
Feb 29, 2024
Merged
chore(main): release 6.4.0 [skip-ci] #3935
nbbeeken
merged 1 commit into
main
from
release-please--branches--main--components--mongodb
Feb 29, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
run release_notes |
1 similar comment
run release_notes |
github-actions
bot
force-pushed
the
release-please--branches--main--components--mongodb
branch
from
November 29, 2023 21:44
75ce6b2
to
b898b19
Compare
run release_notes |
github-actions
bot
force-pushed
the
release-please--branches--main--components--mongodb
branch
3 times, most recently
from
December 5, 2023 19:15
a5c793f
to
9150237
Compare
github-actions
bot
changed the title
chore(main): release 6.3.1 [skip-ci]
chore(main): release 6.4.0 [skip-ci]
Dec 6, 2023
github-actions
bot
force-pushed
the
release-please--branches--main--components--mongodb
branch
4 times, most recently
from
December 13, 2023 12:16
377b490
to
067c64a
Compare
github-actions
bot
force-pushed
the
release-please--branches--main--components--mongodb
branch
4 times, most recently
from
December 20, 2023 16:20
3d44ee2
to
7d49f45
Compare
github-actions
bot
force-pushed
the
release-please--branches--main--components--mongodb
branch
3 times, most recently
from
January 9, 2024 15:12
0dd14c5
to
8b682e2
Compare
github-actions
bot
force-pushed
the
release-please--branches--main--components--mongodb
branch
from
January 12, 2024 14:57
8b682e2
to
b122829
Compare
run release_notes |
github-actions
bot
force-pushed
the
release-please--branches--main--components--mongodb
branch
7 times, most recently
from
January 25, 2024 14:30
faec2c7
to
cc73bc0
Compare
github-actions
bot
force-pushed
the
release-please--branches--main--components--mongodb
branch
from
January 26, 2024 16:44
cc73bc0
to
13c4289
Compare
github-actions
bot
force-pushed
the
release-please--branches--main--components--mongodb
branch
4 times, most recently
from
February 1, 2024 22:03
75c88ee
to
06b6bec
Compare
github-actions
bot
force-pushed
the
release-please--branches--main--components--mongodb
branch
from
February 8, 2024 16:51
06b6bec
to
8cbe74f
Compare
run release_note |
run release_notes |
github-actions
bot
force-pushed
the
release-please--branches--main--components--mongodb
branch
3 times, most recently
from
February 15, 2024 16:50
e45ad7b
to
38b37c8
Compare
github-actions
bot
force-pushed
the
release-please--branches--main--components--mongodb
branch
5 times, most recently
from
February 23, 2024 15:36
6c86262
to
6a71823
Compare
github-actions
bot
force-pushed
the
release-please--branches--main--components--mongodb
branch
3 times, most recently
from
February 28, 2024 17:34
959000a
to
2ec1b88
Compare
run release_notes |
github-actions
bot
force-pushed
the
release-please--branches--main--components--mongodb
branch
from
February 29, 2024 19:07
2ec1b88
to
6666028
Compare
run release_notes |
nbbeeken
deleted the
release-please--branches--main--components--mongodb
branch
February 29, 2024 19:59
aditi-khare-mongoDB
pushed a commit
that referenced
this pull request
Mar 6, 2024
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🌱 A new release!
6.4.0 (2024-02-29)
The MongoDB Node.js team is pleased to announce version 6.4.0 of the
mongodb
package!Release Notes
Server selection will use a different Mongos on retry
When retrying reads or writes on a sharded cluster, the driver will attempt to select a different mongos for the retry if multiple are present. This should heuristically avoid encountering the original error that caused the need to retry the operation.
Caching AWS credentials provider per client
Instead of creating a new AWS provider for each authentication, we cache the AWS credentials provider per client to prevent overwhelming the auth endpoint and ensure that cached credentials are not shared with other clients.
BSON upgraded to
^6.4.0
BSON has had a number of performance increases in the last two releases (6.3.0 and 6.4.0). Small basic latin (ASCII) only strings, small memory allocations (ObjectId and Decimal128) and numeric parsing operations (int32, doubles, and longs) have all had optimizations applied to them.
For details check out the release notes here: BSON 6.3.0 and BSON 6.4.0 🐎
ExceededTimeLimit was made a retryable reads error
The reading operations will be resumed after receiving the
ExceededTimeLimit
error.Fixed unresolved request issue in KMS requester
Internal to the field-level encryption machinery is a helper that opens a TLS socket to the KMS provider endpoint and submits a KMS request. The code neglected to add a
'close'
event listener to the socket, which had the potential to improperly leave the promise pending indefinitely if no error was encountered.The base64 padding is now preserved in the saslContinue command
The authentication was rejected by the saslContinue command from mongosh due to missing "=" padding from the client. We fixed the way we parse payload to preserve trailing "="s.
countDocuments
now types the filter using the collection SchemaPreviously,
countDocuments
had a weakly typedDocument
type for the filter allowing any JS object as input. The filter is now typed asFilter<Schema>
to enable autocompletion, and, hopefully, catch minor bugs.Thank you to @pashok88895 for contributing to this improvement.
The type error with
$addToSet
inbulkWrite
was fixedPreviously the following code sample would show a type error:
It happened because the driver's
Document
type falls back toany
, and internally we could not distinguish whether or not this assignment was intentional and should be allowed.After this change, users can extend their types from
Document
/any
, or use properties ofany
type and we skip the$addToSet
validation in those cases.Fixed heartbeat duration including socket creation
The ServerHeartbeatSucceeded and ServerHeartbeatFailed event have a duration property that represents the time it took to perform the
hello
handshake with MongoDB. The Monitor responsible for issuing heartbeats mistakenly included the time it took to create the socket in this field, which inflates the value with the time it takes to perform a DNS lookup, TCP, and TLS handshakes.Errors on cursor transform streams are now properly propagated.
These were previously swallowed and now will be emitted on the
error
event:The AWS token is now optional
Users may provide an
AWS_SESSION_TOKEN
as a client option or AWS configuration in addition to a username and password. But if the token is not provided, the driver won't throw an exception and let AWS SDK handle the request.Features
^6.4.0
(#4007) (90f2f70)^6.3.0
(#3983) (9401d09)Bug Fixes
Performance Improvements
Documentation
We invite you to try the
mongodb
library immediately, and report any issues to the NODE project.