[JAVA-3518] Change default UUID representation to Unspecified Created: 02/Dec/19 Updated: 28/Oct/23 Resolved: 19/Dec/19 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Codecs, Configuration |
| Affects Version/s: | None |
| Fix Version/s: | 4.0.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Jeffrey Yemin | Assignee: | Jeffrey Yemin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Epic Link: | Support standard UUID representation | ||||||||||||
| Case: | (copied to CRM) | ||||||||||||
| Backwards Compatibility: | Major Change | ||||||||||||
| Description |
|
The 3.12 release introduces the UuidRepresentation setting for MongoClient but leaves the default as JAVA_LEGACY. In 4.0, we will change the default to UNSPECIFIED. This is an intentional backwards-breaking change to make all UUID-supporting drivers use a consistent UUID representation. Cross-driver specification available at https://github.com/mongodb/specifications/blob/master/source/uuid.rst |
| Comments |
| Comment by Githook User [ 19/Dec/19 ] |
|
Author: {'name': 'Jeff Yemin', 'email': 'jeff.yemin@10gen.com', 'username': 'jyemin'}Message: Fix GridFS smoke test
|
| Comment by Githook User [ 19/Dec/19 ] |
|
Author: {'name': 'Jeff Yemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}Message: Change default UUID representation from JAVA_LEGACY to UNSPECIFIED (#528)
This commit changes the default BSON representation of java.util.UUID This forces applications that encode or decode documents from MongoDB that Applications can specify the UUID representation either with the
|