Skip to content

Releases: mongodb/mongo-csharp-driver

.NET Driver Version 2.25.0 Release Notes

12 Apr 22:08
46eafc9
Compare
Choose a tag to compare

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

NOTICE: MongoDB 3.6 reached end-of-life in April 2021. The .NET/C# Driver will be removing support for MongoDB 3.6 in an upcoming release.

The main new features in 2.25.0 include:

  • Support of MONGODB-OIDC Authentication mechanism - CSHARP-4448
  • MONGODB-OIDC: Automatic token acquisition for Azure Identity Provider - CSHARP-4474
  • Improved error message when no matching constructor found - CSHARP-5007
  • Driver Container and Kubernetes Awareness - CSHARP-4718
  • Logging of executed MQL for a LINQ query - CSHARP-4684
  • Allow custom service names with srvServiceName URI option - CSHARP-3745
  • BulkWrite enumerates requests argument only once - CSHARP-1378
  • Support of Range Explicit Encryption - CSHARP-5009
  • Multiple bug fixes and improvements.

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

Documentation on the .NET driver can be found here.

.NET Driver Version 2.24.0 Release Notes

21 Feb 19:15
Compare
Choose a tag to compare

.NET Driver Version 2.24.0 Release Notes

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

The main new features in 2.24.0 include:

  • New DistinctMany method in IMongoCollection
  • Support for latest $dateFromString optional arguments
  • ExceededTimeLimit server error is now retryable for reads as well as writes
  • Support sort by score in $search stage
  • New custom method to test if a field exists or is missing in LINQ (Mql.Exists, Mql.IsMissing, Mql.IsNullOrMissing)
  • Enable TLS 1.3 support
  • Fix a GridFS error when attempting to upload a GridFS file with a duplicate id and the new file is smaller than the original file
  • Add support for Atlas Search $in operator
  • Add support for IComparable CompareTo method in LINQ queries
  • Add VectorSearchScore builder for $vectorSearch stage
  • Update libmongocrypt package version
  • Support for nested AsQueryable in LINQ queries (not a common use case but legal, primarily added for use by the EF Core Provider)
  • Updated authentication to occur over OP_MSG on supporting servers to improve MongoDB Atlas Serverless compatibility
  • Use polling monitoring when running within a FaaS environment such as AWS Lambda
  • Fixed segfault in Kerberos (libgssapi) on newer Linux distros

An online version of these release notes is available here.

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

Documentation on the .NET driver can be found here.

.NET Driver Version 2.23.2 Release Notes

20 Feb 23:20
Compare
Choose a tag to compare

This is a patch release that addresses some issues reported since 2.23.1 was released.

An online version of these release notes is available here.

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

Documentation on the .NET driver can be found here.

Upgrading

There are no known backwards breaking changes in this release.

.NET Driver Version 2.23.1 Release Notes

15 Dec 19:43
f41c21e
Compare
Choose a tag to compare

This is a patch release that addresses some issues reported since 2.23.0 was released.

An online version of these release notes is available here.

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

Documentation on the .NET driver can be found here.

Upgrading

There are no known backwards breaking changes in this release.

.NET Driver Version 2.23.0 Release Notes

12 Dec 00:12
Compare
Choose a tag to compare

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

The main new features in 2.23.0 include:

An online version of these release notes is available here.

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

Documentation on the .NET driver can be found here.

.NET Driver Version 2.22.0 Release Notes

09 Oct 22:29
Compare
Choose a tag to compare

.NET Driver Version 2.22.0 Release Notes

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

The main new features in 2.22.0 include:

  • LINQ3 bug fixes and improvements
  • Support for $set aggregation stage
  • Added synonym support for Atlas Search
  • Support for $vectorSearch aggregation stage
  • Reduced memory allocations when using encryption
  • Additional logging messages

An online version of these release notes is available here.

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

Documentation on the .NET driver can be found here.

.NET Driver Version 2.21.0 Release Notes

10 Aug 17:31
5a9c331
Compare
Choose a tag to compare

.NET Driver Version 2.21.0 Release Notes

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

The main new features in 2.21.0 include:

  • LINQ3 bug fixes and improvements
  • Atlas Search sort, tracking, score details options added
  • Atlas Search embeddedDocuments operator support
  • Atlas Search index mangement API added
  • Anonymous types added to default AllowedTypes in ObjectSerializer

Atlas Search minor breaking change

All Render methods in Atlas Search builders have a new signature:

Render(IBsonSerializer<TDocument> documentSerializer, IBsonSerializerRegistry serializerRegistry)

Changed to

Render(SearchDefinitionRenderContext<TDocument> renderContext)

An online version of these release notes is available here.

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

Documentation on the .NET driver can be found here.

.NET Driver Version 2.20.0 Release Notes

21 Jun 18:36
b3ea9e1
Compare
Choose a tag to compare

.NET Driver Version 2.20.0 Release Notes

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

The main new features in 2.20.0 include:

  • Support for MongoDB server version 7.0.0
  • Support for equality query types in Queryable Encryption GA
  • LINQ3 bug fixes and improvements
  • Serialization bug fixes and improvements
  • Logging improvements

An online version of these release notes is available here.

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

Documentation on the .NET driver can be found here.

.NET Driver Version v2.19.2 Release Notes

25 May 00:54
Compare
Choose a tag to compare

.NET Driver Version 2.19.2 Release Notes

This is a patch release that addresses some issues reported since 2.19.1 was released.

An online version of these release notes is available here.

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

Documentation on the .NET driver can be found here.

Upgrading

There are no known backwards breaking changes in this release.

.NET Driver Version 2.19.1 Release Notes

27 Mar 17:58
Compare
Choose a tag to compare

.NET Driver Version 2.19.1 Release Notes

This is a patch release that addresses some issues reported since 2.19.0 was released.

An online version of these release notes is available here.

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

Documentation on the .NET driver can be found here.

Upgrading

There are no known backwards breaking changes in this release.