You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:description: Discover the latest features and updates in the C# Driver, including new conventions, serializers, and support for various MongoDB functionalities.
20
20
21
21
Learn what's new in:
@@ -47,12 +47,49 @@ version of {+driver-short+} will raise the minimum {+mdb-server+} version from
47
47
What's New in 3.4
48
48
-----------------
49
49
50
-
The 3.4 driver release includes the following new features:
50
+
The 3.4 driver release includes the following new features,
51
+
improvements, and fixes:
51
52
52
53
- Adds the ``Mql.Convert()`` LINQ method to convert between types when
53
54
performing aggregations. To learn more, see the
54
55
:ref:`csharp-linq-convert` section of the LINQ guide.
55
56
57
+
- Adds support for the ``KeyValuePair.Create()`` LINQ method.
58
+
59
+
- Add the ``GeoNear()`` aggregation builder method to construct a
60
+
``$geoNear`` aggregation stage.
61
+
62
+
- Supports casting from an interface to a type that implements that
63
+
interface in LINQ queries.
64
+
65
+
- Supports the ``Dictionary`` constructor in LINQ.
66
+
67
+
- Adds the following options for Atlas Search queries:
68
+
69
+
- ``MatchCriteria`` in ``SearchTextOptions`` to set match critera for
70
+
terms passed to the ``Text()`` operator method.
71
+
72
+
- ``Synonyms`` in ``SearchPhraseOptions`` to set the name of the
73
+
synonym mapping definition when using the ``Phrase()`` operator
74
+
method.
75
+
76
+
To learn more about performing Atlas Search queries, see
77
+
the :ref:`csharp-atlas-search` guide.
78
+
79
+
- Supports LINQ queries after casting ``IQueryable<Derived>`` objects to
80
+
``IQueryable<Base>``.
81
+
82
+
- Corrects Atlas Search operator behavior to use registered serializers
83
+
instead of predefined serializers. To implement the previous
84
+
behavior, set the following option:
85
+
86
+
.. code-block:: csharp
87
+
88
+
SearchDefinition.UseConfiguredSerializers(false)
89
+
90
+
For more information about this release, see the :github:`v3.4 release notes
91
+
</mongodb/mongo-csharp-driver/releases/tag/v3.4.0>` on GitHub.
92
+
56
93
.. _csharp-version-3.3:
57
94
58
95
What's New in 3.3
@@ -98,6 +135,9 @@ The 3.3 driver release includes the following new features:
98
135
- Adds support for using the ``OfType<T>()`` method and ``is`` operator to check
99
136
the type of a scalar discriminator.
100
137
138
+
For more information about this release, see the :github:`v3.3 release notes
139
+
</mongodb/mongo-csharp-driver/releases/tag/v3.3.0>` on GitHub.
140
+
101
141
.. _csharp-version-3.2:
102
142
103
143
What's New in 3.2
@@ -142,6 +182,9 @@ The 3.2 driver release includes the following new features:
142
182
behavior for ``DateOnly`` values at the property level. To learn more,
143
183
see the :ref:`csharp-poco-dateonly-attr` section of the POCOs guide.
144
184
185
+
For more information about this release, see the :github:`v3.2 release notes
186
+
</mongodb/mongo-csharp-driver/releases/tag/v3.2.0>` on GitHub.
0 commit comments