Skip to content

Commit f909d87

Browse files
DOCSP-41883 Show binding redirects on upgrade page (#220)
1 parent 54d603c commit f909d87

File tree

2 files changed

+53
-2
lines changed

2 files changed

+53
-2
lines changed

source/upgrade.txt

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44
Upgrade Driver Versions
55
=======================
66

7+
.. facet::
8+
:name: genre
9+
:values: reference
10+
11+
.. meta::
12+
:keywords: update, breaking change, releases
13+
714
.. contents:: On this page
815
:local:
916
:backlinks: none
@@ -50,6 +57,45 @@ changes between the current and upgrade versions. For example, if you
5057
are upgrading the driver from v2.0 to v2.20, address all breaking changes from
5158
the version after v2.0 including any listed under v2.20.
5259

60+
.. _csharp-breaking-changes-2.28.0:
61+
62+
Version 2.28.0 Potential Breaking Change
63+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
64+
65+
- All {+driver-short+} components are strongly named. If your application
66+
has dependencies that reference multiple {+driver-short+} versions, you must create
67+
binding redirects, as shown in the following example:
68+
69+
.. code-block:: csharp
70+
71+
<configuration>
72+
<runtime>
73+
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
74+
<dependentAssembly>
75+
<assemblyIdentity name="MongoDB.Driver"
76+
publicKeyToken="94992a530f44e321"
77+
culture="neutral" />
78+
<bindingRedirect oldVersion="2.28.0.0"
79+
newVersion="<version number to use>" />
80+
</dependentAssembly>
81+
<dependentAssembly>
82+
<assemblyIdentity name="MongoDB.Bson"
83+
publicKeyToken="94992a530f44e321"
84+
culture="neutral" />
85+
<bindingRedirect oldVersion="2.28.0.0"
86+
newVersion="<version number to use>" />
87+
</dependentAssembly>
88+
<dependentAssembly>
89+
<assemblyIdentity name="MongoDB.Driver.Core"
90+
publicKeyToken="94992a530f44e321"
91+
culture="neutral" />
92+
<bindingRedirect oldVersion="2.28.0.0"
93+
newVersion="<version number to use>" />
94+
</dependentAssembly>
95+
</assemblyBinding>
96+
</runtime>
97+
</configuration>
98+
5399
.. _csharp-breaking-changes-2.21.0:
54100

55101
Version 2.21.0 Breaking Changes

source/whats-new.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,15 @@ Learn what's new in:
3737
What's New in 2.28
3838
------------------
3939

40+
.. warning:: Potential Breaking Change in v2.28
41+
42+
- All {+driver-short+} components are strongly named. If your application
43+
has dependencies that reference multiple {+driver-short+}
44+
versions, you must create binding redirects to manage those dependencies.
45+
For more information, see :ref:`csharp-breaking-changes-2.28.0`.
46+
4047
The 2.28 driver release includes the following new features:
4148

42-
- All {+driver-short+} components are strongly named. If your application
43-
contains binding redirects or dynamic assembly loading, it might require modification.
4449
- Adds support for additional numeric conversions involving ``Nullable<T>``.
4550
- Adds support for the ``delegated`` option when using KMIP for :ref:`CSFLE or
4651
Queryable Encryption <csharp-fle>`.

0 commit comments

Comments
 (0)