Skip to content

Commit 15028fd

Browse files
authored
Merge branch 'v3.0' into docsp-43227-remove-imongoqueryable
2 parents d9ca1c4 + aaecba4 commit 15028fd

File tree

6 files changed

+20
-13
lines changed

6 files changed

+20
-13
lines changed

snooty.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ mdb-server = "MongoDB Server"
2929
mongo-community = "MongoDB Community Edition"
3030
mongo-enterprise = "MongoDB Enterprise Edition"
3131
docs-branch = "master" # always set this to the docs branch (i.e. master, 1.7, 1.8, etc.)
32-
version-number = "2.28"
32+
version-number = "3.0"
3333
version = "v{+version-number+}"
3434
example = "https://raw.githubusercontent.com/mongodb/docs-csharp/{+docs-branch+}/source/includes/code-examples"
3535
stable-api = "Stable API"

source/faq.txt

+1-5
Original file line numberDiff line numberDiff line change
@@ -215,11 +215,7 @@ If you receive an ``Unsupported filter ...`` or ``Expression not
215215
supported ...`` exception message, try the following
216216
steps:
217217

218-
1. Try configuring the new `LINQ3
219-
<https://mongodb.github.io/mongo-csharp-driver/2.17/reference/driver/crud/linq3/>`__
220-
provider. The LINQ3 provider contains many fixes and new features
221-
over the LINQ2 provider.
222-
#. Use the `{+analyzer+}
218+
1. Use the `{+analyzer+}
223219
<https://www.mongodb.com/docs/mongodb-analyzer/current/>`__ to analyze your
224220
expressions.
225221
#. Try to simplify your query where possible.

source/fundamentals/connection/connection-options.txt

-7
Original file line numberDiff line numberDiff line change
@@ -198,13 +198,6 @@ relevant options.
198198
| **Default**: ``false``
199199
| **Connection URI Example**: {+not-available+}
200200

201-
* - **LinqProvider**
202-
- | The LINQ provider to use.
203-
|
204-
| **Data Type**: `LinqProvider <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Linq.LinqProvider.html>`__
205-
| **Default**: ``LinqProvider.V3``
206-
| **Connection URI Example**: {+not-available+}
207-
208201
* - **LoadBalanced**
209202
- | Specifies whether the driver is connecting to a load balancer. You can set this
210203
| property to ``true`` only if:

source/fundamentals/connection/tls.txt

+4
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ configure your connection to use TLS/SSL, enable the TLS/SSL settings in either
2020
the :ref:`connection string <csharp-connection-uri>` or
2121
:ref:`MongoClientSettings <csharp-mongo-client-settings>`.
2222

23+
.. important:: TLS 1.2
24+
25+
The {+driver-short+} supports only TLS 1.2 or higher.
26+
2327
.. _csharp-tls-enable:
2428

2529
Enable TLS

source/fundamentals/linq.txt

+5
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ strongly typed collections of objects by using language keywords and operators.
2828
The {+driver-short+} automatically translates LINQ queries into
2929
:manual:`aggregation operations </aggregation>`.
3030

31+
.. important::
32+
33+
LINQ3 is the only LINQ provider available in the {+driver-long+}. If you have
34+
manually configured your project to use LINQ2, it will not compile.
35+
3136
The examples in this guide use the ``restaurants`` collection
3237
in the ``sample_restaurants`` database provided in the :atlas:`Atlas sample datasets </sample-data>`.
3338
To learn how to create a free MongoDB Atlas cluster and load the sample datasets,

source/upgrade.txt

+9
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,15 @@ Version 3.0 Potential Breaking Change
7070
``IQueryable`` interface, following the pattern used by most other LINQ providers. If your
7171
application contains references to ``IMongoQueryable``, replace them with ``IQueryable``.
7272

73+
- This version removes the ``ClusterBuilder.ConfigureSdamLogging()`` method.
74+
To configure logging in your application, see the :ref:`csharp-logging` guide.
75+
76+
- The LINQ2 provider has been removed from this version of the driver.
77+
You must use LINQ3 for all LINQ queries.
78+
79+
- TLS 1.0 and 1.1 are no longer supported. You must use TLS 1.2 or higher. To learn
80+
more about configuring TLS/SSL in the {+driver-short+}, see :ref:`<csharp-tls>`.
81+
7382
.. _csharp-breaking-changes-2.28.0:
7483

7584
Version 2.28.0 Potential Breaking Change

0 commit comments

Comments
 (0)