diff --git a/source/whats-new.txt b/source/whats-new.txt index 50aec48a..67195842 100644 --- a/source/whats-new.txt +++ b/source/whats-new.txt @@ -49,6 +49,7 @@ The 3.0 driver release includes the following new features: `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. @@ -59,6 +60,16 @@ The 3.0 driver release includes the following new features: `Half Struct `__ API reference page on MSDN. +- The ``IMongoClient`` interface inherits the ``IDisposable`` interface. As a result, the + ``MongoClient`` class and other classes that implement the ``IMongoClient`` interface + contain a ``Dispose()`` method, which disposes of the underlying cluster and + connections to the MongoDB server. This implementation is experimental. + + To learn more about the ``IDisposable`` interface and use of the + ``Dispose()`` method, see + `Dispose Pattern `__ + on MSDN. + - Adds support for the ``DateOnly`` type, which represents a date value with no time component. This type is available in .NET 6 and later. To learn more about the ``DateOnly`` type, see the