[JAVA-4643] EncryptOpts queryType should accept a string consistent with queryType in encryptedFields Created: 12/Jun/22 Updated: 29/Jun/22 Resolved: 29/Jun/22 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Client Side Encryption |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Spec Change | Priority: | Unknown |
| Reporter: | PM Bot | Assignee: | Ross Lawley |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Upstream Changes Summary: |
Bindings ChangesUpgrade to libmongocrypt 1.5.0-rc2. Binaries can be downloaded from the upload-all task. Bindings in the libmongocrypt repository were updated in MONGOCRYPT-414. Drivers with bindings outside of the libmongocrypt repo will need to update bindings code. Replace calls of mongocrypt_ctx_setopt_index_type with mongocrypt_ctx_setopt_algorithm. Update calls of mongocrypt_ctx_setopt_query_type to use the string "equality". Driver ChangesChange EncryptOpts.QueryType from an enum to a string. See the specification change here: https://github.com/mongodb/specifications/commit/cb58ded938146fcbce2b04a91d09f72d66832603. See the C driver changes for reference: https://github.com/mongodb/mongo-c-driver/commit/fe2bae72bc733515d766a46a8799783667396590 |
||||||||
| Description |
|
This ticket was split from DRIVERS-2352, please see that ticket for a detailed description. |
| Comments |
| Comment by Githook User [ 29/Jun/22 ] |
|
Author: {'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}Message: Updated EncryptOptions queryType to be a String Allows for support for future new options and is inline with algorithm
|