-
Type: Epic
-
Resolution: Fixed
-
Priority: Major - P3
-
None
-
Component/s: None
-
None
Summary
The Java, C#, and Python drivers natively support platform types for UUID, all of which by default encode them to and decode them from BSON binary subtype 3. However, each encode the bytes in a different order from the others. To improve interoperability, BSON binary subtype 4 was introduced and defined the byte order according to RFC 4122, and a mechanism to configure each driver to encode UUIDs this way was added to each driver. The legacy representation remained as the default for each driver.
This specification moves MongoDB drivers further towards the standard UUID representation by requiring an application relying on native UUID support to explicitly specify the representation it requires.
Drivers that support native UUID types will additionally create helpers on their BsonBinary class that will aid in conversion to and from the platform native UUID type.
Cast of Characters
Lead : Jeff
Author : Jeff
POCs : Java, .Net
Documentation
- split to
-
NODE-1046 Ease using UUIDs
- Development Complete
-
JAVA-3516 Support Handling of Native UUID Types Specification
- Closed
-
RUST-687 PR: Support deserializing binary of UuidOld
- Closed
-
CSHARP-2724 Implement specification for handling native UUID types
- Closed
-
PYTHON-2152 Support Handling of Native UUID Types Specification
- Closed