diff --git a/.changeset/curvy-pillows-compete.md b/.changeset/curvy-pillows-compete.md deleted file mode 100644 index e8ecc922dc2..00000000000 --- a/.changeset/curvy-pillows-compete.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@whatwg-node/fetch': patch ---- - -Bump Undici diff --git a/.changeset/green-pens-boil.md b/.changeset/green-pens-boil.md deleted file mode 100644 index b92c4baf8b0..00000000000 --- a/.changeset/green-pens-boil.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@whatwg-node/fetch': patch -'@whatwg-node/server': patch ---- - -- On Node 14, fix the return method of Response.body's AsyncIterator to close HTTP connection correctly -- On Node 14, handle ReadableStream's cancel correctly if Response.body is a ReadableStream -- Do not modify ReadableStream.cancel's behavior but handle it internally -- On Node 18, do not combine Response.body's return and AbortController which causes a memory leak diff --git a/.changeset/tall-mails-deliver.md b/.changeset/tall-mails-deliver.md deleted file mode 100644 index 13c4c8fa733..00000000000 --- a/.changeset/tall-mails-deliver.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@whatwg-node/server': patch ---- - -Force stop connection after Response.body is done diff --git a/packages/fetch/CHANGELOG.md b/packages/fetch/CHANGELOG.md index c3e53d3239f..882c42b90cf 100644 --- a/packages/fetch/CHANGELOG.md +++ b/packages/fetch/CHANGELOG.md @@ -1,5 +1,16 @@ # @whatwg-node/fetch +## 0.4.6 + +### Patch Changes + +- [`c918527`](https://github.com/ardatan/whatwg-node/commit/c918527f15eb6096656376648dccdbc8d6898395) Thanks [@ardatan](https://github.com/ardatan)! - Bump Undici + +- [#148](https://github.com/ardatan/whatwg-node/pull/148) [`eb10500`](https://github.com/ardatan/whatwg-node/commit/eb105005fd01bd227eff8d52c22b39ea1a8c6700) Thanks [@ardatan](https://github.com/ardatan)! - - On Node 14, fix the return method of Response.body's AsyncIterator to close HTTP connection correctly + - On Node 14, handle ReadableStream's cancel correctly if Response.body is a ReadableStream + - Do not modify ReadableStream.cancel's behavior but handle it internally + - On Node 18, do not combine Response.body's return and AbortController which causes a memory leak + ## 0.4.5 ### Patch Changes diff --git a/packages/fetch/package.json b/packages/fetch/package.json index c0579650a72..da172ee03d2 100644 --- a/packages/fetch/package.json +++ b/packages/fetch/package.json @@ -1,6 +1,6 @@ { "name": "@whatwg-node/fetch", - "version": "0.4.5", + "version": "0.4.6", "description": "Cross Platform Smart Fetch Ponyfill", "author": "Arda TANRIKULU ", "repository": { diff --git a/packages/server/CHANGELOG.md b/packages/server/CHANGELOG.md index 678f0c4f801..f9c74beba77 100644 --- a/packages/server/CHANGELOG.md +++ b/packages/server/CHANGELOG.md @@ -1,5 +1,20 @@ # @whatwg-node/server +## 0.4.10 + +### Patch Changes + +- [#148](https://github.com/ardatan/whatwg-node/pull/148) [`eb10500`](https://github.com/ardatan/whatwg-node/commit/eb105005fd01bd227eff8d52c22b39ea1a8c6700) Thanks [@ardatan](https://github.com/ardatan)! - - On Node 14, fix the return method of Response.body's AsyncIterator to close HTTP connection correctly + + - On Node 14, handle ReadableStream's cancel correctly if Response.body is a ReadableStream + - Do not modify ReadableStream.cancel's behavior but handle it internally + - On Node 18, do not combine Response.body's return and AbortController which causes a memory leak + +- [#149](https://github.com/ardatan/whatwg-node/pull/149) [`519d42a`](https://github.com/ardatan/whatwg-node/commit/519d42a45ede0ec2f19eb4c8d254c8a3e5fab978) Thanks [@ardatan](https://github.com/ardatan)! - Force stop connection after Response.body is done + +- Updated dependencies [[`c918527`](https://github.com/ardatan/whatwg-node/commit/c918527f15eb6096656376648dccdbc8d6898395), [`eb10500`](https://github.com/ardatan/whatwg-node/commit/eb105005fd01bd227eff8d52c22b39ea1a8c6700)]: + - @whatwg-node/fetch@0.4.6 + ## 0.4.9 ### Patch Changes @@ -70,8 +85,8 @@ ```ts createServerAdapter(req => { - return new Response(`I got ${req.url}`) - }) + return new Response(`I got ${req.url}`); + }); ``` Breaking Changes; diff --git a/packages/server/package.json b/packages/server/package.json index 0b97d58e8d0..9c5f2f2ac8e 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,6 +1,6 @@ { "name": "@whatwg-node/server", - "version": "0.4.9", + "version": "0.4.10", "description": "Fetch API compliant HTTP Server adapter", "author": "Arda TANRIKULU ", "repository": { @@ -34,7 +34,7 @@ "directory": "dist" }, "dependencies": { - "@whatwg-node/fetch": "0.4.5", + "@whatwg-node/fetch": "0.4.6", "tslib": "^2.3.1" }, "peerDependencies": {