<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:25:09 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>[DRIVERS-2270] Use $$unsetOrMatches for upsert and multi in update command expectations</title>
                <link>https://jira.mongodb.org/browse/DRIVERS-2270</link>
                <project id="10980" key="DRIVERS">Drivers</project>
                    <description>&lt;div class=&quot;panel&quot; style=&quot;background-color: #fafbfc;border-color: #21313c;border-style: solid;border-width: 1px;&quot;&gt;&lt;div class=&quot;panelContent&quot; style=&quot;background-color: #fafbfc;&quot;&gt;
&lt;h3&gt;&lt;a name=&quot;Summary&quot;&gt;&lt;/a&gt;&lt;b&gt;Summary&lt;/b&gt;&lt;/h3&gt;
&lt;p&gt;The &lt;tt&gt;update&lt;/tt&gt; command expectations in various &lt;tt&gt;let&lt;/tt&gt; and &lt;tt&gt;comment&lt;/tt&gt; option tests from DRIVERS-1788 and &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-742&quot; title=&quot;Add support for the comment field to all helpers&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-742&quot;&gt;&lt;del&gt;DRIVERS-742&lt;/del&gt;&lt;/a&gt; (and related follow-up tickets) are missing &lt;tt&gt;$$unsetOrMatches&lt;/tt&gt; for the &lt;tt&gt;upsert&lt;/tt&gt; and &lt;tt&gt;multi&lt;/tt&gt; options within expected update statements. Those are necessary since some drivers explicitly send &lt;tt&gt;false&lt;/tt&gt; for these options.&lt;/p&gt;

&lt;p&gt;Ultimately, we can consider requiring drivers to leave these fields unset by default (&lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-2271&quot; title=&quot;Omit upsert and multi options in update statements by default&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2271&quot;&gt;DRIVERS-2271&lt;/a&gt;), but for now spec tests will need to use &lt;tt&gt;$$unsetOrMatches&lt;/tt&gt; for portability.&lt;/p&gt;

&lt;h3&gt;&lt;a name=&quot;Motivation&quot;&gt;&lt;/a&gt;&lt;b&gt;Motivation&lt;/b&gt;&lt;/h3&gt;
&lt;h4&gt;&lt;a name=&quot;Whoistheaffectedenduser%3F&quot;&gt;&lt;/a&gt;Who is the affected end user?&lt;/h4&gt;
&lt;p&gt;Drivers that explicitly specify &lt;tt&gt;false&lt;/tt&gt; for &lt;tt&gt;upsert&lt;/tt&gt; and/or &lt;tt&gt;multi&lt;/tt&gt; options in update statements.&lt;/p&gt;

&lt;h4&gt;&lt;a name=&quot;Howdoesthisaffecttheenduser%3F&quot;&gt;&lt;/a&gt;How does this affect the end user?&lt;/h4&gt;
&lt;p&gt;APM assertions fail.&lt;/p&gt;

&lt;h4&gt;&lt;a name=&quot;Isthisissueurgent%3F&quot;&gt;&lt;/a&gt;Is this issue urgent?&lt;/h4&gt;
&lt;p&gt;This is only urgent for drivers that explicitly send &lt;tt&gt;false&lt;/tt&gt; for &lt;tt&gt;upsert&lt;/tt&gt; and &lt;tt&gt;multi&lt;/tt&gt; options.&lt;/p&gt;

&lt;h4&gt;&lt;a name=&quot;Isthisticketrequiredbyadownstreamteam%3F&quot;&gt;&lt;/a&gt;Is this ticket required by a downstream team?&lt;/h4&gt;
&lt;p&gt;No.&lt;/p&gt;

