Skip to content

Commit 10fcd3d

Browse files
committed
RUBY-2090 update release notes for dbref
1 parent 64be437 commit 10fcd3d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/release-notes.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ This release includes the following new features:
2525
- Added support for Azure Key Vault, Google Cloud Key Management, and any
2626
KMIP compliant Key Management System to be used as master key storage for
2727
client side encryption.
28+
- The DBRef class has been moved to bson-ruby and requires bson-ruby 4.13.0
29+
or greater. For backwards compatibility, BSON::DBRef is aliased as Mongo::DBRef.
30+
The BSON::DBRef class derives from BSON::Document, unlike Mongo::DBRef which
31+
derived from Object. BSON::DBRef retains all fields, unlike Mongo::DBRef which
32+
only allowed $ref, $id, and $db. BSON::DBRef also reorders the fields if
33+
necessary to place $ref, $id, and $db first, in that order.
2834

2935
2.17
3036
====

0 commit comments

Comments
 (0)