Skip to content

Commit

Permalink
Upcoming Release Changes (#1901)
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 Dec 17, 2024
1 parent 499d8a0 commit dd8f5d1
Show file tree
Hide file tree
Showing 9 changed files with 60 additions and 31 deletions.
24 changes: 0 additions & 24 deletions .changeset/olive-mirrors-cover.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.39

### Patch Changes

- Updated dependencies
[[`a84e84a`](https://github.com/ardatan/whatwg-node/commit/a84e84aa5c14f23c30637ccd290a099a39c445a1)]:
- @whatwg-node/server@0.9.64

## 0.0.38

### 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.38",
"version": "0.0.39",
"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.63"
"@whatwg-node/server": "0.9.64"
},
"devDependencies": {
"start-server-and-test": "2.0.9"
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.125

### Patch Changes

- Updated dependencies
[[`a84e84a`](https://github.com/ardatan/whatwg-node/commit/a84e84aa5c14f23c30637ccd290a099a39c445a1)]:
- @whatwg-node/server@0.9.64

## 0.0.124

### 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.124",
"version": "0.0.125",
"private": true,
"dependencies": {
"@whatwg-node/fetch": "0.10.1",
"@whatwg-node/server": "0.9.63"
"@whatwg-node/server": "0.9.64"
}
}
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.125

### Patch Changes

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

## 0.0.124

### 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.124",
"version": "0.0.125",
"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.124",
"@e2e/shared-server": "0.0.125",
"encoding": "0.1.13",
"next": "15.1.0",
"react": "19.0.0",
Expand Down
30 changes: 30 additions & 0 deletions packages/server/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# @whatwg-node/server

## 0.9.64

### Patch Changes

- [#1899](https://github.com/ardatan/whatwg-node/pull/1899)
[`a84e84a`](https://github.com/ardatan/whatwg-node/commit/a84e84aa5c14f23c30637ccd290a099a39c445a1)
Thanks [@ardatan](https://github.com/ardatan)! - - New `onDispose` hook which is alias of
`Symbol.asyncDispose` for Explicit Resource Management

- Registration of the server adapter's disposal to the global process termination listener is now
opt-in and configurable.

```ts
const plugin: ServerAdapterPlugin = {
onDispose() {
console.log('Server adapter is disposed')
}
}

const serverAdapter = createServerAdapter(() => new Response('Hello world!'), {
plugins: [plugin],
// Register the server adapter's disposal to the global process termination listener
// Then the server adapter will be disposed when the process exit signals only in Node.js!
disposeOnProcessTerminate: true
})

await serverAdapter.dispose()
// Prints 'Server adapter is disposed'
```

## 0.9.63

### 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.63",
"version": "0.9.64",
"type": "module",
"description": "Fetch API compliant HTTP Server adapter",
"repository": {
Expand Down

0 comments on commit dd8f5d1

Please sign in to comment.