diff --git a/source/fundamentals/connection/connection-options.txt b/source/fundamentals/connection/connection-options.txt index e5386b1b..e94b7ab7 100644 --- a/source/fundamentals/connection/connection-options.txt +++ b/source/fundamentals/connection/connection-options.txt @@ -402,6 +402,20 @@ relevant options. | **Default**: ``0`` | **Connection URI Example**: ``srvMaxHosts=3`` + * - **SrvServiceName** + - | The service name of the `SRV resource records `__ + | that the driver retrieves to construct your seedlist. This + | property overrides the default service name for SRV lookup in + | discovery and polling. + | + | You can use this property only if the connection-string scheme is set + | to ``ConnectionStringScheme.MongoDBPlusSrv``. You cannot use it when connecting + | to a replica set. + | + | **Data Type**: {+string-data-type+} + | **Default**: ``"mongodb"`` + | **Connection URI Example**: ``srvServiceName="customname"`` + * - **SslSettings** - | TLS/SSL options, including client certificates, revocation handling, and | enabled and disabled TLS/SSL protocols. diff --git a/source/whats-new.txt b/source/whats-new.txt index 28ae34bb..2c7cb601 100644 --- a/source/whats-new.txt +++ b/source/whats-new.txt @@ -29,7 +29,7 @@ Learn what's new in: * :ref:`Version 2.28 ` * :ref:`Version 2.27 ` * :ref:`Version 2.26 ` -* :ref:`Version 2.25 ` +* :ref:`Version 2.25 ` .. _upcoming-breaking-changes: @@ -406,6 +406,7 @@ The 2.26 driver release includes the following new features: - Implemented read and write retries to other ``mongos`` instances when possible. +.. _csharp-version-2.25: .. _version-2.25: What's New in 2.25 @@ -415,11 +416,16 @@ The 2.25 driver release includes the following new features: - Added support for the ``MONGODB-OIDC`` authentication mechanism and automatic token acquisition for Azure Identity Provider. + - Added the class name to the error message reported when ``BsonClassMapSerializer`` cannot locate a matching creator. + - Added a ``LoggedStages`` field to surface the MQL executed after performing a LINQ query. + - Added support for overriding the ``"mongodb"`` service name with a custom one - by using the ``srvServiceName`` connection option. + by using the ``srvServiceName`` connection option. To learn more, see + the :ref:`csharp-connection-options` guide. + - Improved behavior of bulk write operations to prevent enumerating the requests parameter more than once.