[CSHARP-4149] Add FLE 2 behavior for CreateCollection() and Collection.Drop() Created: 24/Apr/22  Updated: 28/Oct/23  Resolved: 12/May/22

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 2.16.0

Type: New Feature Priority: Unknown
Reporter: PM Bot Assignee: Dmitry Lukyanov (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
Epic Link: FLE 2.0 Support
Quarter: FY23Q2
Upstream Changes Summary:

DRIVERS-2284:
Please see the following specification changes:

Please see https://github.com/mongodb/specifications/commit/8f6f4a3a1841c0301ca057e96afca6f4f46711a2 for the latest revision of the fle2-CreateCollection.yml and fle2-EncryptedFields-vs-EncryptedFieldsMap.yml tests.

Drivers using libmongocrypt 1.5.0-alpha2 or later should sync the fle2-CreateCollection test to this PR: https://github.com/mongodb/specifications/pull/1230

  • Sync the fle2-CreateCollection.yml CSFLE test.
  • Add encryptedFieldsMap option to AutoEncryptionOpts
  • Add encryptedFields options to CreateCollection and Collection.Drop()
  • Update behavior of CreateCollection and Collection.Drop() when the target collection has encryptedFields.

 Description   

This ticket was split from DRIVERS-2284, please see that ticket for a detailed description.



 Comments   
Comment by Dmitry Lukyanov (Inactive) [ 12/May/22 ]

We should mention in release notes that this change contains a BC. The wording should be close to "if you use FLE2 in combination with a collection jsonSchema validator that contains UUID, you MUST use GuidRepresentation.V3"

Comment by Githook User [ 12/May/22 ]

Author:

{'name': 'Dmitry Lukyanov', 'email': 'dmitry.lukyanov@mongodb.com', 'username': 'DmitryLukyanov'}

Message: CSHARP-4149: Add FLE 2 behavior for CreateCollection() and Collection.Drop(). (#790)

CSHARP-4149: Add FLE 2 behavior for CreateCollection() and Collection.Drop().
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/c7c1510f33e76e681a9db1d6ba408b9881b0a837

Generated at Wed Feb 07 21:47:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.