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,50 @@ 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(IEnumerable<KeyValuePair<TKey, TValue>>
66
+
collection)`` constructor in LINQ.
67
+
68
+
- Adds the following options for Atlas Search queries:
69
+
70
+
- ``MatchCriteria`` in ``SearchTextOptions`` to set match criteria for
71
+
terms passed to the ``Text()`` operator method.
72
+
73
+
- ``Synonyms`` in ``SearchPhraseOptions`` to set the name of the
74
+
synonym mapping definition when using the ``Phrase()`` operator
75
+
method.
76
+
77
+
To learn more about performing Atlas Search queries, see
78
+
the :ref:`csharp-atlas-search` guide.
79
+
80
+
- Supports LINQ queries after casting ``IQueryable<Derived>`` objects to
81
+
``IQueryable<Base>``.
82
+
83
+
- Corrects Atlas Search operator behavior to use configured serializers
84
+
instead of predefined serializers. To use the previous
85
+
behavior, set the following option:
86
+
87
+
.. code-block:: csharp
88
+
89
+
SearchDefinition.UseConfiguredSerializers(false);
90
+
91
+
For more information about this release, see the :github:`v3.4 release notes
92
+
</mongodb/mongo-csharp-driver/releases/tag/v3.4.0>` on GitHub.
93
+
56
94
.. _csharp-version-3.3:
57
95
58
96
What's New in 3.3
@@ -98,6 +136,9 @@ The 3.3 driver release includes the following new features:
98
136
- Adds support for using the ``OfType<T>()`` method and ``is`` operator to check
99
137
the type of a scalar discriminator.
100
138
139
+
For more information about this release, see the :github:`v3.3 release notes
140
+
</mongodb/mongo-csharp-driver/releases/tag/v3.3.0>` on GitHub.
141
+
101
142
.. _csharp-version-3.2:
102
143
103
144
What's New in 3.2
@@ -142,6 +183,9 @@ The 3.2 driver release includes the following new features:
142
183
behavior for ``DateOnly`` values at the property level. To learn more,
143
184
see the :ref:`csharp-poco-dateonly-attr` section of the POCOs guide.
144
185
186
+
For more information about this release, see the :github:`v3.2 release notes
187
+
</mongodb/mongo-csharp-driver/releases/tag/v3.2.0>` on GitHub.
0 commit comments