Skip to content

Bump MongoDB.Driver from 3.6.0 to 3.8.0#282

Merged
github-actions[bot] merged 1 commit into
devfrom
dependabot/nuget/dev/all-actions-9b160b8333
May 11, 2026
Merged

Bump MongoDB.Driver from 3.6.0 to 3.8.0#282
github-actions[bot] merged 1 commit into
devfrom
dependabot/nuget/dev/all-actions-9b160b8333

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 10, 2026

Copy link
Copy Markdown
Contributor

Pinned MongoDB.Driver at 3.8.0.

Release notes

Sourced from MongoDB.Driver's releases.

3.8.0

This is the general availability release for the 3.8.0 version of the driver.

The main new features in 3.8.0 include:

[!IMPORTANT]
Added support for MongoDB ’s Intelligent Workload Management (IWM) and ingress connection rate limiting features. The driver now gracefully handles write-blocking scenarios and optimizes connection establishment during high-load conditions to maintain application availability. More details in CSHARP-5802: Client Backpressure Support

  • CSHARP-5882: Support storedSource in vector search indexes and returnStoredSource in $vectorSearch queries
  • CSHARP-5769: Implement hasAncestor, hasRoot, and returnScope for Atlas Search
  • CSHARP-5646: Implement vector similarity match expressions
  • CSHARP-5762: MongoDB Vector Search now supports vector search against nested embeddings and arrays of embeddings.
  • CSHARP-5884: Add new fields for Auto embedding in Atlas Vector search indexes

MongoDB v8.3 Compatible Features:

  • CSHARP-5852: Expression to determine the subtype of BinData field
  • CSHARP-5713: Allow native conversion from string to BSON object
  • CSHARP-5949: $convert should allow any type to be converted to string
  • CSHARP-5818: Allow users to generate a hash from a UTF-8 string or binary data
  • CSHARP-5950: Support base conversion in $convert
  • CSHARP-5847: Support Select/SelectMany/Where index overloads in LINQ provider
  • CSHARP-5828: Add Rerank stage builder
  • CSHARP-5656: Support Aggregation Operator to generate random object ids
  • CSHARP-5973: Support SkipWhile/TakeWhile index overloads in LINQ provider
  • CSHARP-5825: Support (de)serialization between BSON and EJSON
  • CSHARP-5655: Support regular expressions in $replaceAll search string and $split delimiter

Improvements:

  • CSHARP-5887: Simplify retryable read and writes
  • CSHARP-2593: Add numeric error code to default error message in NativeMethods.CreateException
  • CSHARP-2150: Add check that the serializer's ValueType matches the type when registering the serializer

Fixes:

  • CSHARP-5947: Increase SingleServerReadBinding timeout
  • CSHARP-2862: Check that max pool size is never less than min pool size in connection string
  • CSHARP-5935: Command activities may be skipped when using pooled connection
  • CSHARP-5952: SerializerFinder resolve wrong serializer for BsonDocument members

Maintenance:

The full list of issues resolved in this release is available at CSHARP JIRA project.

Documentation on the .NET driver can be found here.

3.7.1

This is a patch release that contains fixes and stability improvements:

  • CSHARP-5916: ExpressionNotSupportedException when a $set stage expression references a member of a captured constant
  • CSHARP-5918: ExpressionNotSupportedException when a $set stage expression uses ToList method
  • CSHARP-5917: Mql.Field should lookup for default serializer if null is provided as a bsonSerializer parameter
  • CSHARP-5920: SerializerFinder wrapping serializer into Upcast/Downcast serializer breaks some expressions translation
  • CSHARP-5905: Fix bug when using EnumRepresentationConvention or ObjectSerializerAllowedTypesConvention
  • CSHARP-5928: LINQ Provider throws misleading exception if expression translation is not supported
  • CSHARP-5929: Improve SerializerFinder to proper handling of IUnknowableSerializer

The full list of issues resolved in this release is available at CSHARP JIRA project.

Documentation on the .NET driver can be found here.

3.7.0

This is the general availability release for the 3.7.0 version of the driver.

The main new features in 3.7.0 include:

  • CSHARP-3124: OpenTelemetry implementation
  • CSHARP-5736: Expose atClusterTime parameter in snapshot sessions
  • CSHARP-5805: Add support for server selection's deprioritized servers to all topologies
  • CSHARP-5712: WithTransaction API retries too frequently
  • CSHARP-5836: Support new Reverse with array overload introduced by .NET 10
  • CSHARP-4566: Support filters comparing nullable numeric or char field to constant
  • CSHARP-5606: Support ConvertChecked as well as Convert

Improvements:

  • CSHARP-5841: Rewrite $elemMatch with $or referencing implied element due to server limitations
  • CSHARP-5572: Implement new SerializerFinder
  • CSHARP-5861: Use ConnectAsync in synchronous code-path to avoid dead-locks
  • CSHARP-5876: Convert some disposer classes to structs
  • CSHARP-5889: Optimize comparison with nullable constant translation
  • CSHARP-5890: Avoid byte array allocations writing Int64, Double, Decimal128 in ByteBufferStream
  • CSHARP-5888: Optimize CommandEventHelper to avoid redundant message decoding

