<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:37:33 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>[GODRIVER-1973] Don&apos;t pull AWS SDK dependency if it&apos;s not necessary</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-1973</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;I have recently updated the Mongo Go driver from v1.3.5 to v1.4.6 and I have noticed that the vendor directory pulled some&#160;&lt;b&gt;35.5k&lt;/b&gt;&#160;lines of code. After further inspection, I noticed that most of the updated code has nothing to do with Mongo driver, but its dependency on AWS SDK. Please note that I&#8217;m not using AWS to run my code.&lt;/p&gt;

&lt;p&gt;After deeper dive into the code, I noticed that AWS SDK is used only for AuthN/AuthZ. The driver is using an interface abstraction called&#160;&lt;b&gt;Authenticator&lt;/b&gt;&#160;and AWS authenticator is used in the&#160;&lt;b&gt;init&lt;/b&gt;&#160;method in&#160;&lt;b&gt;auth&lt;/b&gt;&#160;package to register authenticator. That is - instead of registering all the&#160;&lt;b&gt;Authenticators&lt;/b&gt;&#160;and recognizing which one to use by its name,&#160;&lt;b&gt;Authenticator&lt;/b&gt; can be passed directly as a field in&#160;&lt;b&gt;ClientOptions&lt;/b&gt;. That way, the user will be in control of choosing&#160;&lt;b&gt;Authenticator&lt;/b&gt;&#160;implementation and pull AWS&#160;&lt;b&gt;Authenticator&lt;/b&gt; only if needed. You can take a look at the &lt;a href=&quot;https://developer.mongodb.com/community/forums/t/mongo-go-driver-aws-sdk-dependency/101869&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;forum discussion&lt;/a&gt;.&lt;/p&gt;</description>
                <environment>Any Go project that uses vendoring and MongoDB driver.</environment>
        <key id="1685208">GODRIVER-1973</key>
            <summary>Don&apos;t pull AWS SDK dependency if it&apos;s not necessary</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="isabella.siu@mongodb.com">Isabella Siu</assignee>
                                    <reporter username="dusan.borovcanin@mainflux.com">Du&#353;an Borov&#269;anin</reporter>
                        <labels>
                    </labels>
                <created>Wed, 21 Apr 2021 07:58:49 +0000</created>
                <updated>Sat, 28 Oct 2023 11:37:49 +0000</updated>
                            <resolved>Wed, 12 May 2021 20:05:09 +0000</resolved>
                                    <version>1.4.1</version>
                    <version>1.4.2</version>
                    <version>1.4.3</version>
                    <version>1.4.4</version>
                    <version>1.4.5</version>
                    <version>1.4.6</version>
                    <version>1.4.7</version>
                    <version>1.5.1</version>
                                    <fixVersion>1.6.0</fixVersion>
                                    <component>Authentication</component>
                    <component>Internal</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="3770292" author="xgen-internal-githook" created="Wed, 12 May 2021 20:04:50 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Isabella Siu&apos;, &apos;email&apos;: &apos;isabella.siu@mongodb.com&apos;, &apos;username&apos;: &apos;iwysiu&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-1973&quot; title=&quot;Don&amp;#39;t pull AWS SDK dependency if it&amp;#39;s not necessary&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-1973&quot;&gt;&lt;del&gt;GODRIVER-1973&lt;/del&gt;&lt;/a&gt; create internal copy of aws v4 signing code (#657)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/5f449ba049cc1e133f5f98c347e51c4c2621156e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/5f449ba049cc1e133f5f98c347e51c4c2621156e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3736679" author="JIRAUSER1259567" created="Fri, 23 Apr 2021 20:56:08 +0000"  >&lt;p&gt;Hello, Isabella,&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Thanks for helping. You can take a look at the comment here: &lt;a href=&quot;https://developer.mongodb.com/community/forums/t/mongo-go-driver-aws-sdk-dependency/101869/8.&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://developer.mongodb.com/community/forums/t/mongo-go-driver-aws-sdk-dependency/101869/8.&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;I&apos;m afraid it will be impossible to make it in backwards compatible way, but maybe you can come up with new ideas.&lt;/p&gt;</comment>
                            <comment id="3736511" author="isabella.siu" created="Fri, 23 Apr 2021 19:27:30 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=dusan.borovcanin%40mainflux.com&quot; class=&quot;user-hover&quot; rel=&quot;dusan.borovcanin@mainflux.com&quot;&gt;dusan.borovcanin@mainflux.com&lt;/a&gt;!&lt;/p&gt;

&lt;p&gt;As an update, I&apos;m currently investigating a couple leads we have on reducing the dependency.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                                                <inwardlinks description="is documented by">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10011"><![CDATA[Minor Change]]></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="10250"><![CDATA[Needed]]></customfieldvalue>

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