Download Latest Version NET Driver Version 3.4.0 Release Notes source code.tar.gz (5.3 MB)
Email in envelope

Get an email when there's a new version of MongoDB C# Driver

Home / v3.4.0
Name Modified Size InfoDownloads / Week
Parent folder
NET Driver Version 3.4.0 Release Notes source code.tar.gz 2025-05-01 5.3 MB
NET Driver Version 3.4.0 Release Notes source code.zip 2025-05-01 10.1 MB
README.md 2025-05-01 2.2 kB
Totals: 3 Items   15.5 MB 0

This is the general availability release for the 3.4.0 version of the driver. ### The main new features in 3.4.0 include: - CSHARP-5551: Support KeyValuePair.Create<TKey,TValue>method in LINQ - CSHARP-5552: Add support for $convert in LINQ - CSHARP-5505: Add $geoNear stage aggregation builders - CSHARP-4935: Support casting from an interface to a type that implements that interface in LINQ queries - CSHARP-4779: Support Dictionary(IEnumerable<KeyValuePair\<TKey, TValue>> collection) constructor in LINQ - CSHARP-5543: Add new options for Atlas Search Text and Phrase operators - CSHARP-4535: Support queries after casting IQueryable\<Derived> to IQueryable\<Base> ### Improvements: - CSHARP-5531: Reduce memory allocations in BsonStreamAdapter.WriteDouble and WriteInt64 - CSHARP-5529: Optimize grouping.First().X to not retrieve the entire $$ROOT ### Fixes: - CSHARP-5540: Fix exception when using AsQueryable().Last() - CSHARP-5471: Incorrectly resolving the authentication mechanism parameters from SRV connection string - CSHARP-5442: Fixed use of serializer by Atlas Search operators

[!NOTE] Driver will start using registered serializers for Atlas Search operators, to continue using the previous behavior use SearchDefinition.UseConfiguredSerializers(false)

The full list of issues resolved in this release is available at CSHARP JIRA project. Documentation on the .NET driver can be found here.

Source: README.md, updated 2025-05-01