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:
The full list of JIRA issues resolved in this release is available at:
Documentation on the .NET driver can be found at: