Skip to content

Commit ad0eaaa

Browse files
committed
DOCSP-49705: v3.4 release
1 parent 7de5c71 commit ad0eaaa

File tree

5 files changed

+54
-9
lines changed

5 files changed

+54
-9
lines changed

config/redirects

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
define: prefix docs/drivers/csharp
22
define: base https://www.mongodb.com/${prefix}
3-
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 v3.2 v3.3 master
3+
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 v3.2 v3.3 v3.4 master
44

55
symlink: current -> master
66

@@ -22,4 +22,5 @@ raw: ${prefix}/master -> ${base}/upcoming/
2222
[v3.0-*]: ${prefix}/${version}/fundamentals/enterprise-authentication/ -> ${base}/${version}/fundamentals/authentication/
2323
[*-v2.30]: ${prefix}/${version}/fundamentals/odata/ -> ${base}/${version}/
2424
[*-v2.30]: ${prefix}/${version}/fundamentals/crud/write-operations/bulk-write/ -> ${base}/${version}/fundamentals/crud/write-operations/
25-
[v2.22-v2.24]: ${prefix}/${version}/fundamentals/authentication/oidc/ -> ${base}/${version}/fundamentals/authentication/
25+
[v2.22-v2.24]: ${prefix}/${version}/fundamentals/authentication/oidc/ ->
26+
${base}/${version}/fundamentals/authentication/

snooty.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ language = "C#"
3434
mdb-server = "MongoDB Server"
3535
mongo-community = "MongoDB Community Edition"
3636
mongo-enterprise = "MongoDB Enterprise Edition"
37-
docs-branch = "master" # always set this to the docs branch (i.e. master, 1.7, 1.8, etc.)
38-
version-number = "3.3"
37+
# always set this to the docs branch (i.e. master, 1.7, 1.8, etc.)
38+
docs-branch = "master"
39+
version-number = "3.4"
3940
last-version-2-number = "2.30"
4041
version = "v{+version-number+}"
4142
example = "https://raw.githubusercontent.com/mongodb/docs-csharp/{+docs-branch+}/source/includes/code-examples"

source/includes/language-compatibility-table-csharp.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
- .NET Core 3.X
1515
- .NET Core 2.X
1616

17-
* - 3.0 to 3.3
17+
* - 3.0 to 3.4
1818
- ✓
1919
- ✓
2020
- ✓
@@ -61,4 +61,4 @@
6161
- ✓
6262

6363
.. [#2.14-note] {+driver-short+} versions 2.14 or later requires .NET Framework 4.7.2 or
64-
later.
64+
later.

source/includes/mongodb-compatibility-table-csharp.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
- MongoDB 3.0
1919
- MongoDB 2.6
2020

21-
* - 3.0 to 3.3
21+
* - 3.0 to 3.4
2222
- ✓
2323
- ✓
2424
- ✓

source/whats-new.txt

Lines changed: 45 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ What's New
1515
:values: reference
1616

1717
.. meta::
18-
:keywords: update, new feature, deprecation, upgrade, driver v2.25, driver v2.26, driver v2.27, driver v2.28, driver v3.0
18+
:keywords: update, new feature, deprecation, upgrade, driver v2.25, driver v2.26, driver v2.27, driver v2.28, driver v3.0, driver v3.1, driver v3.2, driver v3.3, driver v3.4
1919
:description: Discover the latest features and updates in the C# Driver, including new conventions, serializers, and support for various MongoDB functionalities.
2020

2121
Learn what's new in:
@@ -47,12 +47,49 @@ version of {+driver-short+} will raise the minimum {+mdb-server+} version from
4747
What's New in 3.4
4848
-----------------
4949

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:
5152

5253
- Adds the ``Mql.Convert()`` LINQ method to convert between types when
5354
performing aggregations. To learn more, see the
5455
:ref:`csharp-linq-convert` section of the LINQ guide.
5556

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+
5693
.. _csharp-version-3.3:
5794

5895
What's New in 3.3
@@ -98,6 +135,9 @@ The 3.3 driver release includes the following new features:
98135
- Adds support for using the ``OfType<T>()`` method and ``is`` operator to check
99136
the type of a scalar discriminator.
100137

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+
101141
.. _csharp-version-3.2:
102142

103143
What's New in 3.2
@@ -142,6 +182,9 @@ The 3.2 driver release includes the following new features:
142182
behavior for ``DateOnly`` values at the property level. To learn more,
143183
see the :ref:`csharp-poco-dateonly-attr` section of the POCOs guide.
144184

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.
187+
145188
.. _csharp-version-3.1:
146189

147190
What's New in 3.1

0 commit comments

Comments
 (0)