Skip to content

Releases: mongodb/mongo-csharp-driver

.NET Driver Version 2.10.2 Release Notes

14 Feb 14:54
Compare
Choose a tag to compare

.NET Driver Version 2.10.2 Release Notes

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/

Upgrading

There are no known backwards breaking changes in this release.

Installing

The binary packages are now released only on Nuget.

.NET Driver Version 2.10.1 Release Notes

15 Jan 23:36
Compare
Choose a tag to compare

.NET Driver Version 2.10.1 Release Notes

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/

Upgrading

There are no known backwards breaking changes in this release.

.NET Driver Version 2.10.0 Release Notes

10 Dec 18:53
Compare
Choose a tag to compare

.NET Driver Version 2.10.0 Release Notes

The main changes in 2.10.0 are:

  1. A number of minor bug fixes
  2. New ReplaceOptions parameter for the ReplaceOne CRUD methods
  3. Client-side field level encryption (FLE)

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/

Upgrading

There are no known backwards breaking changes in this release.

.NET Driver Version 2.9.3 Release Notes

08 Nov 19:45
Compare
Choose a tag to compare

.NET Driver Version 2.9.3 Release Notes

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/

Upgrading

There are no known backwards breaking changes in this release.

v2.10.0-beta1

02 Oct 19:49
Compare
Choose a tag to compare

.NET Driver Version 2.10.0-beta1 Release Notes

This is a beta release for the 2.10.0 version of the driver.

The main new features in 2.10.0-beta1 are:

  • Support for Client-Side Field Level Encryption (Windows-only)

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/

Upgrading

Support for client side encryption is in beta. Backwards-breaking changes may be made before the final release.

v2.9.2

30 Sep 16:18
Compare
Choose a tag to compare

.NET Driver Version 2.9.2 Release Notes

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/

Upgrading

There are no known backwards breaking changes in this release.

v2.9.1

21 Aug 15:39
Compare
Choose a tag to compare

.NET Driver Version 2.9.1 Release Notes

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/

Upgrading

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.

v2.9.0

15 Aug 13:32
Compare
Choose a tag to compare

.NET Driver Version 2.9.0 Release Notes

The main new features in 2.9.0 are:

  • Distributed transactions on sharded clusters
  • The sessions API supports the IClientSession.WithTransaction() method to conveniently run a transaction with automatic retries and at-most-once semantics.
  • Support for message compression
  • SRV polling for 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.
  • Retryable reads: The diver can automatically retry any read operation that has not yet received any results (due to a transient network error, a "not master" error after a replica set failover, etc.). This feature is enabled by default.
  • Retryable writes are now enabled by default.
  • Update specification using an aggregation framework pipeline
  • SCRAM-SHA authentication caching
  • Connections to the replica set primary are no longer closed after a step-down, allowing in progress read operations to complete.
  • New aggregate helper methods support running database-level aggregations.
  • Aggregate helper methods now support the $merge pipeline stage, and builder methods support creation of the new pipeline stage.
  • Change stream helpers now support the startAfter option.
  • Index creation helpers now support wildcard indexes.

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/

Upgrading

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.

v2.9.0-beta2

17 Jun 19:56
Compare
Choose a tag to compare
v2.9.0-beta2 Pre-release
Pre-release

.NET Driver Version 2.9.0-beta2 Release Notes

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:

  • Sharded transactions using the same API as replica set transactions
  • Convenient API for transactions
  • Support for message compression
  • SRV polling for mongodb+srv connection scheme
  • Retryable reads on by default
  • Retryable writes on by default
  • Update specification using an aggregation framework pipeline

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.

v2.8.1

15 May 14:50
Compare
Choose a tag to compare

.NET Driver Version 2.8.1 Release Notes

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.