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.
This PR contains the following updates:
v3
->v4
5.5.0
->6.0.0
8.3.0
->9.0.0
2.6.0
->3.0.0
Release Notes
actions/checkout (actions/checkout)
v4
Compare Source
xacrimon/dashmap (dashmap)
v6.0.1
Compare Source
This is a patch release, now the main release for v6 as v6.0.0 was yanked shortly after release.
Thanks to @JesusGuzmanJr for notifying me about a critical bug that was introduced so that I could resolve it: #304.
PRs for this release: #305 + xacrimon/dashmap@d5c8be6
v6.0.0
Compare Source
This release contains performance optimizations, most notably 10-40% gains on Apple Silicon but also 5-10% gains when measured in Intel Sapphire Rapids. This work was accomplished in:
Minor QoL improvements were made in:
Special to the following contributors for making this release possible:
v5.5.3
Compare Source
v5.5.2
Compare Source
This release merely reverts #259 since it introduced data race violations. We'll look into this more in the coming time and try to investigate why and how to gain back the additional 0.5%-ish lost performance. Additionally, v5.5.1 has been yanked.
Thanks to @Turbo87 and the crates.io team for reporting this issue.
v5.5.1
Compare Source
This release includes a couple of internal changes such as committing
Cargo.lock
as well as minor optimizations to lookup performance.Keats/jsonwebtoken (jsonwebtoken)
v9.3.0
Compare Source
Validation.reject_tokens_expiring_in_less_than
, the opposite of leewayv9.2.0
Compare Source
aud
in the Validation structv9.1.0
Compare Source
v9.0.0
Compare Source
mongodb/mongo-rust-driver (mongodb)
v3.0.1
Compare Source
The MongoDB Rust driver team is pleased to announce the v3.0.1 release of the
mongodb
crate, now available for download from crates.io.This release fixes two bugs:
Collection::watch
didn't use theCollection
's type parameterFull Release Notes
Bugfixes
v3.0.0
Compare Source
The MongoDB Rust driver team is pleased to announce the v3.0.0 release of the
mongodb
crate, now available for download from crates.io.Highlighted Changes
Breaking Changes
3.0 introduces a wide variety of improvements that required backwards-incompatible API changes; in most cases these changes should require only minor updates in application code.
Most notably:
EventHandler
type, which can be constructed from a callback, async callback, or an async channel sender.tokio
; support forasync-std
has been discontinued.For detailed information on breaking changes and examples of migrating from 2.x to 3.0, please see the migration guide.
Bulk Write
The Rust driver now implements the new Bulk Write specification, which supports performing mixed write operations against multiple namespaces in a minimized number of round-trips to the server. This feature is only available for early testing using MongoDB 8.0 release candidate binaries. This feature is not recommended for use in production until the stable release of MongoDB 8.0.
OIDC Authentication
The Rust driver can now authenticate using an OpenID Connect access token, including support for both the machine and human authentication flows, and automatic token acquisition for Azure and GCP.
Included Changes
Below are a selected list of other changes with user impact; for a full list of changes see this GitHub query.
Breaking Changes
New Features
Improvements
Bugfixes
v2.8.2
Compare Source
The MongoDB Rust driver team is pleased to announce the v2.8.2 release of the
mongodb
crate, now available for download from crates.io.This release fixes a potential issue when serializing messages.
Full Release Notes
Improvements
OP_MSG
payload type 1) (#1009)Bugfixes
v2.8.1
Compare Source
The MongoDB Rust driver team is pleased to announce the v2.8.1 release of the
mongodb
crate, now available for download from crates.io.This release fixes two bugs:
Full Release Notes
Bugfixes
v2.8.0
Compare Source
The MongoDB Rust driver team is pleased to announce the v2.8.0 release of the
mongodb
crate, now available for download from crates.io.Highlighted Changes
Search Index Management Helpers
The
Collection
type now has thecreate_search_index
,create_search_indexes
,update_search_index
,drop_search_index
, andlist_search_indexes
methods, allowing comprehensive management of search indexes from client code.Reliability Improvements
More error types will be automatically retried, and retries will avoid mongos backends with network connectivity issues. Also note that the documentation for
with_transaction
has been updated to clarify error handling requirements to avoid a deadlock.Included Changes
Below are a selected list of changes with user impact; for a full list of changes see this GitHub query.
New Features
Improvements
Operation::build
(#942)MSRV-Cargo.lock
(#981) (thanks @stIncMale!)GetMoreProvider
trait into a generic struct (#983) (thanks @stIncMale!)Bugfixes
v2.7.1
Compare Source
The MongoDB Rust driver team is pleased to announce the v2.7.1 release of the
mongodb
crate, now available for download from crates.io.This release fixes a bug that caused a memory leak in various circumstances.
Full Release Notes
Bugfixes
v2.7.0
Compare Source
The MongoDB Rust driver team is pleased to announce the v2.7.0 release of the
mongodb
crate, now available for download from crates.io.The Rust driver documentation is now hosted at https://www.mongodb.com/docs/drivers/rust/current/. This documentation includes detailed content about features, runnable examples, troubleshooting resources, and more.
Highlighted Changes
Serialization Behavior Change
When serializing values via serde, the serializer can indicate whether or not the target format is human-readable, allowing types to change behavior based on that. The Rust driver had inadvertently been serializing values given to
find_one_and_replace
andreplace_one
as human-readible when all other methods serialize as non-human-readible; this bug is fixed in 2.7.0, with those methods also serializing as non-human-readible.However, it is potentially possible (if unlikely) that user code may rely on this bug. If your code does rely on human-readable serialization, you can specify that via the new
human_readable_serialization
field inCollectionOptions
.run_cursor_command
The Rust driver provides the
run_command
method as a way for users to directly send bson commands to the server; this is particularly useful when the driver does not yet have support for a newly-added server command. However, using this with commands that return a cursor requires re-implementing the logic for cursor iteration, which can be tedious and error-prone. The newrun_cursor_command
method avoids those problems, directly returning aCursor
using the same iteration logic as other methods.SDAM Logging
The Rust driver will now log SDAM events when using the
tracing-unstable
feature.Client Management
The
Client
type now provides three additional ways to shape behavior to fit your workload:ClientOptions.max_connecting
lets you specify how many "in flight" connections can be established in parallel. This was previously fixed at 2 and defaults to the same value.Client::warm_connection_pool
will create new connections to bring the connection pool up tomin_pool_size
, which can provide more predictable performance in some circumstances.Client::shutdown
will cleanly stop background tasks and wait for outstanding handles to be dropped. This is particularly useful when using event handlers that reference external resources, as otherwise those handlers may be invoked in a background task even after theClient
has been dropped.Included Changes
Below are a selected list of changes with user impact; for a full list of changes see this GitHub query.
New Features
Improvements
Bugfixes
v2.6.1
Compare Source
The MongoDB Rust driver team is pleased to announce the v2.6.1 release of the
mongodb
crate, now available for download from crates.io. This release removes a potential panic from theSessionCursor::with_type
method.Included Changes
Bugfixes
SessionCursor::with_type
is called (#928) (thank you @mlokr for this fix!)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.