Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upcoming Release Changes #145

Merged
merged 1 commit into from
Sep 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/curvy-pillows-compete.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/green-pens-boil.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tall-mails-deliver.md

This file was deleted.

11 changes: 11 additions & 0 deletions packages/fetch/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/fetch/package.json
Original file line number Diff line number Diff line change
@@ -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 <ardatanrikulu@gmail.com>",
"repository": {
Expand Down
19 changes: 17 additions & 2 deletions packages/server/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -70,8 +85,8 @@

```ts
createServerAdapter(req => {
return new Response(`I got ${req.url}`)
})
return new Response(`I got ${req.url}`);
});
```

Breaking Changes;
Expand Down
4 changes: 2 additions & 2 deletions packages/server/package.json
Original file line number Diff line number Diff line change
@@ -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 <ardatanrikulu@gmail.com>",
"repository": {
Expand Down Expand Up @@ -34,7 +34,7 @@
"directory": "dist"
},
"dependencies": {
"@whatwg-node/fetch": "0.4.5",
"@whatwg-node/fetch": "0.4.6",
"tslib": "^2.3.1"
},
"peerDependencies": {
Expand Down