Skip to content
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

DOCSP-43525 - Decimal128 #240

Merged
merged 5 commits into from
Oct 1, 2024
Merged
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
11 changes: 10 additions & 1 deletion source/upgrade/v3.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,13 @@ Version 3.0 Breaking Changes
:ref:`csharp-serialization` guide.

- TLS 1.0 and 1.1 are no longer supported. You must use TLS 1.2 or higher. To learn
more about configuring TLS/SSL in the {+driver-short+}, see :ref:`<csharp-tls>`.
more about configuring TLS/SSL in the {+driver-short+}, see :ref:`<csharp-tls>`.

- By default, the driver serializes ``Decimal128`` and ``decimal`` values as BSON
``Decimal128`` values. In previous versions of the driver, the driver serialized these
values as BSON ``string`` values by default.
To serialize a ``decimal`` or ``Decimal128`` value as a string in v3.0,
apply the ``[BsonRepresentation(BsonType.String)]`` attribute to the field.

To learn more about specifying BSON types during serialization, see the
:ref:`Custom Serialization <csharp-custom-serialization>` section of the POCOs page.
Loading