<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:39:26 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>[COMPASS-5401] compass-aggregations importing v8 module when used in web browser</title>
                <link>https://jira.mongodb.org/browse/COMPASS-5401</link>
                <project id="13182" key="COMPASS">Compass </project>
                    <description>&lt;p&gt;It looks like compass-aggregations imports the compass-logging package which  imports mongodb-log-writer which currently assumes it&#8217;s being run in an electron environment. This ticket involves updating compass-logging to not import mongodb-log-writer when used in a browser environment.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb-js/compass/blob/main/packages/compass-aggregations/src/modules/create-view/index.js#L1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/blob/main/packages/compass-aggregations/src/modules/create-view/index.js#L1&lt;/a&gt;&lt;br/&gt;
We check if the environment is currently electron&#8217;s renderer, but not if it&#8217;s a web environment:&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/blob/main/packages/compass-logging/src/index.ts#L30&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/blob/main/packages/compass-logging/src/index.ts#L30&lt;/a&gt;&lt;br/&gt;
So we end up requiring mongodb-log-writer which has imports for file writing which would error on browser:&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/mongodb-log-writer/blob/main/src/index.ts#L8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/mongodb-log-writer/blob/main/src/index.ts#L8&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once we&apos;ve updated it to be used in the browser we should release so the dependency can be updated in cloud (mms).&lt;/p&gt;

&lt;p&gt;Down the line we might want to add a browser environment test for compass-aggregations and other shared compass packages to protect against regressions like this.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1961413">COMPASS-5401</key>
            <summary>compass-aggregations importing v8 module when used in web browser</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="rhys.howell@mongodb.com">Rhys Howell</assignee>
                                    <reporter username="rhys.howell@mongodb.com">Rhys Howell</reporter>
                        <labels>
                            <label>dependencies</label>
                    </labels>
                <created>Mon, 10 Jan 2022 22:15:34 +0000</created>
                <updated>Sun, 29 Oct 2023 02:39:21 +0000</updated>
                            <resolved>Mon, 17 Jan 2022 00:30:02 +0000</resolved>
                                                    <fixVersion>No version</fixVersion>
                                    <component>Aggregation pipeline</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="4293921" author="xgen-internal-githook" created="Fri, 14 Jan 2022 19:07:47 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Rhys&apos;, &apos;email&apos;: &apos;Anemy@users.noreply.github.com&apos;, &apos;username&apos;: &apos;Anemy&apos;}
&lt;p&gt;Message:  fix(compass-logging): bump mongodb-log-writer to allow browser envs &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-5401&quot; title=&quot;compass-aggregations importing v8 module when used in web browser&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-5401&quot;&gt;&lt;del&gt;COMPASS-5401&lt;/del&gt;&lt;/a&gt; (#2674)&lt;br/&gt;
Branch: &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-5232&quot; title=&quot;Add connection `TLS/SSL` tab form inputs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-5232&quot;&gt;&lt;del&gt;COMPASS-5232&lt;/del&gt;&lt;/a&gt;-tls-tab-options&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/1615d7e700bf0898ddd0c997ef32fdefe4bbec16&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/1615d7e700bf0898ddd0c997ef32fdefe4bbec16&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4291131" author="xgen-internal-githook" created="Thu, 13 Jan 2022 16:34:44 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Rhys&apos;, &apos;email&apos;: &apos;Anemy@users.noreply.github.com&apos;, &apos;username&apos;: &apos;Anemy&apos;}
&lt;p&gt;Message:  fix(compass-logging): bump mongodb-log-writer to allow browser envs &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-5401&quot; title=&quot;compass-aggregations importing v8 module when used in web browser&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-5401&quot;&gt;&lt;del&gt;COMPASS-5401&lt;/del&gt;&lt;/a&gt; (#2674)&lt;br/&gt;
Branch: port-to-playwright&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/1615d7e700bf0898ddd0c997ef32fdefe4bbec16&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/1615d7e700bf0898ddd0c997ef32fdefe4bbec16&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4288047" author="xgen-internal-githook" created="Wed, 12 Jan 2022 13:32:09 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Rhys&apos;, &apos;email&apos;: &apos;Anemy@users.noreply.github.com&apos;, &apos;username&apos;: &apos;Anemy&apos;}
&lt;p&gt;Message:  fix(compass-logging): bump mongodb-log-writer to allow browser envs &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-5401&quot; title=&quot;compass-aggregations importing v8 module when used in web browser&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-5401&quot;&gt;&lt;del&gt;COMPASS-5401&lt;/del&gt;&lt;/a&gt; (#2674)&lt;br/&gt;
Branch: 1.30-releases&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/1615d7e700bf0898ddd0c997ef32fdefe4bbec16&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/1615d7e700bf0898ddd0c997ef32fdefe4bbec16&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4286546" author="xgen-internal-githook" created="Tue, 11 Jan 2022 19:05:45 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Rhys&apos;, &apos;email&apos;: &apos;Anemy@users.noreply.github.com&apos;, &apos;username&apos;: &apos;Anemy&apos;}
&lt;p&gt;Message:  fix(compass-logging): bump mongodb-log-writer to allow browser envs &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-5401&quot; title=&quot;compass-aggregations importing v8 module when used in web browser&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-5401&quot;&gt;&lt;del&gt;COMPASS-5401&lt;/del&gt;&lt;/a&gt; (#2674)&lt;br/&gt;
Branch: main&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/1615d7e700bf0898ddd0c997ef32fdefe4bbec16&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/1615d7e700bf0898ddd0c997ef32fdefe4bbec16&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1962525">COMPASS-5405</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 11 Jan 2022 04:34:35 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 years, 3 weeks, 5 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10257" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Documentation Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11861"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            2 years, 3 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>rhys.howell@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i0gfk7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hzzkl3:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="5694">Iteration Seoul</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i0g1pj:</customfieldvalue>

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