Skip to content

Releases: mongodb/mongo-csharp-driver

v2.7.0

27 Jun 02:01
Compare
Choose a tag to compare

.NET Driver Version 2.7.0 Release Notes

The main new features of 2.7.0 are support for new features of the 4.0.0 version of the server including:

  • Transactions
  • New CountDocuments and EstimatedDocumentCount methods (depending on whether you need an exact result or a fast estimate)
  • Support for change streams on all collections in a cluster or a particular database via the new Watch methods on IMongoClient and IMongoDatabase
  • SCRAM-SHA-256 authentication

An online version of these release notes is available at:

https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.7.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.7.0%20ORDER%20BY%20key%20ASC

Documentation on the .NET driver can be found at:

http://mongodb.github.io/mongo-csharp-driver/

Upgrading

  • The .NET Driver now disables certificate revocation checking by default, setting CheckCertificateRevocation in SslSettings to false by default. Any applications relying on the older default of true now must explicitly set CheckCertificateRevocation to true in SslSettings to re-enable certificate revocation checking.

    Previously, the driver enabled certificate revocation checking by default, in contrast to the mongo shell and other MongoDB drivers. This was also in contrast to .NET's defaults for SslStream (see .NET Framework documentation here and .NET Standard documentation here).

Known Issues:

  • Incomplete SCRAM-SHA-256 Support in .NET Standard: In .NET Standard, authenticating via SCRAM-SHA-256 may not work with non-ASCII passwords because SaslPrep is not fully implemented due to the lack of a string normalization function in .NET Standard 1.5. Normalizing the password into Unicode Normalization Form KC beforehand MAY help. SCRAM-SHA-1 is the recommended alternative (when targeting .NET Standard) for now.

v2.6.1

17 May 01:42
Compare
Choose a tag to compare

.NET Driver Version 2.6.1 Release Notes

This is a patch release that fixes a few bugs reported since 2.6.0 was released.

An online version of these release notes is available at:

https://github.com/mongodb/mongo-csharp-driver/blob/v2.6.x/Release%20Notes/Release%20Notes%20v2.6.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.6.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.

v2.6.0

24 Apr 14:38
Compare
Choose a tag to compare

.NET Driver Version 2.6.0 Release Notes

The main new feature of 2.6.0 is better support for running when FIPS mode is enabled in the operating system.

  • GridFS now has an option to disable MD5 checksum computation
  • PasswordEvidence has been refactored to no longer use MD5

An online version of these release notes is available at:

https://github.com/mongodb/mongo-csharp-driver/blob/v2.6.x/Release%20Notes/Release%20Notes%20v2.6.0.md

The JIRA tickets resolved in this release is available at:

https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.6.0%20ORDER%20BY%20key%20ASC

Upgrading

We believe there are only minor breaking changes in classes that normally would not be directly used by applications.

v2.7.0-beta1

22 Apr 05:09
Compare
Choose a tag to compare
v2.7.0-beta1 Pre-release
Pre-release

.NET Driver Version 2.7.0-beta1 Release Notes

This is a beta release of the 2.7.0 version of the driver that will be released with MongoDB server version 4.0.

An online version of these release notes is available at:

https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.7.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.7.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.

v2.5.1

19 Apr 00:49
Compare
Choose a tag to compare

.NET Driver Version 2.5.1 Release Notes

This is a patch release that fixes a few bugs reported since 2.5.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.5.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.5.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.

v2.5.0

12 Dec 21:38
Compare
Choose a tag to compare

.NET Driver Version 2.5.0 Release Notes

The main new feature of 2.5.0 is support for the new features of the 3.6 version of the server:

  • Sessions
  • Causal consistency
  • Retryable writes
  • Change streams via the collection Watch method to observe changes to a collection
  • Array filters for update operations
  • Translating DateTime expressions in LINQ to $dateFromParts and $dateFromString operators
  • The new "mongodb+srv://" connection string scheme
  • Improved support for reading and writing UUIDs in BsonBinary subtype 4 format

An online version of these release notes is available at:

https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.5.0.md

The JIRA tickets resolved in this release is available at:

https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.5%20ORDER%20BY%20key%20ASC

Upgrading

We believe there are only minor breaking changes in classes that normally would not be directly used by applications.

v2.4.4

08 Jun 19:19
Compare
Choose a tag to compare

.NET Driver Version 2.4.4 Release Notes

This is a patch release that fixes a few bugs reported since 2.4.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.4.4.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.4.4%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.

v2.4.3

09 Mar 16:56
Compare
Choose a tag to compare

.NET Driver Version 2.4.3 Release Notes

This is a patch release that fixes a few bugs reported since 2.4.2 was released.

Most of the changes are minor, but if you use X509 certificates with SSL you should
definitely upgrade to 2.4.3. See:

https://jira.mongodb.org/browse/CSHARP-1914

An online version of these release notes is available at:

https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.4.3.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.4.3%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.

v2.4.2

02 Feb 17:37
Compare
Choose a tag to compare

.NET Driver Version 2.4.2 Release Notes

This is a patch release that fixes a few bugs reported since 2.4.1 was released.

The main change is adding back support for using a which is not the same as the actual
field type in filter builder methods and the Distinct method. Normally is expected to
match the actual field type, but it turns out there are cases where one might want to specify
a type for that does not match the field type exactly. See the following tickets for
more information about these changes

https://jira.mongodb.org/browse/CSHARP-1884
https://jira.mongodb.org/browse/CSHARP-1890
https://jira.mongodb.org/browse/CSHARP-1891

An online version of these release notes is available at:

https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.4.2.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.4.2%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.

v2.4.1

04 Jan 14:43
Compare
Choose a tag to compare

.NET Driver Version 2.4.1 Release Notes

This is a patch release which fixes a few bugs reported since 2.4.0 was released.

It is a required upgrade if you are using MongoDB-X509 authentication. See:

https://jira.mongodb.org/browse/CSHARP-1861

An online version of these release notes is available at:

https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.4.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.4.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.