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:
- CSHARP-5957: Bump maxWireVersion to 9.0
The full list of issues resolved in this release is available at CSHARP JIRA project.
Documentation on the .NET driver can be found here.