From 337f4bf9c55ac60469287b5b6c5484490188bcde Mon Sep 17 00:00:00 2001 From: Michael Morisi Date: Thu, 5 Dec 2024 13:40:22 -0500 Subject: [PATCH 1/4] DOCSP-45807: v3.1 release --- config/redirects | 2 +- snooty.toml | 2 +- .../language-compatibility-table-csharp.rst | 4 ++-- .../mongodb-compatibility-table-csharp.rst | 2 +- source/whats-new.txt | 21 +++++++++++++++++++ 5 files changed, 26 insertions(+), 5 deletions(-) diff --git a/config/redirects b/config/redirects index 36659d29..21ca6473 100644 --- a/config/redirects +++ b/config/redirects @@ -1,6 +1,6 @@ define: prefix docs/drivers/csharp define: base https://www.mongodb.com/${prefix} -define: versions v2.19 v2.20 v2.21 v2.22 v2.23 v2.24 v2.25 v2.26 v2.27 v2.28 v2.29 v2.30 v3.0 master +define: versions v2.19 v2.20 v2.21 v2.22 v2.23 v2.24 v2.25 v2.26 v2.27 v2.28 v2.29 v2.30 v3.0 v3.1 master symlink: current -> master diff --git a/snooty.toml b/snooty.toml index 10edd3c6..04044663 100644 --- a/snooty.toml +++ b/snooty.toml @@ -32,7 +32,7 @@ mdb-server = "MongoDB Server" mongo-community = "MongoDB Community Edition" mongo-enterprise = "MongoDB Enterprise Edition" docs-branch = "master" # always set this to the docs branch (i.e. master, 1.7, 1.8, etc.) -version-number = "3.0" +version-number = "3.1" last-version-2-number = "2.30" version = "v{+version-number+}" example = "https://raw.githubusercontent.com/mongodb/docs-csharp/{+docs-branch+}/source/includes/code-examples" diff --git a/source/includes/language-compatibility-table-csharp.rst b/source/includes/language-compatibility-table-csharp.rst index ea72ea6e..9871f85f 100644 --- a/source/includes/language-compatibility-table-csharp.rst +++ b/source/includes/language-compatibility-table-csharp.rst @@ -14,7 +14,7 @@ - .NET Core 3.X - .NET Core 2.X - * - 3.0 + * - 3.0 to 3.1 - ✓ - ✓ - ✓ @@ -45,7 +45,7 @@ - .NET 4.7 [#2.14-note]_ - .NET 4.6 - * - 3.0 + * - 3.0 to 3.1 - ✓ - ✓ - diff --git a/source/includes/mongodb-compatibility-table-csharp.rst b/source/includes/mongodb-compatibility-table-csharp.rst index 9bbbe4a2..7aea9edc 100644 --- a/source/includes/mongodb-compatibility-table-csharp.rst +++ b/source/includes/mongodb-compatibility-table-csharp.rst @@ -17,7 +17,7 @@ - MongoDB 3.0 - MongoDB 2.6 - * - 3.0 + * - 3.0 to 3.1 - ✓ - ✓ - ✓ diff --git a/source/whats-new.txt b/source/whats-new.txt index 0035138e..32d3a517 100644 --- a/source/whats-new.txt +++ b/source/whats-new.txt @@ -45,6 +45,27 @@ The 3.1 driver release includes the following new features: namespace. The driver can now serialize ``ImmutableArray`` objects, and serialization for other immutable collections is more memory efficient. +- Adds support for the token field time and array field expressions with Atlas Search + builders for the ``equals`` operator. To learn more about using Atlas Search with the + {+driver-short+}, see :ref:`csharp-atlas-search`. + +- Adds support for sequential pagination in Atlas Search. + +- Adds support for valid SRV hostnames with fewer than 3 parts. + +- Adds support for the ``Exists``, ``IsMissing``, and ``IsNullOrMissing`` methods + in MQL queries. + +- Adds support for Exact Nearest Neighbor (ENN) vector search. To learn more about ENN + Vector Search, see `Run Vector Search Queries `__ + in the Atlas Search documentation. + +- Adds support for the ``sort`` option to be passed to update commands. To learn more about + using update commands with the {+driver-short+}, see :ref:`csharp-change-guide`. + +For more information about this release, see the :github:`v3.1 release notes +`. + .. _csharp-version-3.0: What's New in 3.0 From 6d541bb6c06c42d4e3825c2b6b7a75e18cc6d7bf Mon Sep 17 00:00:00 2001 From: Michael Morisi Date: Thu, 5 Dec 2024 13:48:52 -0500 Subject: [PATCH 2/4] Fix --- source/whats-new.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/whats-new.txt b/source/whats-new.txt index 32d3a517..4b0120ef 100644 --- a/source/whats-new.txt +++ b/source/whats-new.txt @@ -57,7 +57,7 @@ The 3.1 driver release includes the following new features: in MQL queries. - Adds support for Exact Nearest Neighbor (ENN) vector search. To learn more about ENN - Vector Search, see `Run Vector Search Queries `__ + Vector Search, see :atlas:`Run Vector Search Queries ` in the Atlas Search documentation. - Adds support for the ``sort`` option to be passed to update commands. To learn more about From e57aaf5207dd5c9964951192e09b245b0b8a709a Mon Sep 17 00:00:00 2001 From: Michael Morisi Date: Thu, 5 Dec 2024 13:53:33 -0500 Subject: [PATCH 3/4] Fix --- source/whats-new.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/whats-new.txt b/source/whats-new.txt index 4b0120ef..a913703b 100644 --- a/source/whats-new.txt +++ b/source/whats-new.txt @@ -57,7 +57,7 @@ The 3.1 driver release includes the following new features: in MQL queries. - Adds support for Exact Nearest Neighbor (ENN) vector search. To learn more about ENN - Vector Search, see :atlas:`Run Vector Search Queries ` + Vector Search, see :atlas:`Run Vector Search Queries ` in the Atlas Search documentation. - Adds support for the ``sort`` option to be passed to update commands. To learn more about From c924a2c5aaed60413a7fa6f09de2456dcec71172 Mon Sep 17 00:00:00 2001 From: Michael Morisi Date: Thu, 5 Dec 2024 14:48:14 -0500 Subject: [PATCH 4/4] JS feedback --- source/whats-new.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/whats-new.txt b/source/whats-new.txt index a913703b..d7009d26 100644 --- a/source/whats-new.txt +++ b/source/whats-new.txt @@ -45,7 +45,7 @@ The 3.1 driver release includes the following new features: namespace. The driver can now serialize ``ImmutableArray`` objects, and serialization for other immutable collections is more memory efficient. -- Adds support for the token field time and array field expressions with Atlas Search +- Adds support for the token field type and array field expressions with Atlas Search builders for the ``equals`` operator. To learn more about using Atlas Search with the {+driver-short+}, see :ref:`csharp-atlas-search`. @@ -54,7 +54,7 @@ The 3.1 driver release includes the following new features: - Adds support for valid SRV hostnames with fewer than 3 parts. - Adds support for the ``Exists``, ``IsMissing``, and ``IsNullOrMissing`` methods - in MQL queries. + in MongoDB Query API filters. - Adds support for Exact Nearest Neighbor (ENN) vector search. To learn more about ENN Vector Search, see :atlas:`Run Vector Search Queries `