&lt;h4&gt;&lt;a name=&quot;Isthisticketonlyfortests%3F&quot;&gt;&lt;/a&gt;Is this ticket only for tests?&lt;/h4&gt;
&lt;p&gt;Yes.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="2019762">DRIVERS-2270</key>
            <summary>Use $$unsetOrMatches for upsert and multi in update command expectations</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="13453" iconUrl="https://jira.mongodb.org/images/icons/status_generic.gif" description="">Implementing</status>
                    <statusCategory id="4" key="indeterminate" colorName="inprogress"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="jmikola@mongodb.com">Jeremy Mikola</assignee>
                                    <reporter username="jmikola@mongodb.com">Jeremy Mikola</reporter>
                        <labels>
                            <label>yaml-test</label>
                    </labels>
                <created>Thu, 7 Apr 2022 19:15:30 +0000</created>
                <updated>Fri, 20 May 2022 23:38:23 +0000</updated>
                                                                <component>CRUD</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="4474201" author="xgen-internal-githook" created="Mon, 11 Apr 2022 19:31:19 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Jeremy Mikola&apos;, &apos;email&apos;: &apos;jmikola@gmail.com&apos;, &apos;username&apos;: &apos;jmikola&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-2270&quot; title=&quot;Use $$unsetOrMatches for upsert and multi in update command expectations&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2270&quot;&gt;DRIVERS-2270&lt;/a&gt;: Use $$unsetOrMatches for upsert and multi (#1174)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/specifications/commit/51ca03b07d0c6681951d82043aa5b49869a66e87&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/51ca03b07d0c6681951d82043aa5b49869a66e87&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4468985" author="jmikola@gmail.com" created="Fri, 8 Apr 2022 20:48:07 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/specifications/pull/1174&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/pull/1174&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10620">
                    <name>Issue split</name>
                                            <outwardlinks description="split to">
                                        <issuelink>
            <issuekey id="1903693">PHPLIB-748</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2020322">JAVA-4568</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2020318">CDRIVER-4330</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2020328">RUST-1260</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2020320">CSHARP-4134</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2020319">CXX-2486</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2020321">GODRIVER-2376</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2020325">MOTOR-928</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2020324">NODE-4174</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2020326">PYTHON-3219</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2020327">RUBY-2950</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2020293">CDRIVER-4329</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2020308">DRIVERS-2271</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1978145">DRIVERS-2192</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="684060">DRIVERS-604</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="938817">DRIVERS-742</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_17052" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Downstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;Sync unified CRUD spec tests with &lt;a href=&quot;https://github.com/mongodb/specifications/commit/51ca03b07d0c6681951d82043aa5b49869a66e87&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mongodb/specifications@51ca03b&lt;/a&gt;.&lt;/p&gt;</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10951" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Driver Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10748"><![CDATA[Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_23952" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Driver Compliance</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<style type='text/css'>
         #scriptField, #scriptField *{
                border: 1px solid black;
            }

            #scriptField{
                border-collapse: collapse;
            }

            #scriptField td {
                text-align: center; /* Center-align text in table cells */
            }

            #scriptField td.key {
                text-align: left; /* Left-align text in the Key column */
            }

            #scriptField a {
                text-decoration: none; /* Remove underlines from links */
                border: none; /* Remove border from links */
            }
            
            /* Add green background color to cells with FixVersion */
            #scriptField td.hasFixVersion {
                background-color: #00FF00; /* Green color code */
            }

            /* Center-align the first row headers */
            #scriptField th {
                text-align: center;
            }
        </style>
<table id='scriptField'>
  <tr>
    <th>Key</th>
    <th>Status/Resolution</th>
    <th>FixVersion</th>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/PHPLIB-748'>PHPLIB-748</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>1.13.0-beta1, 1.13.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CDRIVER-4330'>CDRIVER-4330</a>
    </td>
    <td>Backlog</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CXX-2486'>CXX-2486</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>3.7.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CSHARP-4134'>CSHARP-4134</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>2.16.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/GODRIVER-2376'>GODRIVER-2376</a>
    </td>
    <td>Done</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/JAVA-4568'>JAVA-4568</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>4.6.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/NODE-4174'>NODE-4174</a>
    </td>
    <td>Done</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/MOTOR-928'>MOTOR-928</a>
    </td>
    <td>Won't Do</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/PYTHON-3219'>PYTHON-3219</a>
    </td>
    <td>Duplicate</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/RUBY-2950'>RUBY-2950</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>2.18.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/RUST-1260'>RUST-1260</a>
    </td>
    <td>Backlog</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/SWIFT-1541'>SWIFT-1541</a>
    </td>
    <td>Won't Do</td>
    <td class=''></td>
  </tr>
</table>]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i09cj0:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>