tag:github.com,2008:https://github.com/node-fetch/node-fetch/releases Tags from node-fetch 2023-08-23T17:17:49Z tag:github.com,2008:Repository/29849956/v2.7.0 2023-08-23T17:18:41Z v2.7.0 github-actions tag:github.com,2008:Repository/29849956/v2.6.13 2023-08-18T20:24:18Z v2.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-actions tag:github.com,2008:Repository/29849956/v3.3.2 2023-08-23T17:26:58Z v3.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-actions tag:github.com,2008:Repository/29849956/v2.6.12 2023-06-29T19:16:34Z v2.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 &lt;[email protected]&gt;</p> <p>* Update index.js</p> <p>---------</p> <p>Co-authored-by: Linus Unnebäck &lt;[email protected]&gt; <br />Co-authored-by: Jimmy Wärting &lt;[email protected]&gt;</p> github-actions tag:github.com,2008:Repository/29849956/v2.6.11 2023-05-09T11:06:33Z v2.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-actions tag:github.com,2008:Repository/29849956/v2.6.10 2023-05-08T16:20:48Z v2.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-actions tag:github.com,2008:Repository/29849956/v3.3.1 2023-03-11T10:47:50Z v3.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-actions tag:github.com,2008:Repository/29849956/v2.6.9 2023-01-30T22:00:07Z v2.6.9 github-actions tag:github.com,2008:Repository/29849956/v2.6.8 2023-01-13T01:04:21Z v2.6.8 github-actions tag:github.com,2008:Repository/29849956/v3.3.0 2022-11-10T21:47:31Z v3.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