Skip to content

Commit

Permalink
v3 Post-Release Updates (#265)
Browse files Browse the repository at this point in the history
  • Loading branch information
mongoKart authored Oct 22, 2024
1 parent cd5c1b5 commit 4409e9e
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 5 deletions.
5 changes: 5 additions & 0 deletions source/includes/language-compatibility-table-csharp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@
- .NET 4.7 [#2.14-note]_
- .NET 4.6

* - 3.0
- ✓
- ✓
-

* - 2.13 to 2.30
- ✓
- ✓
Expand Down
18 changes: 18 additions & 0 deletions source/upgrade/v3.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,18 @@ Version 3.0 Breaking Changes
and {+mdb-server+} versions, visit the
:ref:`Compatibility <csharp-compatibility-tables>` page.

- The driver drops support for .NET Core 2.x and .NET Framework 4.6. You must upgrade to
.NET Core 3.x or later, or .NET Framework 4.7.2 or later.

To learn more about the compatibility between .NET/C# driver versions
and .NET versions, visit the
:ref:`Compatibility <csharp-compatibility-tables>` page.

- The driver removes the
`mongocsharpdriver <https://www.nuget.org/packages/mongocsharpdriver/#readme-body-tab>`__
NuGet package, which implements the legacy v1.x API in driver versions 2.x.
If you're using the v1.x API, you must migrate to the new API.

- The classes, methods, and properties in the ``MongoDB.Driver.Core`` namespace that were
deprecated in v{+last-version-2-number+} are marked ``internal``. If the driver
provides a replacement for a deprecated class, method, or property, the compiler
Expand Down Expand Up @@ -155,6 +167,12 @@ Version 3.0 Breaking Changes
authentication provider in your application's bootstrap code. To learn more about
using AWS authentication with the {+driver-short+}, see :ref:`csharp-mongodb-aws`.

- To use In-Use Encryption, you must add the ``MongoDB.Driver.Encryption`` package to
your project and register the encryption mechanism in your application's bootstrap code.
To learn more about using In-Use Encryption with the {+driver-short+}, see
:manual:`In-Use Encryption </core/security-in-use-encryption>` in the {+mdb-server+}
manual.

- If you try to serialize or deserialize a floating-point
``Infinity`` or ``NaN`` value to an integral representation, the driver throws an
``OverflowException``. To learn more about floating-point ``Infinity`` and ``NaN``
Expand Down
5 changes: 0 additions & 5 deletions source/whats-new.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@ What's New in 3.0

The 3.0 driver release includes the following new features:

- Removes the
`mongocsharpdriver <https://www.nuget.org/packages/mongocsharpdriver/#readme-body-tab>`__ NuGet package,
which implements the v1.x driver API in driver versions 2.x. This package will no
longer receive updates.

- Adds the ``MongoClientSettings.TranslationOptions`` connection option, which specifies
options for translating LINQ queries to the Query API. See :ref:`csharp-connection-options`
for more information.
Expand Down

0 comments on commit 4409e9e

Please sign in to comment.