Skip to content

DOCSP-37452: srvServiceName cxn opt #593

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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
14 changes: 14 additions & 0 deletions source/fundamentals/connection/connection-options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,20 @@ relevant options.
| **Default**: ``0``
| **Connection URI Example**: ``srvMaxHosts=3``

* - **SrvServiceName**
- | The service name of the `SRV resource records <https://www.rfc-editor.org/rfc/rfc2782>`__
| 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.
Expand Down
10 changes: 8 additions & 2 deletions source/whats-new.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Learn what's new in:
* :ref:`Version 2.28 <csharp-version-2.28>`
* :ref:`Version 2.27 <csharp-version-2.27>`
* :ref:`Version 2.26 <csharp-version-2.26>`
* :ref:`Version 2.25 <version-2.25>`
* :ref:`Version 2.25 <csharp-version-2.25>`

.. _upcoming-breaking-changes:

Expand Down Expand Up @@ -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
Expand All @@ -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.
Loading