Skip to content

Commit

Permalink
Updated documentation for 2.17.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesKovacs committed Jul 18, 2022
1 parent c20aaf7 commit b316340
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 7 deletions.
9 changes: 7 additions & 2 deletions Docs/landing/data/releases.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
current = "2.16.1"
current = "2.17.0"

[[versions]]
version = "2.16.1"
version = "2.17.0"
status = "current"
docs = "./2.17/"
api = "./2.17/apidocs"

[[versions]]
version = "2.16.1"
docs = "./2.16/"
api = "./2.16/apidocs"

Expand Down
1 change: 1 addition & 0 deletions Docs/landing/static/versions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[
{"version": "2.17"},
{"version": "2.16"},
{"version": "2.15"},
{"version": "2.14"},
Expand Down
2 changes: 1 addition & 1 deletion Docs/reference/config.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
baseurl = "/mongo-csharp-driver/2.16"
baseurl = "/mongo-csharp-driver/2.17"
languageCode = "en-us"
title = "MongoDB .NET Driver"
theme = "mongodb"
Expand Down
2 changes: 1 addition & 1 deletion Docs/reference/content/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ type = "index"

The [Getting Started]({{< relref "getting_started\index.md" >}}) guide contains information about system requirements, installation, and a simple tutorial to get up and running quickly.

## What's new in 2.16.0
## What's new in 2.17.0

The [What's New]({{< relref "what_is_new.md" >}}) section contains the major new features of the driver.

Expand Down
13 changes: 11 additions & 2 deletions Docs/reference/content/upgrading.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,18 @@ title = "Upgrading"

## Breaking Changes

### Backwards compatibility with driver version 2.7.0–2.15.x
### Backwards compatibility with driver version 2.7.0–2.16.x

Starting from 2.15.0, feature detection is implemented through maxWireVersion
Driver versions 2.13.0 to 2.15.X changed `EstimatedDocumentCount` to use
the `$collStats` aggregation stage instead of the `count` command. This
unintentionally broke estimated document counts on views. 2.16.0 and later
switched back to using the `count` command. Unfortunately MongoDB 5.0.0-5.0.8
do not include the `count` command in Stable API v1. 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.

Starting from 2.15.0, feature detection is implemented through maxWireVersion
instead of buildInfo. This should have no user-visible impact.

Driver version 2.14.0 and later only supports MongoDB 3.6+. It cannot connect to
Expand Down
10 changes: 10 additions & 0 deletions Docs/reference/content/what_is_new.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ title = "What's New"
pre = "<i class='fa fa-star'></i>"
+++

## What's New in 2.17.0

The main new features in 2.17.0 include:

* Support for MongoDB server version 6.0.0 GA
* [BETA] Support for Queryable Encryption
* LINQ3 bug fixes and improvements
* Add arbitrary aggregation stages to LINQ queries using `IMongoQueryable.AppendStage()` method (LINQ3)
* Support for `$topN` and related accumulators in `$group` aggregation stage

## What's New in 2.16.0

The main new features in 2.16.0 include:
Expand Down
2 changes: 1 addition & 1 deletion Docs/reference/data/mongodb.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
githubRepo = "mongo-csharp-driver"
githubBranch = "master"
currentVersion = "2.16"
currentVersion = "2.17"
highlightTheme = "idea.css"
apiUrl = "apidocs/html"

0 comments on commit b316340

Please sign in to comment.