<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:24:05 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-1828] Remove insertedCount from insert result assertions and improve usage of $$unsetOrMatches</title>
                <link>https://jira.mongodb.org/browse/DRIVERS-1828</link>
                <project id="10980" key="DRIVERS">Drivers</project>
                    <description>&lt;p&gt;Drivers should sync tests in &lt;tt&gt;crud/unified&lt;/tt&gt; and &lt;tt&gt;unified-test-format/tests/valid-pass&lt;/tt&gt;&#160;with &lt;a href=&quot;https://github.com/mongodb/specifications/commit/44f83106033a609f2af40e3e4d99852a03096ba5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;44f8310&lt;/a&gt;.&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;Spec tests for DRIVERS-1237 inadvertently added &lt;tt&gt;insertedCount&lt;/tt&gt; to insert one/many result assertions, despite that never being a documented field in the CRUD spec. The field was removed in &lt;a href=&quot;https://github.com/mongodb/specifications/commit/fc21cb7330925647e7961c324f1594096025c17e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;fc21cb7&lt;/a&gt; (associated with DRIVERS-1237) for insertOne operations but that commit neglected to also remove it for insertMany. Since various language tickets have already been closed, this new ticket will be used to track the remaining changes.&lt;/p&gt;

&lt;p&gt;Additionally, this ticket will address instances where &lt;tt&gt;$$unsetOrMatches&lt;/tt&gt; should have been used in test files (e.g. BulkWriteResult reported through BulkWriteException, entire InsertOneResult and InsertManyResult objects). This was originally done in some test files (e.g. &lt;tt&gt;poc-session.yml&lt;/tt&gt;) in &lt;a href=&quot;https://github.com/mongodb/specifications/commit/e4808b84f804f8b08293dcd51ce107e10a40589f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;e4808b8&lt;/a&gt; (original commit for DRIVERS-709), but missed in subsequent tests.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1805999">DRIVERS-1828</key>
            <summary>Remove insertedCount from insert result assertions and improve usage of $$unsetOrMatches</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="9">Done</resolution>
                                        <assignee username="jmikola@mongodb.com">Jeremy Mikola</assignee>
                                    <reporter username="jmikola@mongodb.com">Jeremy Mikola</reporter>
                        <labels>
                            <label>test-runner</label>
                            <label>yaml-test</label>
                    </labels>
                <created>Thu, 1 Jul 2021 14:50:18 +0000</created>
                <updated>Fri, 15 Jul 2022 20:50:42 +0000</updated>
                            <resolved>Fri, 15 Jul 2022 20:50:42 +0000</resolved>
                                                        <component>CRUD</component>
                    <component>Unified Test Runner</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="3914342" author="jmikola@gmail.com" created="Fri, 2 Jul 2021 13:32:59 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=esha.bhargava&quot; class=&quot;user-hover&quot; rel=&quot;esha.bhargava&quot;&gt;esha.bhargava&lt;/a&gt; / &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=alexander.golin&quot; class=&quot;user-hover&quot; rel=&quot;alexander.golin&quot;&gt;alexander.golin&lt;/a&gt;: Please create language tickets for CDRIVER, JAVA, NODE, and PYTHON. I linked up any existing language tickets from DRIVERS-1237 that were not yet resolved.&lt;/p&gt;</comment>
                            <comment id="3914312" author="xgen-internal-githook" created="Fri, 2 Jul 2021 13:22:55 +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-1828&quot; title=&quot;Remove insertedCount from insert result assertions and improve usage of $$unsetOrMatches&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-1828&quot;&gt;&lt;del&gt;DRIVERS-1828&lt;/del&gt;&lt;/a&gt;: Remove insertedCount and improve use of $$unsetOrMatches (#1034)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/specifications/commit/44f83106033a609f2af40e3e4d99852a03096ba5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/44f83106033a609f2af40e3e4d99852a03096ba5&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3912405" author="jmikola@gmail.com" created="Thu, 1 Jul 2021 15:21:24 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/specifications/pull/1034&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/pull/1034&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10620">
                    <name>Issue split</name>
                                            <outwardlinks description="split to">
                                        <issuelink>
            <issuekey id="1807564">PYTHON-2794</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1807561">CDRIVER-4051</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1807562">JAVA-4220</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1807563">NODE-3398</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1786665">PHPLIB-665</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1613156">RUBY-2528</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </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_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/SWIFT-1107'>SWIFT-1107</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>bson-3.0.2, 1.2.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/MOTOR-668'>MOTOR-668</a>
    </td>
    <td>Duplicate</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/RUST-665'>RUST-665</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>2.0.0-beta.3</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/PHPLIB-665'>PHPLIB-665</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>1.9.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/RUBY-2528'>RUBY-2528</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>2.18.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CXX-2186'>CXX-2186</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-3399'>CSHARP-3399</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>2.13.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/GODRIVER-1870'>GODRIVER-1870</a>
    </td>
    <td>Done</td>
    <td class='hasFixVersion'>1.6.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CDRIVER-4051'>CDRIVER-4051</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>1.18.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/PYTHON-2794'>PYTHON-2794</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>3.12, 4.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/NODE-3398'>NODE-3398</a>
    </td>
    <td>Done</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/JAVA-4220'>JAVA-4220</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>4.4.0</td>
  </tr>
</table>]]></customfieldvalue>


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