From bf928a4034d2959b03470f6544ed633ae196cca5 Mon Sep 17 00:00:00 2001 From: Mike Woofter <108414937+mongoKart@users.noreply.github.com> Date: Tue, 22 Oct 2024 17:17:22 -0500 Subject: [PATCH] v3 Post-Release Updates (#265) (cherry picked from commit 4409e9ee210e18633fe2449202c2186734e8af2f) --- .../language-compatibility-table-csharp.rst | 5 +++++ source/upgrade/v3.txt | 18 ++++++++++++++++++ source/whats-new.txt | 5 ----- 3 files changed, 23 insertions(+), 5 deletions(-) diff --git a/source/includes/language-compatibility-table-csharp.rst b/source/includes/language-compatibility-table-csharp.rst index af1eedbb..ea72ea6e 100644 --- a/source/includes/language-compatibility-table-csharp.rst +++ b/source/includes/language-compatibility-table-csharp.rst @@ -45,6 +45,11 @@ - .NET 4.7 [#2.14-note]_ - .NET 4.6 + * - 3.0 + - ✓ + - ✓ + - + * - 2.13 to 2.30 - ✓ - ✓ diff --git a/source/upgrade/v3.txt b/source/upgrade/v3.txt index c0619dc5..46b5f236 100644 --- a/source/upgrade/v3.txt +++ b/source/upgrade/v3.txt @@ -61,6 +61,18 @@ Version 3.0 Breaking Changes and {+mdb-server+} versions, visit the :ref:`Compatibility ` 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 ` page. + +- The driver removes the + `mongocsharpdriver `__ + 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 @@ -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 ` 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`` diff --git a/source/whats-new.txt b/source/whats-new.txt index 8ef5042f..d4b88da5 100644 --- a/source/whats-new.txt +++ b/source/whats-new.txt @@ -45,11 +45,6 @@ What's New in 3.0 The 3.0 driver release includes the following new features: -- Removes the - `mongocsharpdriver `__ 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.