Skip to content

.NET Driver Version 3.4.0 Release Notes

Latest
Compare
Choose a tag to compare
@sanych-sun sanych-sun released this 01 May 20:13
d6840c3

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.