---
title: "srvx 1.0.8 Breaking Changes on npm | Since.dev"
description: "What each srvx release removed, renamed or changed: 58 breaking changes in 12 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/srvx
last_updated: 2026-12-04
---

# srvx breaking changes

srvx 1.0.8 (October 27, 2026) is its newest release with breaking changes. The first: Derived content-length no longer appears on materialized FastResponse headers in srvx 1.0.8. Every breaking API change we have recorded in srvx on npm: 58 breaking changes in 12 versions. Below, its 12 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.0.8`, released October 27, 2026. [Source repository](https://github.com/h3js/srvx)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [0.12.6](#v-0-12-6) to [1.0.8](#v-1-0-8): 5 breaking changes in 3 versions.
- From [0.11.16](#v-0-11-16) to [1.0.8](#v-1-0-8): 56 breaking changes in 11 versions.

## srvx 1.0.8 breaking changes

srvx 1.0.8, released October 27, 2026: 1 breaking change.

- **Behavior changed**  

Materialized FastResponse headers no longer expose a derived content-length header. Code that reads content-length from those headers should not rely on it. [github.com](https://github.com/h3js/srvx/releases/tag/v1.0.8)

## srvx 1.0.5 breaking changes

srvx 1.0.5, released September 14, 2026: 3 breaking changes.

- **Signature changed** `body-limit:BodyTooLargeError`  

Was interface BodyTooLargeError extends Error; now class BodyTooLargeError extends Error. [npmjs.com](https://www.npmjs.com/package/srvx/v/1.0.5)
- **Signature changed** `body-limit:BodyTooLargeError.name`  

Was name: string; now readonly name: "HTTPError". [npmjs.com](https://www.npmjs.com/package/srvx/v/1.0.5)
- **Signature changed** `BunHttpServer.publish`  

Was publish(topic: string, data: string | ArrayBufferView | ArrayBuffer | SharedArrayBuffer, compress?: boolean): number; now publish(topic: string, data: string | ArrayBufferView | ArrayBuffer | SharedArrayBuffer | Blob, compress?... [npmjs.com](https://www.npmjs.com/package/srvx/v/1.0.5)

## srvx 1.0.2 breaking changes

srvx 1.0.2, released September 3, 2026: 1 breaking change.

- **Signature changed** `AWSLambdaProxyEvent.requestContext`  

Was requestContext: {accountId?: string; apiId?: string; authorizer?: any; domainName?: string; httpMethod?: string; identity?: {sourceIp?: string;}; path?: string; protocol?: string; requestId?: string; requestTimeEpoch?: number... [npmjs.com](https://www.npmjs.com/package/srvx/v/1.0.2)

## srvx 0.12.6 breaking changes

srvx 0.12.6, released August 20, 2026: 3 breaking changes.

- **Behavior changed**  

Absolute-form request targets are now normalized rather than used as given. Code that relied on the raw target value may see different results. [github.com](https://github.com/h3js/srvx/releases/tag/v0.12.6)
- **Behavior changed** `request.url`  

On aws-lambda, request.url now keeps its origin instead of being overridden by the client path and Host header. Code that depended on the old origin must be updated. [github.com](https://github.com/h3js/srvx/releases/tag/v0.12.6)
- **Signature changed** `BunHttpServer.upgrade`  

Was upgrade(request: Request, options?: {headers?: HeadersInit; data?: any;}): boolean; now upgrade(request: Request, options?: {headers?: ResponseHeaders; data?: any;}): boolean. [npmjs.com](https://www.npmjs.com/package/srvx/v/0.12.6)

## srvx 0.12.5 breaking changes

srvx 0.12.5, released July 30, 2026: 30 breaking changes.

- **Signature changed** `aws-lambda:AwsLambdaEvent`  

Was type AwsLambdaEvent = AWS.APIGatewayProxyEvent | AWS.APIGatewayProxyEventV2; now type AwsLambdaEvent = AWSLambdaProxyEvent | AWSLambdaProxyEventV2. [npmjs.com](https://www.npmjs.com/package/srvx/v/0.12.5)
- **Signature changed** `aws-lambda:AWSLambdaHandler`  

Was type AWSLambdaHandler = (event: AwsLambdaEvent, context: AWS.Context) => MaybePromise\<AWS.APIGatewayProxyResult | AWS.APIGatewayProxyResultV2>; now type AWSLambdaHandler = (event: AwsLambdaEvent, context: AWSLambdaContext) =>... [npmjs.com](https://www.npmjs.com/package/srvx/v/0.12.5)
- **Signature changed** `aws-lambda:AWSLambdaStreamingHandler`  

Was type AWSLambdaStreamingHandler = (event: AwsLambdaEvent, responseStream: AWSLambdaResponseStream, context: AWS.Context) => MaybePromise\<void>; now type AWSLambdaStreamingHandler = (event: AwsLambdaEvent, responseStream... [npmjs.com](https://www.npmjs.com/package/srvx/v/0.12.5)
- **Signature changed** `aws-lambda:handleLambdaEvent`  

Was function handleLambdaEvent(fetchHandler: FetchHandler, event: AwsLambdaEvent, context: AWS.Context, trustProxy?: TrustProxyOption): Promise\<AWS.APIGatewayProxyResult | AWS.APIGatewayProxyResultV2>; now function... [npmjs.com](https://www.npmjs.com/package/srvx/v/0.12.5)
- **Signature changed** `aws-lambda:handleLambdaEventWithStream`  

Was function handleLambdaEventWithStream(fetchHandler: FetchHandler, event: AwsLambdaEvent, responseStream: AWSLambdaResponseStream, context: AWS.Context, trustProxy?: TrustProxyOption): Promise\<void>; now function... [npmjs.com](https://www.npmjs.com/package/srvx/v/0.12.5)
- **Signature changed** `BunFetchHandler`  

Was type BunFetchHandler = (request: Request, server?: Bun.Server\<any>) => Response | Promise\<Response>; now type BunFetchHandler = (request: Request, server?: BunHttpServer) => Response | Promise\<Response>. [npmjs.com](https://www.npmjs.com/package/srvx/v/0.12.5)
- **Signature changed** `cloudflare:serve`  

Was function serve(options: ServerOptions): Server\<CF.ExportedHandlerFetchHandler>; now function serve(options: ServerOptions): Server\<CloudflareFetchHandler>. [npmjs.com](https://www.npmjs.com/package/srvx/v/0.12.5)
- **Signature changed** `CloudflareFetchHandler`  

Was type CloudflareFetchHandler = CF.ExportedHandlerFetchHandler; now type CloudflareFetchHandler = (request: Request, env: CloudflareEnv, context: CloudflareExecutionContext) => Response | Promise\<Response>. [npmjs.com](https://www.npmjs.com/package/srvx/v/0.12.5)
- **Signature changed** `DenoFetchHandler`  

Was type DenoFetchHandler = (request: Request, info?: Deno.ServeHandlerInfo\<Deno.NetAddr>) => Response | Promise\<Response>; now type DenoFetchHandler = (request: Request, info?: DenoServeHandlerInfo) => Response | Promise\<Response>. [npmjs.com](https://www.npmjs.com/package/srvx/v/0.12.5)
- **Signature changed** `node:FastResponse`  

Was const NodeResponse: {new (body?: BodyInit | null, init?: ResponseInit): globalThis.Response & {\_toNodeResponse: () => PreparedNodeResponse;}; json(data: unknown, init?: ResponseInit): globalThis.Response & {\_toNodeResponse: () =>... [npmjs.com](https://www.npmjs.com/package/srvx/v/0.12.5)

And 20 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## srvx 0.12.4 breaking changes

srvx 0.12.4, released July 22, 2026: 2 breaking changes.

- **Signature changed** `body-limit:limitBodyStream`  

Was function limitBodyStream(stream: ReadableStream\<Uint8Array>, maxRequestBodySize: number): ReadableStream\<Uint8Array>; now function limitBodyStream(stream: ReadableStream\<Uint8Array>, maxRequestBodySize: number, options?... [npmjs.com](https://www.npmjs.com/package/srvx/v/0.12.4)
- **Signature changed** `body-limit:limitRequestBody`  

Was function limitRequestBody\<T extends Request>(request: T, maxRequestBodySize: number): T; now function limitRequestBody\<T extends Request>(request: T, maxRequestBodySize: number, options?: BodyLimitOptions): T. [npmjs.com](https://www.npmjs.com/package/srvx/v/0.12.4)

## Older versions

6 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### srvx 0.12.3 breaking changes

srvx 0.12.3, released July 22, 2026: 1 breaking change.

- **Signature changed** `body-limit:limitRequestBody`  

Was function limitRequestBody(request: Request, maxRequestBodySize: number): Request; now function limitRequestBody\<T extends Request>(request: T, maxRequestBodySize: number): T. [npmjs.com](https://www.npmjs.com/package/srvx/v/0.12.3)

### srvx 0.12.1 breaking changes

srvx 0.12.1, released July 21, 2026: 2 breaking changes.

- **Signature changed** `node:FastResponse`  

Was const NodeResponse: {new (body?: BodyInit | null, init?: ResponseInit): globalThis.Response & {\_toNodeResponse: () => PreparedNodeResponse;};}; now const NodeResponse: {new (body?: BodyInit | null, init?: ResponseInit)... [npmjs.com](https://www.npmjs.com/package/srvx/v/0.12.1)
- **Signature changed** `node:NodeResponse`  

Was const NodeResponse: {new (body?: BodyInit | null, init?: ResponseInit): globalThis.Response & {\_toNodeResponse: () => PreparedNodeResponse;};}; now const NodeResponse: {new (body?: BodyInit | null, init?: ResponseInit)... [npmjs.com](https://www.npmjs.com/package/srvx/v/0.12.1)

### srvx 0.12.0 breaking changes

srvx 0.12.0, released July 21, 2026: 9 breaking changes.

- **Removed** `log:log`  

log was removed in srvx 0.12.0 [npmjs.com](https://www.npmjs.com/package/srvx/v/0.12.0)
- **Removed** `log:LogOptions`  

LogOptions was removed in srvx 0.12.0 [npmjs.com](https://www.npmjs.com/package/srvx/v/0.12.0)

And 7 more in this version.

### srvx 0.11.22 breaking changes

srvx 0.11.22, released July 11, 2026: 3 breaking changes.

- **Signature changed** `aws-lambda:handleLambdaEvent`  

Was function handleLambdaEvent(fetchHandler: FetchHandler, event: AwsLambdaEvent, context: AWS.Context): Promise\<AWS.APIGatewayProxyResult | AWS.APIGatewayProxyResultV2>; now function handleLambdaEvent(fetchHandler: FetchHandler, event... [npmjs.com](https://www.npmjs.com/package/srvx/v/0.11.22)
- **Signature changed** `aws-lambda:handleLambdaEventWithStream`  

Was function handleLambdaEventWithStream(fetchHandler: FetchHandler, event: AwsLambdaEvent, responseStream: AWSLambdaResponseStream, context: AWS.Context): Promise\<void>; now function handleLambdaEventWithStream(fetchHandler: FetchHandler... [npmjs.com](https://www.npmjs.com/package/srvx/v/0.11.22)

And 1 more in this version.

### srvx 0.11.19 breaking changes

srvx 0.11.19, released July 2, 2026: 1 breaking change.

- **Signature changed** `node:toNodeHandler`  

Was function toNodeHandler(handler: FetchHandler & AdapterMeta): NodeHttpHandler & AdapterMeta; now function toNodeHandler(handler: FetchHandler & AdapterMeta, options?: {maxRequestBodySize?: number;}): NodeHttpHandler & AdapterMeta. [npmjs.com](https://www.npmjs.com/package/srvx/v/0.11.19)

### srvx 0.11.16 breaking changes

srvx 0.11.16, released May 22, 2026: 2 breaking changes.

- **Signature changed** `ServerRuntimeContext.cloudflare`  

Was cloudflare?: {context: CF.ExecutionContext; env: IsAny\<typeof cloudflare_workers0> extends true ? Record\<string, unknown> : typeof cloudflare_workers0.env;}; now cloudflare?: {context: CF.ExecutionContext; env: IsAny\<typeof... [npmjs.com](https://www.npmjs.com/package/srvx/v/0.11.16)
- **Signature changed** `ServerRuntimeContext.cloudflare.env`  

Was env: IsAny\<typeof cloudflare_workers0> extends true ? Record\<string, unknown> : typeof cloudflare_workers0.env; now env: IsAny\<typeof import("cloudflare:workers")> extends true ? Record\<string, unknown> : typeof... [npmjs.com](https://www.npmjs.com/package/srvx/v/0.11.16)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