Fixes:

  • CSHARP-5564: Enum with ushort underlying type is not serialized correctly
  • CSHARP-5654: String.IndexOf comparisons to -1 return incorrect results
  • CSHARP-5866: Avoid raising ClusterDescriptionChangedEvent on unchanged DNS records update
  • CSHARP-5850: Use of an untranslatable property reference in a LINQ expression should be executed client-side
  • CSHARP-5863: The built-in IPAddressSerializer throws when using IPAddress.Any, etc
  • CSHARP-5877: Fix First/Last field path in GroupBy optimizer when source is wrapped
  • CSHARP-5894: Deadlock during concurrent BsonClassMap initialization

The full list of issues resolved in this release is available at CSHARP JIRA project.

Documentation on the .NET driver can be found here.

Commits viewable in compare view.

@dependabot dependabot Bot added dependencies nuget Dependabot NuGet dependency updates labels May 10, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🤖 Dependency Update PR

This PR was opened by dependabot[bot] and has been automatically labeled for Boromir (DevOps) to review.

Labels applied:

  • squad:boromir — Assigned to DevOps for dependency updates
  • squad — In triage queue

Dependency and infrastructure updates are owned by the DevOps team.

@github-actions github-actions Bot added squad Squad triage inbox — Lead will assign to a member squad:boromir Assigned to Boromir (DevOps / Infra) labels May 10, 2026
@github-actions
github-actions Bot enabled auto-merge (squash) May 10, 2026 16:10
@github-actions

github-actions Bot commented May 10, 2026

Copy link
Copy Markdown
Contributor

Test Results Summary

341 tests  ±0   340 ✅ ±0   19s ⏱️ ±0s
  6 suites ±0     1 💤 ±0 
  6 files   ±0     0 ❌ ±0 

Results for commit 48d7952. ± Comparison against base commit f680a57.

♻️ This comment has been updated with latest results.

@mpaulosky

Copy link
Copy Markdown
Owner

Refreshing this branch so CI can evaluate the package update cleanly.\n\n@dependabot rebase

@dependabot @github

dependabot Bot commented on behalf of github May 10, 2026

Copy link
Copy Markdown
Contributor Author

Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!

If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@mpaulosky
mpaulosky disabled auto-merge May 10, 2026 23:19
@codecov

codecov Bot commented May 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.21%. Comparing base (3215029) to head (bf8e098).
⚠️ Report is 1 commits behind head on dev.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev     #282   +/-   ##
=======================================
  Coverage   86.21%   86.21%           
=======================================
  Files          44       44           
  Lines        1103     1103           
  Branches      132      132           
=======================================
  Hits          951      951           
  Misses        100      100           
  Partials       52       52           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions
github-actions Bot enabled auto-merge (squash) May 11, 2026 00:26
@mpaulosky

Copy link
Copy Markdown
Owner

🤖 Boromir triage — PR #282

Summary of changes (effective diff against current dev):

  • Directory.Packages.props: MongoDB.Driver 3.6.0 → 3.8.0 ✅ valid
  • src/AppHost/AppHost.csproj: adds <PackageReference Include="MongoDB.Driver" /> ⚠️ spurious

Why CI is blocked:

Same root cause as #281: subsequent "Merge branch dev" merge commits were pushed by github-actions[bot], which doesn't trigger CI. The initial commit (dbbe64ae) ran CI but failed at dotnet restore.

Root cause of restore failure (initial commit):

The restore failure on the initial commit is most likely caused by the AppHost.csproj change. AppHost is an Aspire orchestration project — it uses Aspire.Hosting.MongoDB for orchestration and does not call into MongoDB.Driver types directly. Adding an explicit <PackageReference Include="MongoDB.Driver" /> to AppHost.csproj is incorrect; the driver is a transitive dependency of Aspire.Hosting.MongoDB and does not belong as a direct reference here.

There may also be a version-range incompatibility between MongoDB.Driver 3.8.0 and Aspire.Hosting.MongoDB 13.3.0 that surfaces only when the reference is made explicit in the AppHost, which would explain the dotnet restore failure.

Recommended action:

@dependabot recreate

This will produce a clean PR that only touches Directory.Packages.props. If the version bump itself is compatible with Aspire.Hosting.MongoDB 13.3.0, CI will pass. If not, the failure will be a clear restore/compat error on the NuGet change alone — at which point we can either ignore the bump until Aspire ships compatibility or pin appropriately.

@dependabot dependabot Bot changed the title Bump the all-actions group with 1 update Bump MongoDB.Driver from 3.6.0 to 3.8.0 May 11, 2026
@dependabot
dependabot Bot force-pushed the dependabot/nuget/dev/all-actions-9b160b8333 branch from 4872a54 to 77a124c Compare May 11, 2026 01:00
@mpaulosky

Copy link
Copy Markdown
Owner

@dependabot recreate

---
updated-dependencies:
- dependency-name: MongoDB.Driver
  dependency-version: 3.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/nuget/dev/all-actions-9b160b8333 branch from 6150db1 to bf8e098 Compare May 11, 2026 01:13
@github-actions
github-actions Bot merged commit 4a9b754 into dev May 11, 2026
12 checks passed
@dependabot
dependabot Bot deleted the dependabot/nuget/dev/all-actions-9b160b8333 branch May 11, 2026 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies nuget Dependabot NuGet dependency updates squad:boromir Assigned to Boromir (DevOps / Infra) squad Squad triage inbox — Lead will assign to a member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant