<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:47:24 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[CSHARP-4157] Add FLE 2 API to ClientEncryptionOpts</title>
                <link>https://jira.mongodb.org/browse/CSHARP-4157</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;This ticket was split from &lt;tt&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-2302&quot; title=&quot;Add FLE 2 API to ClientEncryptionOpts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2302&quot;&gt;&lt;del&gt;DRIVERS-2302&lt;/del&gt;&lt;/a&gt;&lt;/tt&gt;, please see that ticket for a detailed description. &lt;/p&gt;</description>
                <environment></environment>
        <key id="2035943">CSHARP-4157</key>
            <summary>Add FLE 2 API to ClientEncryptionOpts</summary>
                <type id="14901" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14700&amp;avatarType=issuetype">Spec Change</type>
                                            <priority id="10300" iconUrl="https://jira.mongodb.org/images/icons/priorities/medium.svg">Unknown</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="13201">Fixed</resolution>
                                        <assignee username="dmitry.lukyanov@mongodb.com">Dmitry Lukyanov</assignee>
                                    <reporter username="dbeng-pm-bot">PM Bot</reporter>
                        <labels>
                    </labels>
                <created>Thu, 28 Apr 2022 21:50:27 +0000</created>
                <updated>Sat, 28 Oct 2023 11:47:15 +0000</updated>
                            <resolved>Thu, 2 Jun 2022 18:36:16 +0000</resolved>
                                                    <fixVersion>2.16.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="4590922" author="xgen-internal-githook" created="Thu, 2 Jun 2022 18:35:27 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Dmitry Lukyanov&apos;, &apos;email&apos;: &apos;dmitry.lukyanov@mongodb.com&apos;, &apos;username&apos;: &apos;DmitryLukyanov&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-4153&quot; title=&quot;Add FLE 2 API to AutoEncryptionOpts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-4153&quot;&gt;&lt;del&gt;CSHARP-4153&lt;/del&gt;&lt;/a&gt;: Add FLE 2 API to AutoEncryptionOpts. (#793)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-4160&quot; title=&quot;Add FLE 2 test for compactStructuredEncryptionData&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-4160&quot;&gt;&lt;del&gt;CSHARP-4160&lt;/del&gt;&lt;/a&gt;: Add FLE 2 test for compactStructuredEncryptionData.&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-4157&quot; title=&quot;Add FLE 2 API to ClientEncryptionOpts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-4157&quot;&gt;&lt;del&gt;CSHARP-4157&lt;/del&gt;&lt;/a&gt;: Add FLE 2 API to ClientEncryptionOpts.&lt;br/&gt;
CSHARp-4175: Ban comparisons to encrypted fields in collection validator and partialFilterExpression.&lt;br/&gt;
Co-authored-by: Boris &amp;lt;boris.dogadov@mongodb.com&amp;gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/20a640b50ae6656581f36b95cb0771bd7a5e42da&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/20a640b50ae6656581f36b95cb0771bd7a5e42da&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4588556" author="xgen-internal-githook" created="Wed, 1 Jun 2022 23:08:35 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Dmitry Lukyanov&apos;, &apos;email&apos;: &apos;dmitry.lukyanov@mongodb.com&apos;, &apos;username&apos;: &apos;DmitryLukyanov&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-4153&quot; title=&quot;Add FLE 2 API to AutoEncryptionOpts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-4153&quot;&gt;&lt;del&gt;CSHARP-4153&lt;/del&gt;&lt;/a&gt;: Add FLE 2 API to AutoEncryptionOpts. (#330)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-4157&quot; title=&quot;Add FLE 2 API to ClientEncryptionOpts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-4157&quot;&gt;&lt;del&gt;CSHARP-4157&lt;/del&gt;&lt;/a&gt;: Add FLE 2 API to ClientEncryptionOpts.&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-4190&quot; title=&quot;Rename csfle shared library references&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-4190&quot;&gt;&lt;del&gt;CSHARP-4190&lt;/del&gt;&lt;/a&gt;: Rename csfle shared library references.&lt;/p&gt;

&lt;p&gt;Co-authored-by: Boris &amp;lt;boris.dogadov@mongodb.com&amp;gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/libmongocrypt/commit/d5d0e9609afa49f87eef7aee62ee1fe504b08d77&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libmongocrypt/commit/d5d0e9609afa49f87eef7aee62ee1fe504b08d77&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10620">
                    <name>Issue split</name>
                                                                <inwardlinks description="split from">
                                        <issuelink>
            <issuekey id="2035940">DRIVERS-2302</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>CSHARP-4132</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_21553" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Quarter</customfieldname>
                        <customfieldvalues>
                                        <label>FY23Q2</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr494c:js</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_22279" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Server Compat</customfieldname>
                        <customfieldvalues>
                                        <label>6.0</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_21457" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Upstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-2302&quot; title=&quot;Add FLE 2 API to ClientEncryptionOpts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2302&quot;&gt;&lt;del&gt;DRIVERS-2302&lt;/del&gt;&lt;/a&gt;:&lt;br/&gt;
Please see these specifications PRs for the detailed changes and new prose tests:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;&lt;a href=&quot;https://github.com/mongodb/specifications/pull/1200&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/pull/1200&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;https://github.com/mongodb/specifications/pull/1218&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/pull/1218&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Please see the &lt;a href=&quot;https://github.com/kevinAlbs/mongo-go-driver/pull/3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Go driver implementation&lt;/a&gt; for reference.&lt;/p&gt;

&lt;h1&gt;&lt;a name=&quot;Bindingschanges&quot;&gt;&lt;/a&gt;Bindings changes&lt;/h1&gt;
&lt;p&gt;Upgrade libmongocrypt dependency to 1.5.0. Drivers can use 1.5.0-alpha1 to test. Binaries are available from this &lt;a href=&quot;https://spruce.mongodb.com/task/libmongocrypt_publish_snapshot_upload_all_bc7f312c5f98e7d697df045d7e56a49abcceeaa6_22_05_04_20_57_02/logs?execution=0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;upload-all task&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Update the bindings to libmongocrypt to add the new functions: &lt;tt&gt;mongocrypt_ctx_setopt_index_type&lt;/tt&gt;, &lt;tt&gt;mongocrypt_ctx_setopt_query_type&lt;/tt&gt;, and &lt;tt&gt;mongocrypt_ctx_setopt_contention_factor&lt;/tt&gt;.&lt;/p&gt;

&lt;h1&gt;&lt;a name=&quot;Driverchanges&quot;&gt;&lt;/a&gt;Driver changes&lt;/h1&gt;

&lt;p&gt;Add the new driver API options: &lt;tt&gt;EncryptOpts.queryType&lt;/tt&gt; and &lt;tt&gt;EncryptOpts.contentionFactor&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;Pass &lt;tt&gt;EncryptOpts.queryType&lt;/tt&gt; to libmongocrypt with &lt;tt&gt;mongocrypt_ctx_setopt_query_type&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;Pass &lt;tt&gt;EncryptOpts.contentionFactor&lt;/tt&gt; to libmongocrypt with &lt;tt&gt;mongocrypt_ctx_setopt_contention_factor&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;If &lt;tt&gt;EncryptOpts.algorithm&lt;/tt&gt; is &quot;Indexed&quot;, call &lt;tt&gt;mongocrypt_ctx_setopt_index_type(ctx, MONGOCRYPT_INDEX_TYPE_EQUALITY)&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;If &lt;tt&gt;EncryptOpts.algorithm&lt;/tt&gt; is &quot;Unindexed&quot;, call &lt;tt&gt;mongocrypt_ctx_setopt_index_type(ctx, MONGOCRYPT_INDEX_TYPE_NONE)&lt;/tt&gt;.&lt;/p&gt;

&lt;h1&gt;&lt;a name=&quot;Testchanges&quot;&gt;&lt;/a&gt;Test changes&lt;/h1&gt;

&lt;p&gt;Add new prose tests for FLE 2.0 explicit encryption.&lt;/p&gt;</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>