From dabcfdac144787620a94ff61b635fb1660e77aa3 Mon Sep 17 00:00:00 2001 From: Jordan Smith <45415425+jordan-smith721@users.noreply.github.com> Date: Mon, 13 Jan 2025 10:56:12 -0800 Subject: [PATCH] DOCSP-46293 Add GUID to BSON mapping bullet (#408) (cherry picked from commit 0189757ac8a17099adeb27b5cee3024b865ca9ce) --- source/upgrade/v3.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/upgrade/v3.txt b/source/upgrade/v3.txt index 54ca6344..c79003e6 100644 --- a/source/upgrade/v3.txt +++ b/source/upgrade/v3.txt @@ -116,7 +116,10 @@ Version 3.0 Breaking Changes - The ``BsonBinaryData.GuidRepresentation`` property has been removed. - You can call the ``BsonBinaryData.ToGuid()`` method only on ``BsonBinaryData`` objects of subtype 4. If the object has any other subtype, you must call the - ``BsonBinaryData.ToGuid(GuidRepresentation)`` method and specify the subtype. + ``BsonBinaryData.ToGuid(GuidRepresentation)`` method and specify the subtype. + - GUID conversion by using the ``BsonTypeMapper`` class has been removed. To + convert ``GUID`` values to BSON, use the ``BsonBindaryData(, + GuidRepresentation.Standard)`` constructor. The preceding changes affect your application only if you serialize and deserialize BSON documents directly. If you map your MongoDB documents only to :ref:`csharp-poco`,