Skip to content
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
6 changes: 0 additions & 6 deletions .changeset/@whatwg-node_server-2145-dependencies.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.48

### Patch Changes

- Updated dependencies
[[`dac036c`](https://github.com/ardatan/whatwg-node/commit/dac036c95987813ea4a1f6d46904274b867b7e8e)]:
- @whatwg-node/[email protected]

## 0.0.47

### 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.47",
"version": "0.0.48",
"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.10.0"
"@whatwg-node/server": "0.10.1"
},
"devDependencies": {
"start-server-and-test": "2.0.10"
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.136

### Patch Changes

- Updated dependencies
[[`dac036c`](https://github.com/ardatan/whatwg-node/commit/dac036c95987813ea4a1f6d46904274b867b7e8e)]:
- @whatwg-node/[email protected]

## 0.0.135

### 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.135",
"version": "0.0.136",
"private": true,
"dependencies": {
"@whatwg-node/fetch": "0.10.5",
"@whatwg-node/server": "0.10.0"
"@whatwg-node/server": "0.10.1"
}
}
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.136

### Patch Changes

- Updated dependencies []:
- @e2e/[email protected]

## 0.0.135

### 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.135",
"version": "0.0.136",
"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.135",
"@e2e/shared-server": "0.0.136",
"encoding": "0.1.13",
"next": "15.2.1",
"react": "19.0.0",
Expand Down
28 changes: 21 additions & 7 deletions packages/server/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @whatwg-node/server

## 0.10.1

### Patch Changes

- [#2145](https://github.com/ardatan/whatwg-node/pull/2145)
[`dac036c`](https://github.com/ardatan/whatwg-node/commit/dac036c95987813ea4a1f6d46904274b867b7e8e)
Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
- Added dependency
[`@envelop/instrumentation@^1.0.0` ↗︎](https://www.npmjs.com/package/@envelop/instrumentation/v/1.0.0)
(to `dependencies`)
- Removed dependency
[`@envelop/[email protected]` ↗︎](https://www.npmjs.com/package/@envelop/instruments/v/1.0.0)
(from `dependencies`)

## 0.10.0

### Minor Changes
Expand All @@ -11,8 +25,8 @@
Introduction of a new API allowing to instrument the graphql pipeline.

This new API differs from already existing Hooks by not having access to input/output of phases.
The goal of `Instrumentation` is to run allow running code before, after or around the **whole process
of a phase**, including plugins hooks executions.
The goal of `Instrumentation` is to run allow running code before, after or around the **whole
process of a phase**, including plugins hooks executions.

The main use case of this new API is observability (monitoring, tracing, etc...).

Expand Down Expand Up @@ -47,9 +61,9 @@

### Multiple instrumentation plugins

It is possible to have multiple instrumentation plugins (Prometheus and Sentry for example), they will
be automatically composed by envelop in the same order than the plugin array (first is outermost,
last is inner most).
It is possible to have multiple instrumentation plugins (Prometheus and Sentry for example), they
will be automatically composed by envelop in the same order than the plugin array (first is
outermost, last is inner most).

```ts
import { createServerAdapter } from '@whatwg-node/server'
Expand All @@ -72,8 +86,8 @@

### Custom instrumentation ordering

If the default composition ordering doesn't suite your need, you can manually compose instrumentation.
This allows to have a different execution order of hooks and instrumentation.
If the default composition ordering doesn't suite your need, you can manually compose
instrumentation. This allows to have a different execution order of hooks and instrumentation.

```ts
import { composeInstrumentation, createServerAdapter } from '@whatwg-node/server'
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.10.0",
"version": "0.10.1",
"type": "module",
"description": "Fetch API compliant HTTP Server adapter",
"repository": {
Expand Down
Loading