File tree 1 file changed +11
-0
lines changed
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ The 3.0 driver release includes the following new features:
49
49
`mongocsharpdriver <https://www.nuget.org/packages/mongocsharpdriver/#readme-body-tab>`__ NuGet package,
50
50
which implements the v1.x driver API in driver versions 2.x. This package will no
51
51
longer receive updates.
52
+
52
53
- Adds the ``MongoClientSettings.TranslationOptions`` connection option, which specifies
53
54
options for translating LINQ queries to the Query API. See :ref:`csharp-connection-options`
54
55
for more information.
@@ -59,6 +60,16 @@ The 3.0 driver release includes the following new features:
59
60
`Half Struct <https://learn.microsoft.com/en-us/dotnet/api/system.half?view=net-8.0>`__
60
61
API reference page on MSDN.
61
62
63
+ - The ``IMongoClient`` interface inherits the ``IDisposable`` interface. As a result, the
64
+ ``MongoClient`` class and other classes that implement the ``IMongoClient`` interface
65
+ contain a ``Dispose()`` method, which disposes of the underlying cluster and
66
+ connections to the MongoDB server. This implementation is experimental.
67
+
68
+ To learn more about the ``IDisposable`` interface and use of the
69
+ ``Dispose()`` method, see
70
+ `Dispose Pattern <https://learn.microsoft.com/en-us/dotnet/standard/design-guidelines/dispose-pattern>`__
71
+ on MSDN.
72
+
62
73
- Adds support for the ``DateOnly`` type, which represents a date value with no
63
74
time component. This type is available in .NET 6 and later. To learn more about the
64
75
``DateOnly`` type, see the
You can’t perform that action at this time.
0 commit comments