Skip to content

.NET Driver Version 3.0.0 Release Notes

Latest
Compare
Choose a tag to compare
@sanych-sun sanych-sun released this 16 Oct 21:13
· 14 commits to main since this release
e4b117b

The MongoDB .NET/C# driver team is pleased to announce our v3.0.0 release! The 3.0.0 release incorporates many user-requested fixes and improvements that have been deferred as backwards-incompatible, as well as internal improvements to pay down technical debt and improve maintainability. Additional major changes include removal of a large area of the public API (mainly from MongoDB.Driver.Core), which was not intended for public use. Removed APIs are marked as deprecated in v2.30.0 version.
For all the breaking changes and for the upgrade guidlines, please see the upgrade guide.

The main new features in 3.0.0 include:

  • CSHARP-4904: Adding .NET 6 target framework
  • CSHARP-4916: Removing .NETSTANDARD 2.0 target framework
  • CSHARP-5193: Removing LINQ2 provider
  • CSHARP-5233: Remove IMongoQueryable interface
  • CSHARP-4145: Improved Bulk Write API
  • CSHARP-4763: Client side projections with Find and Select
  • CSHARP-3899: Removing MongoDB.Driver.Legacy package
  • CSHARP-4917: Removing MongoDB.Driver.Core package and various non-user-facing APIs (see v2.30.0 for deprecation messages)
  • CSHARP-5232: Embedding MongoDB.Driver.GridFS package into MongoDB.Driver package
  • CSHARP-4912: Refactoring the Client Side field level description to an optional MongoDB.Driver.Encryption package. MongoDB.Libmongocrypt package is not in use anymore and will not get any further updates
  • CSHARP-4911: Refactoring the AWS authentication to an optional MongoDB.Driver.Authentication.AWS package
  • CSHARP-5291: Removing MONGODB-CR support
  • CSHARP-5263: Removing support for TLS1.0 and 1.1
  • CSHARP-2930: Changing default GUID serialization mode and removing GuidRepresentationMode
  • CSHARP-3717: Adding DateOnly/TimeOnly support

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