<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:22:03 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-658] New stage alias: $replaceWith</title>
                <link>https://jira.mongodb.org/browse/DRIVERS-658</link>
                <project id="10980" key="DRIVERS">Drivers</project>
                    <description>&lt;p&gt;Add $replaceWith as a shortcut for {$replaceRoot: {newRoot: expression}}.&lt;/p&gt;</description>
                <environment></environment>
        <key id="769027">DRIVERS-658</key>
            <summary>New stage alias: $replaceWith</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</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="-1">Unassigned</assignee>
                                    <reporter username="charlie.swanson@mongodb.com">Charlie Swanson</reporter>
                        <labels>
                    </labels>
                <created>Wed, 15 May 2019 16:21:19 +0000</created>
                <updated>Sat, 28 Oct 2023 10:45:06 +0000</updated>
                            <resolved>Thu, 18 Jul 2019 18:32:45 +0000</resolved>
                                                                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="2361294" author="xgen-internal-githook" created="Wed, 7 Aug 2019 14:52:43 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Ross Lawley&apos;, &apos;username&apos;: &apos;rozza&apos;, &apos;email&apos;: &apos;ross.lawley@gmail.com&apos;}
&lt;p&gt;Message: Added replaceWith helper to Aggregates&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-658&quot; title=&quot;New stage alias: $replaceWith&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-658&quot;&gt;&lt;del&gt;DRIVERS-658&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-scala-driver/commit/239829568f2d415952a304364867a04bbb8912af&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-scala-driver/commit/239829568f2d415952a304364867a04bbb8912af&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2265810" author="behackett" created="Thu, 30 May 2019 19:22:47 +0000"  >&lt;p&gt;It does not affect Python.&lt;/p&gt;</comment>
                            <comment id="2264684" author="ian@10gen.com" created="Thu, 30 May 2019 02:32:50 +0000"  >&lt;p&gt;sgtm.  &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=behackett&quot; class=&quot;user-hover&quot; rel=&quot;behackett&quot;&gt;behackett&lt;/a&gt; does this hit you as well?  I thought your name came up as being relevant but apologies if this is just going to be under Jeff.&lt;/p&gt;</comment>
                            <comment id="2263658" author="jeff.yemin" created="Wed, 29 May 2019 14:30:50 +0000"  >&lt;p&gt;The usual suspects: Java and .NET&lt;/p&gt;</comment>
                            <comment id="2262885" author="ian@10gen.com" created="Wed, 29 May 2019 01:13:05 +0000"  >&lt;p&gt;sounds good!  &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=behackett&quot; class=&quot;user-hover&quot; rel=&quot;behackett&quot;&gt;behackett&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jeff.yemin&quot; class=&quot;user-hover&quot; rel=&quot;jeff.yemin&quot;&gt;jeff.yemin&lt;/a&gt; - which drivers does this impact?&lt;/p&gt;</comment>
                            <comment id="2262209" author="scott.lhommedieu" created="Tue, 28 May 2019 17:32:52 +0000"  >&lt;p&gt;From the &lt;a href=&quot;https://docs.google.com/document/d/1IPmuCKzTBqYyhrDnCo915lcVdASc_Cb2K_Yhw_pjrt0/edit#heading=h.rh0jycx7ndhm&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;doc&lt;/a&gt;: &lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;We added $replaceRoot in 3.4, but the syntax is more verbose than necessary. In order to ease adoption of the aggregation system as a means of updating documents, we will add a shortened $replaceWith stage as syntactic sugar over $replaceRoot &lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;All drivers with an existing replaceRoot helper should add this replacewWith helper. &lt;/p&gt;</comment>
                            <comment id="2262193" author="ian@10gen.com" created="Tue, 28 May 2019 17:26:59 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=scott.lhommedieu&quot; class=&quot;user-hover&quot; rel=&quot;scott.lhommedieu&quot;&gt;scott.lhommedieu&lt;/a&gt; to talk to asya about why we did this and whether there needs to be builders in java and .net.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="720003">SERVER-40239</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="783361">CSHARP-2624</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="783356">JAVA-3305</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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_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/JAVA-3305'>JAVA-3305</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>3.11.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CSHARP-2624'>CSHARP-2624</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>2.9.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/SWIFT-550'>SWIFT-550</a>
    </td>
    <td>Done</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|hup0j3:</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_11150" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>SERVER fixVersion</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="15143"><![CDATA[4.2]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_22279" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Server Compat</customfieldname>
                        <customfieldvalues>
                                        <label>4.1</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>