tag:github.com,2008:https://github.com/node-fetch/node-fetch/releasesTags from node-fetch2023-08-23T17:17:49Ztag:github.com,2008:Repository/29849956/v2.7.02023-08-23T17:18:41Zv2.7.0github-actionstag:github.com,2008:Repository/29849956/v2.6.132023-08-18T20:24:18Zv2.6.13<p>fix: Remove the default connection close header (<a class="issue-link js-issue-link" href="https://github.com/node-fetch/node-fetch/pull/1765">#1765</a>)</p>
<p>Instead, we rely on the underlying http implementation in Node.js
<br />to handle this, as per the documentation at
<br /><a href="https://nodejs.org/api/http.html#new-agentoptions">https://nodejs.org/api/http.html#new-agentoptions</a></p>
<p>This <span class="issue-keyword tooltipped tooltipped-se">fixes</span> <a class="issue-link js-issue-link" href="https://github.com/node-fetch/node-fetch/issues/1735">#1735</a> and likely replaces <a class="issue-link js-issue-link" href="https://github.com/node-fetch/node-fetch/pull/1473">#1473</a></p>
<p>The original change introducing this provided no clear motivation
<br />for the override, and the implementation has since been changed to
<br />disable this header when an agent is provided, so I think there
<br />is sufficient evidence that removing this is the correct behaviour.
<br /><a class="commit-link" href="https://github.com/node-fetch/node-fetch/commit/af21ae6c1c964cd40e48e974af56ea2e1361304f"><tt>af21ae6</tt></a>
<br /><a class="commit-link" href="https://github.com/node-fetch/node-fetch/commit/7f68577de44c7d1efe7009b212f7c54a0b4a709b"><tt>7f68577</tt></a></p>
<p>This commit is backported to the v2 branch from <a class="issue-link js-issue-link" href="https://github.com/node-fetch/node-fetch/pull/1736">#1736</a> against v3.</p>github-actionstag:github.com,2008:Repository/29849956/v3.3.22023-08-23T17:26:58Zv3.3.2<p>fix: Remove the default connection close header. (<a class="issue-link js-issue-link" href="https://github.com/node-fetch/node-fetch/pull/1736">#1736</a>)</p>
<p>Instead, we rely on the underlying http implementation in Node.js
<br />to handle this, as per the documentation at
<br /><a href="https://nodejs.org/api/http.html#new-agentoptions">https://nodejs.org/api/http.html#new-agentoptions</a></p>
<p>This <span class="issue-keyword tooltipped tooltipped-se">fixes</span> <a class="issue-link js-issue-link" href="https://github.com/node-fetch/node-fetch/issues/1735">#1735</a> and likely replaces <a class="issue-link js-issue-link" href="https://github.com/node-fetch/node-fetch/pull/1473">#1473</a></p>
<p>The original change introducing this provided no clear motivation
<br />for the override, and the implementation has since been changed to
<br />disable this header when an agent is provided, so I think there
<br />is sufficient evidence that removing this is the correct behaviour.
<br /><a class="commit-link" href="https://github.com/node-fetch/node-fetch/commit/af21ae6c1c964cd40e48e974af56ea2e1361304f"><tt>af21ae6</tt></a>
<br /><a class="commit-link" href="https://github.com/node-fetch/node-fetch/commit/7f68577de44c7d1efe7009b212f7c54a0b4a709b"><tt>7f68577</tt></a></p>github-actionstag:github.com,2008:Repository/29849956/v2.6.122023-06-29T19:16:34Zv2.6.12<p>fix: socket variable testing for undefined (<a class="issue-link js-issue-link" href="https://github.com/node-fetch/node-fetch/pull/1726">#1726</a>)</p>
<p>* fix: socket variable testing for undefined
<br />Avoid issue where socket event was not triggered and local socket vraible is not defined.
<br />This issue is reproducible only using deno.</p>
<p>* chore: made socket test capture simpler
<br />Only controls the execution of the section that uses socket.</p>
<p>* Update src/index.js</p>
<p>Co-authored-by: Linus Unnebäck <[email protected]></p>
<p>* Update index.js</p>
<p>---------</p>
<p>Co-authored-by: Linus Unnebäck <[email protected]>
<br />Co-authored-by: Jimmy Wärting <[email protected]></p>github-actionstag:github.com,2008:Repository/29849956/v2.6.112023-05-09T11:06:33Zv2.6.11<p>Revert "fix: handle bom in text and json (<a class="issue-link js-issue-link" href="https://github.com/node-fetch/node-fetch/pull/1739">#1739</a>)" (<a class="issue-link js-issue-link" href="https://github.com/node-fetch/node-fetch/pull/1741">#1741</a>)</p>
<p>This reverts commit <a class="commit-link" href="https://github.com/node-fetch/node-fetch/commit/29909d75c62d51e0d1c23758e526dba74bfd463d"><tt>29909d7</tt></a>.</p>github-actionstag:github.com,2008:Repository/29849956/v2.6.102023-05-08T16:20:48Zv2.6.10<p>fix: handle bom in text and json (<a class="issue-link js-issue-link" href="https://github.com/node-fetch/node-fetch/pull/1739">#1739</a>)</p>
<p>* fix: handle bom in text and json
<br />* add unit tests</p>github-actionstag:github.com,2008:Repository/29849956/v3.3.12023-03-11T10:47:50Zv3.3.1<p>fix: release "Allow URL class object as an argument for fetch()" <a class="issue-link js-issue-link" href="https://github.com/node-fetch/node-fetch/pull/1696">#1696</a> (</p>
<p><a class="issue-link js-issue-link" href="https://github.com/node-fetch/node-fetch/pull/1716">#1716</a>)</p>github-actionstag:github.com,2008:Repository/29849956/v2.6.92023-01-30T22:00:07Zv2.6.9github-actionstag:github.com,2008:Repository/29849956/v2.6.82023-01-13T01:04:21Zv2.6.8github-actionstag:github.com,2008:Repository/29849956/v3.3.02022-11-10T21:47:31Zv3.3.0<p>feat: add static Response.json (<a class="issue-link js-issue-link" href="https://github.com/node-fetch/node-fetch/pull/1670">#1670</a>)</p>
<p>* feat: add static Response.json</p>
<p>* fix: set content-type if it doesn't exist properly</p>github-actions