NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet
NuGet, #2150 most downloaded on NuGet
This package contains the legacy driver. The new driver's package name is MongoDB.Driver
Latest stable
2.30.0
Last release 2 years ago
no release in 18 months
Ships fairly regularly
a new release about every 2 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
2 versions withdrawn
withdrawn after publishing
127 years old
126 releases · first in 1900
Drag across the ruler to compare, or tap a release to open it.
This is the general availability release for the 2.30.0 version of the driver. Version 2.30.0 of the driver is the last scheduled 2.x release. Further
This is the general availability release for the 2.30.0 version of the driver. Version 2.30.0 of the driver is the last scheduled 2.x release. Further driver development will continue in 3.x versions.
Version 2.30.0 does not introduce new features or bug fixes. The single purpose of 2.30 is to ease the migration to 3.x by marking the public API that was removed in 3.0 as obsolete.
The full list of issues resolved in this release is available at CSHARP JIRA project.
Documentation on the .NET driver can be found here.
This is the general availability release for the 2.29.0 version of the driver.
This is the general availability release for the 2.29.0 version of the driver.
Version 2.29.0 of the driver has been tested against MongoDB Server version 8.0 and adds support for the following new features in server version 8.0:
The following server 8.0 features are not yet supported and will be supported in a later release of the driver:
The full list of issues resolved in this release is available at CSHARP JIRA project.
Documentation on the .NET driver can be found here.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
This is the general availability release for the 2.28.0 version of the driver.
This is the general availability release for the 2.28.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.28.0 include:
The full list of issues resolved in this release is available at CSHARP JIRA project.
Documentation on the .NET driver can be found here.
This is the general availability release for the 2.27.0 version of the driver.
This is the general availability release for the 2.27.0 version of the driver.
The main new features in 2.27.0 include:
The full list of issues resolved in this release is available at CSHARP JIRA project.
Documentation on the .NET driver can be found here.
This is the general availability release for the 2.26.0 version of the driver.
This is the general availability release for the 2.26.0 version of the driver.
The main new features in 2.26.0 include:
The full list of issues resolved in this release is available at CSHARP JIRA project.
Documentation on the .NET driver can be found here.
This is the general availability release for the 2.25.0 version of the driver.
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:
The full list of issues resolved in this release is available at CSHARP JIRA project.
Documentation on the .NET driver can be found here.
This is the general availability release for the 2.24.0 version of the driver.
This is the general availability release for the 2.24.0 version of the driver.
The main new features in 2.24.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.
There are no known backwards breaking changes in this release.
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.
There are no known backwards breaking changes in this release.
There are no known backwards breaking changes in this release.
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.
There are no known backwards breaking changes in this release.
This is the general availability release for the 2.23.0 version of the driver.
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
.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:
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.
This is the general availability release for the 2.21.0 version of the driver.
This is the general availability release for the 2.21.0 version of the driver.
The main new features in 2.21.0 include:
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.
This is the general availability release for the 2.20.0 version of the driver.
This is the general availability release for the 2.20.0 version of the driver.
The main new features in 2.20.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.
There are no known backwards breaking changes in this release.
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.
There are no known backwards breaking changes in this release.
There are no known backwards breaking changes in this release.
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.
There are no known backwards breaking changes in this release.
This version addresses CVE-2022-48282.
This is the general availability release for the 2.19.0 version of the driver.
The main new features in 2.19.0 include:
This version addresses CVE-2022-48282.
The ObjectSerializer has been changed to only allow deserialization of types that are considered safe.
What types are considered safe is determined by a new configurable AllowedTypes function (of type Func<Type, bool>).
The default AllowedTypes function is ObjectSerializer.DefaultAllowedTypes which returns true for a number of well-known framework types that we have deemed safe.
A typical example might be to allow all the default allowed types as well as your own types. This could be accomplished as follows:
var objectSerializer = new ObjectSerializer(type => ObjectSerializer.DefaultAllowedTypes(type) || type.FullName.StartsWith("MyNamespace"));
BsonSerializer.RegisterSerializer(objectSerializer);
More information about the ObjectSerializer is available in our FAQ.
Default LinqProvider has been changed to LINQ3. LinqProvider can be changed back to LINQ2 in the following way:
var connectionString = "mongodb://localhost";
var clientSettings = MongoClientSettings.FromConnectionString(connectionString);
clientSettings.LinqProvider = LinqProvider.V2;
var client = new MongoClient(clientSettings);
If you encounter a bug in LINQ3 provider, please report it in CSHARP JIRA project.
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.
This is the general availability release for the 2.18.0 version of the driver.
This is the general availability release for the 2.18.0 version of the driver.
The main new features in 2.18.0 include:
An online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.18.0.md
The full list of JIRA issues resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.18.0%20ORDER%20BY%20key%20ASC
Documentation on the .NET driver can be found at:
https://mongodb.github.io/mongo-csharp-driver/
There are no known backwards breaking changes in this release.
This is a patch release that fixes a potential data corruption bug in RewrapManyDataKey when rotating encrypted data encryption keys backed by GCP or Azure key services.
The following conditions will trigger this bug:
The result of this bug is that the key material for all data encryption keys being rewrapped is replaced by new randomly generated material, destroying the original key material.
To mitigate potential data corruption, upgrade to this version or higher before using RewrapManyDataKey to rotate Azure-backed or GCP-backed data encryption keys. A backup of the key vault collection should always be taken before key rotation.
An online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.17.1.md
The list of JIRA tickets resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.17.1%20ORDER%20BY%20key%20ASC
Documentation on the .NET driver can be found at:
http://mongodb.github.io/mongo-csharp-driver/
There are no known backwards breaking changes in this release.
This is the general availability release for the 2.17.0 version of the driver.
This is the general availability release for the 2.17.0 version of the driver.
The main new features in 2.17.0 include:
IMongoQueryable.AppendStage() method (LINQ3)$topN and related accumulators in $group aggregation stageEstimatedDocumentCount is implemented using the count server command. Due to an oversight in versions
5.0.0-5.0.8 of MongoDB, the count command, which EstimatedDocumentCount uses in its implementation,
was not included in v1 of the Stable API. If you are using the Stable API with EstimatedDocumentCount,
you must upgrade to server version 5.0.9+ or set strict: false when configuring ServerApi to avoid
encountering errors.
For more information about the Stable API see:
https://mongodb.github.io/mongo-csharp-driver/2.16/reference/driver/stable_api/
An online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.17.0.md
The full list of JIRA issues resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.17.0%20ORDER%20BY%20key%20ASC
Documentation on the .NET driver can be found at:
https://mongodb.github.io/mongo-csharp-driver/
There are no known backwards breaking changes in this release.
This is a patch release that addresses some issues reported since 2.16.0 was released.
An online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.16.1.md
The list of JIRA tickets resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.16.1%20ORDER%20BY%20key%20ASC
Documentation on the .NET driver can be found at:
http://mongodb.github.io/mongo-csharp-driver/
There are no known backwards breaking changes in this release.
This is the general availability release for the 2.16.0 version of the driver.
This is the general availability release for the 2.16.0 version of the driver.
The main new features in 2.16.0 include:
Support for MongoDB server version 6.0.0
[BETA] Support for Queryable Encryption
Support for creating collections with clustered indexes
Use count command for estimatedDocumentCount
LINQ3 bug fixes and improvements
Support for carry forward ($locf) and numerical/date densification ($densify)
Support for limit in $filter expressions
Support point-in-time pre-/post-images in change streams
Preemptively cancel in-progress operations when SDAM heartbeats timeout
EstimatedDocumentCount and Stable API
EstimatedDocumentCount is implemented using the count server command. Due to an oversight in versions 5.0.0-5.0.8 of MongoDB, the count command, which EstimatedDocumentCount uses in its implementation, was not included in v1 of the Stable API. If you are using the Stable API with EstimatedDocumentCount, you must upgrade to server version 5.0.9+ or set strict: false when configuring ServerApi to avoid encountering errors.
For more information about the Stable API see:
https://mongodb.github.io/mongo-csharp-driver/2.16/reference/driver/stable_api/
An online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.16.0.md
The full list of JIRA issues resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.16.0%20ORDER%20BY%20key%20ASC
Documentation on the .NET driver can be found at:
https://mongodb.github.io/mongo-csharp-driver/
Upgrading There are no known backwards breaking changes in this release.
This is a patch release that addresses some issues reported since 2.15.0 was released.
An online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.15.1.md
The list of JIRA tickets resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.15.1%20ORDER%20BY%20key%20ASC
Documentation on the .NET driver can be found at:
http://mongodb.github.io/mongo-csharp-driver/
Upgrading There are no known backwards breaking changes in this release.
This is the general availability release for the 2.15.0 version of the driver.
This is the general availability release for the 2.15.0 version of the driver.
The main new features in 2.15.0 include:
An online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.15.0.md
The full list of JIRA issues resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.15.0%20ORDER%20BY%20key%20ASC
Documentation on the .NET driver can be found at:
https://mongodb.github.io/mongo-csharp-driver/
There are no known backwards breaking changes in this release.
This is a patch release that addresses some issues reported since 2.14.0 was released.
An online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.14.1.md
The list of JIRA tickets resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.14.1%20ORDER%20BY%20key%20ASC
Documentation on the .NET driver can be found at:
http://mongodb.github.io/mongo-csharp-driver/
There are no known backwards breaking changes in this release.
This is the general availability release for the 2.14.0 version of the driver.
This is the general availability release for the 2.14.0 version of the driver.
The main new features in 2.14.0 include:
srvMaxHosts URI option to limit the number of mongos nodes used in connecting to sharded clustersAn online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.14.0.md
The full list of JIRA issues resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.14.0%20ORDER%20BY%20key%20ASC
Documentation on the .NET driver can be found at:
http://mongodb.github.io/mongo-csharp-driver/
This is a beta release for the 2.14.0 version of the driver.
This is a beta release for the 2.14.0 version of the driver.
The main new features in 2.14.0-beta1 include:
An online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.14.0-beta1.md
The full list of JIRA issues that are currently scheduled to be resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.14.0%20ORDER%20BY%20key%20ASC
The list may change as we approach the release date.
Documentation on the .NET driver can be found at:
http://mongodb.github.io/mongo-csharp-driver/
There are no known backwards breaking changes in this release.
This is a patch release that addresses some issues reported since 2.13.2 was released.
An online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.13.3.md
The list of JIRA tickets resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.13.3%20ORDER%20BY%20key%20ASC
Documentation on the .NET driver can be found at:
http://mongodb.github.io/mongo-csharp-driver/
There are no known backwards breaking changes in this release.
There are no known backwards breaking changes in this release.
This is a patch release that addresses some issues reported since 2.13.1 was released.
An online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.13.2.md
The list of JIRA tickets resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.13.2%20ORDER%20BY%20key%20ASC
Documentation on the .NET driver can be found at:
http://mongodb.github.io/mongo-csharp-driver/
There are no known backwards breaking changes in this release.
There are no known backwards breaking changes in this release.
This is a patch release that addresses some issues reported since 2.13.0 was released.
An online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.13.1.md
The list of JIRA tickets resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.13.1%20ORDER%20BY%20key%20ASC
Documentation on the .NET driver can be found at:
http://mongodb.github.io/mongo-csharp-driver/
There are no known backwards breaking changes in this release.
This is the general availability release for the 2.13.0 version of the driver.
This is the general availability release for the 2.13.0 version of the driver.
The main new features in 2.13.0 include:
estimatedDocumentCount() now uses the $collStats aggregation stage instead of the count commandslaveOk connection string option removed; use readPreference insteadAn online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.13.0.md
The full list of JIRA issues that are resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.13.0%20ORDER%20BY%20key%20ASC
Documentation on the .NET driver can be found at:
https://docs.mongodb.com/drivers/csharp/
This is a beta release for the 2.13.0 version of the driver.
This is a beta release for the 2.13.0 version of the driver.
The main new features in 2.13.0-beta1 include:
estimatedDocumentCount() now uses the $collStats aggregation stage instead of the count commandAn online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.13.0-beta1.md
The full list of JIRA issues that are currently scheduled to be resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.13.0%20ORDER%20BY%20key%20ASC
The list may change as we approach the release date.
Documentation on the .NET driver can be found at:
http://mongodb.github.io/mongo-csharp-driver/
There are no known backwards breaking changes in this release.
This is a patch release that addresses some issues reported since 2.12.4 was released.
An online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.12.5.md
The list of JIRA tickets resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.12.5%20ORDER%20BY%20key%20ASC
Documentation on the .NET driver can be found at:
http://mongodb.github.io/mongo-csharp-driver/
There are no known backwards breaking changes in this release.
There are no known backwards breaking changes in this release.
This is a patch release that addresses some issues reported since 2.12.3 was released.
An online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.12.4.md
The list of JIRA tickets resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.12.4%20ORDER%20BY%20key%20ASC
Documentation on the .NET driver can be found at:
http://mongodb.github.io/mongo-csharp-driver/
There are no known backwards breaking changes in this release.
There are no known backwards breaking changes in this release.
This is a patch release that addresses some issues reported since 2.12.2 was released.
An online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.12.3.md
The list of JIRA tickets resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.12.3%20ORDER%20BY%20key%20ASC
Documentation on the .NET driver can be found at:
http://mongodb.github.io/mongo-csharp-driver/
There are no known backwards breaking changes in this release.
There are no known backwards breaking changes in this release.
This is a patch release that addresses some issues reported since 2.12.1 was released.
An online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.12.2.md
The list of JIRA tickets resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.12.2%20ORDER%20BY%20key%20ASC
Documentation on the .NET driver can be found at:
http://mongodb.github.io/mongo-csharp-driver/
There are no known backwards breaking changes in this release.
There are no known backwards breaking changes in this release.
This is a patch release that addresses some issues reported since 2.12.0 was released.
An online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.12.1.md
The list of JIRA tickets resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.12.1%20ORDER%20BY%20key%20ASC
Documentation on the .NET driver can be found at:
http://mongodb.github.io/mongo-csharp-driver/
There are no known backwards breaking changes in this release.
This is the general availability release for the 2.12.0 version of the driver.
This is the general availability release for the 2.12.0 version of the driver.
The main new features in 2.12.0 include:
An online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.12.0.md
The full list of JIRA issues that are resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.12.0%20ORDER%20BY%20key%20ASC
Documentation on the .NET driver can be found at:
https://docs.mongodb.com/drivers/csharp/
This is a beta release for the 2.12.0 version of the driver.
This is a beta release for the 2.12.0 version of the driver.
The main new features in 2.12.0-beta1 include:
An online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.12.0-beta1.md
The full list of JIRA issues that are currently scheduled to be resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.12.0%20ORDER%20BY%20key%20ASC
The list may change as we approach the release date.
Documentation on the .NET driver can be found at:
http://mongodb.github.io/mongo-csharp-driver/
There are no known backwards breaking changes in this release.
This is a patch release that addresses some issues reported since 2.11.5 was released.
An online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.11.6.md
The list of JIRA tickets resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.11.6%20ORDER%20BY%20key%20ASC
Documentation on the .NET driver can be found at:
http://mongodb.github.io/mongo-csharp-driver/
There are no known backwards breaking changes in this release.
There are no known backwards breaking changes in this release.
This is a patch release that addresses some issues reported since 2.11.4 was released.
An online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.11.5.md
The list of JIRA tickets resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.11.5%20ORDER%20BY%20key%20ASC
Documentation on the .NET driver can be found at:
http://mongodb.github.io/mongo-csharp-driver/
There are no known backwards breaking changes in this release.
There are no known backwards breaking changes in this release.
This is a patch release that addresses some issues reported since 2.11.3 was released.
An online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.11.4.md
The list of JIRA tickets resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.11.4%20ORDER%20BY%20key%20ASC
Documentation on the .NET driver can be found at:
http://mongodb.github.io/mongo-csharp-driver/
There are no known backwards breaking changes in this release.
There are no known backwards breaking changes in this release.
This is a patch release that addresses an issue reported since 2.11.2 was released.
An online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.11.3.md
The list of JIRA tickets resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.11.3%20ORDER%20BY%20key%20ASC
Documentation on the .NET driver can be found at:
http://mongodb.github.io/mongo-csharp-driver/
Since the only change in this patch release is CSHARP-3218 and that issue is specific to Xamarin you only need to upgrade from 2.11.2 to 2.11.3 if you are using the driver on Xamarin.
There are no known backwards breaking changes in this release.
There are no known backwards breaking changes in this release.
This is a patch release that fixes a bug reported since 2.11.1 was released.
An online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.11.2.md
The list of JIRA tickets resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.11.2%20ORDER%20BY%20key%20ASC
Documentation on the .NET driver can be found at:
http://mongodb.github.io/mongo-csharp-driver/
Everyone using versions 2.11.0 or 2.11.1 of the C# driver with version 4.4.0 or later of the server should upgrade to 2.11.2. The issue fixed is related to simultaneous authentication of two or more connections, in which case a change introduced in 2.11.0 can result in authentication failing. Under loads low enough that only one connection is ever opened at the same time the issue does not happen.
See: https://jira.mongodb.org/browse/CSHARP-3196
There are no known backwards breaking changes in this release.
There are no known backwards breaking changes in this release.
This is a patch release that fixes a couple of bugs reported since 2.11.0 was released.
An online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.11.1.md
The list of JIRA tickets resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.11.1%20ORDER%20BY%20key%20ASC
Documentation on the .NET driver can be found at:
http://mongodb.github.io/mongo-csharp-driver/
If you are writing a WinForms application you will want to upgrade to this version of the driver (see CSHARP-3182).
There are no known backwards breaking changes in this release.
The main new features in 2.11.0 support new features in MongoDB 4.4.0. These features include:
The main new features in 2.11.0 support new features in MongoDB 4.4.0. These features include:
$meta projections: randVal, searchScore, searchHighlights,
geoNearDistance, geoNearPoint, recordId, indexKey and
sortKeyfindAndModify update and replace operationsallowDiskUse on find operationsMONGODB-AWS authentication using Amazon Web Services
(AWS) Identity and Access Management (IAM) credentialsCommitQuorum option in createIndexesOther new additions and updates in this release include:
tlsDisableCertificateRevocationCheck to disable
certificate revocation checking.ExceededTimeLimit, LockTimeout and ClientDisconnectAuthorizedDatabases option in ListDatabasesAsQueryableAn online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.11.0.md
The full list of JIRA issues resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.11.0%20ORDER%20BY%20key%20ASC
Documentation on the .NET driver can be found at:
http://mongodb.github.io/mongo-csharp-driver/
This is a beta release for the 2.11.0 version of the driver.
This is a beta release for the 2.11.0 version of the driver.
The main new features in 2.11.0-beta2 support new features in MongoDB 4.4.0. These features include:
$meta
projections: randVal, searchScore, searchHighlights,
geoNearDistance, geoNearPoint, recordId, indexKey and
sortKeyfindAndModify update and replace operationsallowDiskUse on find operationsMONGODB-AWS authentication using Amazon Web Services
(AWS) Identity and Access Management (IAM) credentialsCommitQuorum option in createIndexesOther new additions and updates in this beta include:
tlsDisableCertificateRevocationCheck to disable
certificate revocation checking.ExceededTimeLimit, LockTimeout and ClientDisconnectAuthorizedDatabases option in ListDatabasesAsQueryableAn online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.11.0-beta2.md
The full list of JIRA issues that are currently scheduled to be resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.11.0%20ORDER%20BY%20key%20ASC
The list may change as we approach the release date.
Documentation on the .NET driver can be found at:
http://mongodb.github.io/mongo-csharp-driver/
Because certificate revocation checking is now enabled by default, an
application that is unable to contact the OCSP endpoints and/or CRL
distribution points specified in a server's certificate may experience
connectivity issues (e.g. if the application is behind a firewall with
an outbound whitelist). This is because the driver needs to contact
the OCSP endpoints and/or CRL distribution points specified in the
server’s certificate and if these OCSP endpoints and/or CRL
distribution points are not accessible, then the connection to the
server may fail. In such a scenario, connectivity may be able to be
restored by disabling certificate revocation checking by adding
tlsDisableCertificateRevocationCheck=true to the application's connection
string.
This is a beta release for the 2.11.0 version of the driver.
This is a beta release for the 2.11.0 version of the driver.
The main new features in 2.11.0-beta1 support new features in MongoDB 4.4.0. These features include:
$meta
projections: randVal, searchScore, searchHighlights,
geoNearDistance, geoNearPoint, recordId, indexKey and
sortKeyfindAndModify update and replace operationsallowDiskUse on find operationsMONGODB-AWS authentication using Amazon Web Services
(AWS) Identity and Access Management (IAM) credentialsOther new additions and updates in this beta include:
tlsDisableCertificateRevocationCheck to disable
certificate revocation checking.ExceededTimeLimit, LockTimeout and ClientDisconnectAn online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.11.0-beta1.md
The full list of JIRA issues that are currently scheduled to be resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.11.0%20ORDER%20BY%20key%20ASC
The list may change as we approach the release date.
Documentation on the .NET driver can be found at:
http://mongodb.github.io/mongo-csharp-driver/
Because certificate revocation checking is now enabled by default, an
application that is unable to contact the OCSP endpoints and/or CRL
distribution points specified in a server's certificate may experience
connectivity issues (e.g. if the application is behind a firewall with
an outbound whitelist). This is because the driver needs to contact
the OCSP endpoints and/or CRL distribution points specified in the
server’s certificate and if these OCSP endpoints and/or CRL
distribution points are not accessible, then the connection to the
server may fail. In such a scenario, connectivity may be able to be
restored by disabling certificate revocation checking by adding
tlsDisableCertificateRevocationCheck=true to the application's connection
string.
There are no known backwards breaking changes in this release.
This is a patch release that fixes a couple of bugs reported since 2.10.3 was released.
An online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.10.4.md
The list of JIRA tickets resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.10.4%20ORDER%20BY%20key%20ASC
Documentation on the .NET driver can be found at:
http://mongodb.github.io/mongo-csharp-driver/
There are no known backwards breaking changes in this release.
There are no known backwards breaking changes in this release.
This is a patch release that fixes several bugs reported since 2.10.2 was released.
An online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.10.3.md
The list of JIRA tickets resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.10.3%20ORDER%20BY%20key%20ASC
Documentation on the .NET driver can be found at:
http://mongodb.github.io/mongo-csharp-driver/
There are no known backwards breaking changes in this release.
There are no known backwards breaking changes in this release.
IMPORTANT:
If you are using unacknowledged writes (also known as w:0 writes) with versions 2.10.0 or 2.10.1 of the driver, we strongly recommend you upgrade to version 2.10.2 as soon as possible, to obtain the fix for a critical issue: https://jira.mongodb.org/browse/CSHARP-2960.
This is a patch release that fixes several bugs reported since 2.10.1 was released.
An online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.10.2.md
The list of JIRA tickets resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.10.2%20ORDER%20BY%20key%20ASC
Documentation on the .NET driver can be found at:
http://mongodb.github.io/mongo-csharp-driver/
There are no known backwards breaking changes in this release.
The binary packages are now released only on Nuget.
There are no known backwards breaking changes in this release.
This is a patch release that fixes several bugs reported since 2.10.0 was released.
An online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.10.1.md
The list of JIRA tickets resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.10.1%20ORDER%20BY%20key%20ASC
Documentation on the .NET driver can be found at:
http://mongodb.github.io/mongo-csharp-driver/
There are no known backwards breaking changes in this release.
There are no known backwards breaking changes in this release.
The main changes in 2.10.0 are:
An online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.10.0.md
The list of JIRA tickets resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.10.0%20ORDER%20BY%20key%20ASC
Documentation on the .NET driver can be found at:
http://mongodb.github.io/mongo-csharp-driver/
Documentation on the new client-side field level encryption feature can be found at:
http://mongodb.github.io/mongo-csharp-driver/2.10/reference/driver/crud/client_side_encryption/
There are no known backwards breaking changes in this release.
Support for client side encryption is in beta. Backwards-breaking changes may be made before the final release.
This is a beta release for the 2.10.0 version of the driver.
The main new features in 2.10.0-beta1 are:
An online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.10.0-beta1.md
The full list of JIRA issues that are currently scheduled to be resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.10.0%20ORDER%20BY%20key%20ASC
The list may change as we approach the release date.
Documentation on the .NET driver can be found at:
http://mongodb.github.io/mongo-csharp-driver/
Support for client side encryption is in beta. Backwards-breaking changes may be made before the final release.
There are no known backwards breaking changes in this release.
This is a patch release that fixes several bugs reported since 2.9.2 was released and improves support for ISupportInitialize.
An online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.9.3.md
The list of JIRA tickets resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.9.3%20ORDER%20BY%20key%20ASC
Documentation on the .NET driver can be found at:
http://mongodb.github.io/mongo-csharp-driver/
There are no known backwards breaking changes in this release.
There are no known backwards breaking changes in this release.
This is a patch release that fixes several bugs reported since 2.9.1 was released.
Most notably in the .NET Framework version of the driver, snappy compression now works properly with servers ≥ 3.6.
An online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.9.2.md
The list of JIRA tickets resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.9.2%20ORDER%20BY%20key%20ASC
Documentation on the .NET driver can be found at:
http://mongodb.github.io/mongo-csharp-driver/
There are no known backwards breaking changes in this release.
There are no known backwards breaking changes in this release.
This is a patch release that fixes one bug reported since 2.9.0 was released.
An online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.9.1.md
The list of JIRA tickets resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.9.1%20ORDER%20BY%20key%20ASC
Documentation on the .NET driver can be found at:
http://mongodb.github.io/mongo-csharp-driver/
There are no known backwards breaking changes in this release.
A bug in 2.9.0 prevents applications from connecting to replica sets via SRV. Applications connecting to replica sets over SRV should NOT upgrade to 2.9.0 and instead should upgrade directly to 2.9.1 or later.
The main new features in 2.9.0 are:
The main new features in 2.9.0 are:
IClientSession.WithTransaction() method to conveniently run a transaction with automatic retries and at-most-once semantics.mongodb+srv connection scheme: DNS SRV records are periodically polled in order to update the mongos proxy list without having to change client configuration or even restart the client application. This feature is particularly useful when used with a sharded cluster on MongoDB Atlas, which dynamically updates SRV records whenever you resize your Atlas sharded cluster.$merge pipeline stage, and builder methods support creation of the new pipeline stage.startAfter option.An online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.9.0.md
The list of JIRA tickets resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.9.0%20ORDER%20BY%20key%20ASC
Documentation on the .NET driver can be found at:
http://mongodb.github.io/mongo-csharp-driver/
Applications with custom retry logic should note that retryable reads and writes default to true. Any applications that rely on the driver's old behavior of not automatically retrying reads and writes should update their connection strings to turn off retryable reads/writes as needed. Otherwise, the new default may cause unexpected behavior.
For example, if an application has custom logic that retries reads n times, then after upgrading to 2.9.0, the application could end up retrying reads up to 2n times because the driver defaults to retrying reads.
There are no known backwards breaking changes in this release.
This is a beta release for the 2.9.0 version of the driver that will be released with MongoDB server version 4.2.
The main features in 2.9.0-beta2 are:
An online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.9.0-beta2.md
The full list of JIRA issues that are currently scheduled to be resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.9.0%20ORDER%20BY%20key%20ASC
The list may change as we approach the release date.
Documentation on the .NET driver can be found at:
http://mongodb.github.io/mongo-csharp-driver/
Upgrading
There are no known backwards breaking changes in this release.
There are no known backwards breaking changes in this release.
This is a beta release for the 2.9.0 version of the driver that will be released with MongoDB server version 4.2.
The main feature in 2.9.0-beta1 is pinning to a single mongos router when in a sharded transaction.
An online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.9.0-beta1.md
The full list of JIRA issues that are currently scheduled to be resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.9.0%20ORDER%20BY%20key%20ASC
The list may change as we approach the release date.
Documentation on the .NET driver can be found at:
http://mongodb.github.io/mongo-csharp-driver/
Upgrading
There are no known backwards breaking changes in this release.
There are no known backwards breaking changes in this release.
This is a patch release that fixes a few bugs reported since 2.8.0 was released.
An online version of these release notes is available at:
https://github.com/mongodb/mongo-csharp-driver/blob/v2.8.x/Release%20Notes/Release%20Notes%20v2.8.1.md
The full list of JIRA issues resolved in this release is available at:
https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.8.1%20ORDER%20BY%20key%20ASC
Documentation on the .NET driver can be found at:
http://mongodb.github.io/mongo-csharp-driver/
Upgrading
There are no known backwards breaking changes in this release.
One column per quarter.