From a900cee94073fac045feaaaece8e6ca8417f48fb Mon Sep 17 00:00:00 2001 From: Mike Woofter <108414937+mongoKart@users.noreply.github.com> Date: Thu, 26 Sep 2024 13:50:06 -0500 Subject: [PATCH 1/2] first draft --- source/whats-new.txt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/source/whats-new.txt b/source/whats-new.txt index 9ac12d90..478be113 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. @@ -57,7 +58,14 @@ The 3.0 driver release includes the following new features: This type is available in .NET 5 and later. To learn more about the ``Half`` type, see the `Half Struct `__ - API reference page on MSDN. + 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. To learn more about this interface and use of the + ``Dispose()`` method, see + `Dispose Pattern `__ + on MSDN. .. _csharp-version-2.28: From 46140bc933268830acdc444b5f02a04b4ce5da98 Mon Sep 17 00:00:00 2001 From: Mike Woofter <108414937+mongoKart@users.noreply.github.com> Date: Wed, 2 Oct 2024 10:57:26 -0500 Subject: [PATCH 2/2] feedback --- source/whats-new.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/whats-new.txt b/source/whats-new.txt index da4e6005..67195842 100644 --- a/source/whats-new.txt +++ b/source/whats-new.txt @@ -62,7 +62,10 @@ The 3.0 driver release includes the following new features: - 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. To learn more about this interface and use of the + 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.