Skip to content

Commit 23cf3d4

Browse files
authored
DOCSP-49705: v3.4 release (#626)
* DOCSP-49705: v3.4 release * newline fix * newline fix * MW PR fixes 1 * RS tech review 1
1 parent 7de5c71 commit 23cf3d4

File tree

6 files changed

+56
-12
lines changed

6 files changed

+56
-12
lines changed

config/redirects

Lines changed: 2 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,4 @@ 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/ -> ${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/fundamentals/crud/restful-api-tutorial.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ service.
271271
The preceding code sets up a match filter to determine which document or
272272
documents receive an update, in this case adding an item to your playlist.
273273
The code matches based on the ``Id`` field, which is unique. Then, the
274-
code defines the update critera, which is an ``AddtoSet`` operation that
274+
code defines the update criteria, which is an ``AddtoSet`` operation that
275275
only adds an item to the array if it doesn't already exist in the array.
276276

277277
The ``UpdateOneAsync`` methods only updates on document even if the match
@@ -374,4 +374,4 @@ guides:
374374
- :ref:`csharp-insert-guide`
375375
- :ref:`csharp-retrieve`
376376
- :ref:`csharp-update-one`
377-
- :ref:`csharp-delete-guide`
377+
- :ref:`csharp-delete-guide`

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

Lines changed: 2 additions & 3 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
- ✓
@@ -60,5 +60,4 @@
6060
- ✓
6161
- ✓
6262

63-
.. [#2.14-note] {+driver-short+} versions 2.14 or later requires .NET Framework 4.7.2 or
64-
later.
63+
.. [#2.14-note] {+driver-short+} versions 2.14 and later require .NET Framework 4.7.2 or 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: 46 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,50 @@ 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(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+
5694
.. _csharp-version-3.3:
5795

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

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+
101142
.. _csharp-version-3.2:
102143

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

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.
188+
145189
.. _csharp-version-3.1:
146190

147191
What's New in 3.1

0 commit comments

Comments
 (0)