@@ -15,10 +15,11 @@ What's New
1515 :values: reference
1616
1717.. meta::
18- :keywords: update, new feature, deprecation, upgrade, driver v2.19, driver v2.20, driver v2.21, driver v2. 22, driver v2.23, driver v2.24, driver v2.25, driver v2.26, driver v2.27, driver v2.28, driver v3.0
18+ :keywords: update, new feature, deprecation, upgrade, driver v2.22, driver v2.23, driver v2.24, driver v2.25, driver v2.26, driver v2.27, driver v2.28, driver v3.0
1919
2020Learn what's new in:
2121
22+ * :ref:`Version 3.1 <csharp-version-3.1>`
2223* :ref:`Version 3.0 <csharp-version-3.0>`
2324* :ref:`Version 2.30 <csharp-version-2.30>`
2425* :ref:`Version 2.29 <csharp-version-2.29>`
@@ -29,10 +30,42 @@ Learn what's new in:
2930* :ref:`Version 2.24 <version-2.24>`
3031* :ref:`Version 2.23 <version-2.23>`
3132* :ref:`Version 2.22 <version-2.22>`
32- * :ref:`Version 2.21 <version-2.21>`
3333
3434.. _upcoming-breaking-changes:
3535
36+ .. _csharp-version-3.1:
37+
38+ What's New in 3.1
39+ -----------------
40+
41+ The 3.1 driver release includes the following new features:
42+
43+ - Adds new default serializers for immutable collections in the
44+ `System.Collections.Immutable <https://learn.microsoft.com/en-us/dotnet/api/system.collections.immutable?view=net-8.0>`__
45+ namespace. The driver can now serialize ``ImmutableArray`` objects, and serialization
46+ for other immutable collections is more memory efficient.
47+
48+ - Adds support for the token field type and array field expressions with Atlas Search
49+ builders for the ``equals`` operator. To learn more about using Atlas Search with the
50+ {+driver-short+}, see :ref:`csharp-atlas-search`.
51+
52+ - Adds support for sequential pagination in Atlas Search.
53+
54+ - Adds support for valid SRV hostnames with fewer than 3 parts.
55+
56+ - Adds support for the ``Exists``, ``IsMissing``, and ``IsNullOrMissing`` methods
57+ in MongoDB Query API filters.
58+
59+ - Adds support for Exact Nearest Neighbor (ENN) vector search. To learn more about ENN
60+ Vector Search, see :atlas:`Run Vector Search Queries </atlas-vector-search/vector-search-stage>`
61+ in the Atlas Search documentation.
62+
63+ - Adds support for the ``sort`` option to be passed to update commands. To learn more about
64+ using update commands with the {+driver-short+}, see :ref:`csharp-change-guide`.
65+
66+ For more information about this release, see the :github:`v3.1 release notes
67+ </mongodb/mongo-csharp-driver/releases/tag/v3.1.0>`.
68+
3669.. _csharp-version-3.0:
3770
3871What's New in 3.0
0 commit comments