File tree 1 file changed +10
-1
lines changed
1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -106,4 +106,13 @@ Version 3.0 Breaking Changes
106
106
:ref:`csharp-serialization` guide.
107
107
108
108
- TLS 1.0 and 1.1 are no longer supported. You must use TLS 1.2 or higher. To learn
109
- more about configuring TLS/SSL in the {+driver-short+}, see :ref:`<csharp-tls>`.
109
+ more about configuring TLS/SSL in the {+driver-short+}, see :ref:`<csharp-tls>`.
110
+
111
+ - By default, the driver serializes ``Decimal128`` and ``decimal`` values as BSON
112
+ ``Decimal128`` values. In previous versions of the driver, the driver serialized these
113
+ values as BSON ``string`` values by default.
114
+ To serialize a ``decimal`` or ``Decimal128`` value as a string in v3.0,
115
+ apply the ``[BsonRepresentation(BsonType.String)]`` attribute to the field.
116
+
117
+ To learn more about specifying BSON types during serialization, see the
118
+ :ref:`Custom Serialization <csharp-custom-serialization>` section of the POCOs page.
You can’t perform that action at this time.
0 commit comments