|
| 1 | +# .NET Driver Version 2.16.0 Release Notes |
| 2 | + |
| 3 | +This is the general availability release for the 2.16.0 version of the driver. |
| 4 | + |
| 5 | +The main new features in 2.16.0 include: |
| 6 | + |
| 7 | +* Support for MongoDB server version 6.0.0 |
| 8 | +* [BETA] Support for Queryable Encryption |
| 9 | +* Support for creating collections with clustered indexes |
| 10 | +* Use `count` command for `estimatedDocumentCount` |
| 11 | +* LINQ3 bug fixes and improvements |
| 12 | +* Support for carry forward (`$locf`) and numerical/date densification (`$densify`) |
| 13 | +* Support for `limit` in `$filter` expressions |
| 14 | +* Support point-in-time pre-/post-images in change streams |
| 15 | +* Preemptively cancel in-progress operations when SDAM heartbeats timeout |
| 16 | + |
| 17 | +### EstimatedDocumentCount and Stable API |
| 18 | + |
| 19 | +`EstimatedDocumentCount` is implemented using the `count` server command. Due to an oversight in versions |
| 20 | +5.0.0-5.0.8 of MongoDB, the `count` command, which `EstimatedDocumentCount` uses in its implementation, |
| 21 | +was not included in v1 of the Stable API. If you are using the Stable API with `EstimatedDocumentCount`, |
| 22 | +you must upgrade to server version 5.0.9+ or set `strict: false` when configuring `ServerApi` to avoid |
| 23 | +encountering errors. |
| 24 | + |
| 25 | +For more information about the Stable API see: |
| 26 | + |
| 27 | +https://mongodb.github.io/mongo-csharp-driver/2.16/reference/driver/stable_api/ |
| 28 | + |
| 29 | +An online version of these release notes is available at: |
| 30 | + |
| 31 | +https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Release%20Notes%20v2.16.0.md |
| 32 | + |
| 33 | +The full list of JIRA issues resolved in this release is available at: |
| 34 | + |
| 35 | +https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.16.0%20ORDER%20BY%20key%20ASC |
| 36 | + |
| 37 | +Documentation on the .NET driver can be found at: |
| 38 | + |
| 39 | +https://mongodb.github.io/mongo-csharp-driver/ |
| 40 | + |
0 commit comments