Skip to content

Commit

Permalink
Upcoming Release Changes (#1477)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
theguild-bot and github-actions[bot] authored Jul 24, 2024
1 parent 8f43822 commit 57e0486
Show file tree
Hide file tree
Showing 14 changed files with 77 additions and 36 deletions.
5 changes: 0 additions & 5 deletions .changeset/lemon-coats-learn.md

This file was deleted.

21 changes: 0 additions & 21 deletions .changeset/olive-tigers-sort.md

This file was deleted.

8 changes: 8 additions & 0 deletions benchmarks/server/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @benchmarks/server

## 0.0.12

### Patch Changes

- Updated dependencies
[[`481bdfd`](https://github.com/ardatan/whatwg-node/commit/481bdfd0734b6c2c70b17dccb701b068f8aa06d9)]:
- @whatwg-node/server@0.9.37

## 0.0.11

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@benchmarks/server",
"version": "0.0.11",
"version": "0.0.12",
"type": "module",
"private": true,
"scripts": {
Expand All @@ -13,7 +13,7 @@
"test": "start-server-and-test start http://127.0.0.1:4000/ping loadtest"
},
"dependencies": {
"@whatwg-node/server": "0.9.36"
"@whatwg-node/server": "0.9.37"
},
"devDependencies": {
"start-server-and-test": "2.0.4"
Expand Down
7 changes: 7 additions & 0 deletions e2e/bun/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @e2e/bun

## 0.0.97

### Patch Changes

- Updated dependencies []:
- @e2e/shared-server@0.0.97

## 0.0.96

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions e2e/bun/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "@e2e/bun",
"version": "0.0.96",
"version": "0.0.97",
"private": true,
"scripts": {
"e2e": "bun test",
"start": "bun src/index.ts"
},
"dependencies": {
"@e2e/shared-server": "0.0.96",
"@e2e/shared-server": "0.0.97",
"@types/node": "20.14.12",
"bun-types": "1.1.20"
},
Expand Down
8 changes: 8 additions & 0 deletions e2e/shared-server/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @e2e/shared-server

## 0.0.97

### Patch Changes

- Updated dependencies
[[`481bdfd`](https://github.com/ardatan/whatwg-node/commit/481bdfd0734b6c2c70b17dccb701b068f8aa06d9)]:
- @whatwg-node/server@0.9.37

## 0.0.96

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions e2e/shared-server/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "@e2e/shared-server",
"version": "0.0.96",
"version": "0.0.97",
"private": true,
"dependencies": {
"@whatwg-node/fetch": "0.9.18",
"@whatwg-node/server": "0.9.36"
"@whatwg-node/server": "0.9.37"
}
}
7 changes: 7 additions & 0 deletions e2e/vercel/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @e2e/vercel

## 0.0.97

### Patch Changes

- Updated dependencies []:
- @e2e/shared-server@0.0.97

## 0.0.96

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions e2e/vercel/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@e2e/vercel",
"version": "0.0.96",
"version": "0.0.97",
"private": true,
"scripts": {
"build": "node scripts/bundle.js",
Expand All @@ -12,7 +12,7 @@
},
"dependencies": {
"@e2e/shared-scripts": "0.0.0",
"@e2e/shared-server": "0.0.96",
"@e2e/shared-server": "0.0.97",
"encoding": "0.1.13",
"next": "14.2.5",
"react": "18.2.0",
Expand Down
9 changes: 9 additions & 0 deletions packages/node-fetch/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @whatwg-node/node-fetch

## 0.5.14

### Patch Changes

- [#1481](https://github.com/ardatan/whatwg-node/pull/1481)
[`481bdfd`](https://github.com/ardatan/whatwg-node/commit/481bdfd0734b6c2c70b17dccb701b068f8aa06d9)
Thanks [@ardatan](https://github.com/ardatan)! - Send supported encoding formats in
\`accept-encoding\` header by default

## 0.5.13

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/node-fetch/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@whatwg-node/node-fetch",
"version": "0.5.13",
"version": "0.5.14",
"type": "module",
"description": "Fetch API implementation for Node",
"repository": {
Expand Down
28 changes: 28 additions & 0 deletions packages/server/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
# @whatwg-node/server

## 0.9.37

### Patch Changes

- [#1481](https://github.com/ardatan/whatwg-node/pull/1481)
[`481bdfd`](https://github.com/ardatan/whatwg-node/commit/481bdfd0734b6c2c70b17dccb701b068f8aa06d9)
Thanks [@ardatan](https://github.com/ardatan)! - New plugin to handle E2E request compression

When the client provides `Accept-Encoding` header, if the server supports the encoding, it will
compress the response body. This will reduce the size of the response body and improve the
performance of the application.

On the other hand, if the client sends `Content-Encoding` header, the server will decompress the
request body before processing it. This will allow the server to handle the request body in its
original form. If the server does not support the encoding, it will respond with
`415 Unsupported Media Type` status code.

`serverAdapter`'s `fetch` function handles the compression and decompression of the request and
response bodies.

```ts
import { createServerAdapter, Response, useContentEncoding } from '@whatwg-node/server'

const serverAdapter = createServerAdapter(() => Response.json({ hello: 'world' }), {
plugins: [useContentEncoding()]
})
```

## 0.9.36

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@whatwg-node/server",
"version": "0.9.36",
"version": "0.9.37",
"type": "module",
"description": "Fetch API compliant HTTP Server adapter",
"repository": {
Expand Down

0 comments on commit 57e0486

Please sign in to comment.