Skip to content

v3 fast follows #265

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -47,11 +47,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
Loading