@neondatabase/serverless breaking changes
@neondatabase/serverless 1.2.1 (November 13, 2026) is its newest release with breaking changes. The first: Removed onConnect. Every breaking API change we have recorded in @neondatabase/serverless on npm: 9 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 1.2.2, released November 27, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
@neondatabase/serverless 1.2.1 breaking changes
- Removed
onConnect
The pg-pool dependency is pinned to 3.10.0, so the onConnect option is no longer available. Code that passes onConnect to Pool must stop using it. github.com
@neondatabase/serverless 1.2.0 breaking changes
- Removed
The package is no longer published to JSR. Update any jsr references to npm:@neondatabase/serverless. github.com - Signature changed
Client.config
Was config?: (string | ClientConfig) | undefined; now config?: string | ClientConfig | undefined. npmjs.com - Signature changed
Client.constructor
Was constructor(config?: (string | ClientConfig) | undefined); now constructor(config?: string | ClientConfig | undefined). npmjs.com - Signature changed
HTTPQueryOptions
Was interface HTTPQueryOptions<ArrayMode extends boolean, FullResults extends boolean>; now interface HTTPQueryOptions<ArrayMode extends boolean, FullResults extends boolean> extends ConnectionParams. npmjs.com - Signature changed
neon
Was function neon<ArrayMode extends boolean = false, FullResults extends boolean = false>(connectionString: string, {arrayMode: neonOptArrayMode, fullResults: neonOptFullResults, fetchOptions: neonOptFetchOptions, isolationLevel... npmjs.com
@neondatabase/serverless 1.1.0 breaking changes
- Behavior changed
Type declarations are fully inlined in this release, and some were previously re-exported from @types/pg and @types/node. Code that depends on exact type identity with @types/pg exports, on declare module 'pg' augmentation flowing through... github.com - Signature changed
neonConfig.end
Was end(data?: Buffer | string, encoding?: string, callback?: () => void): this; now end(data?: Uint8Array | string, encoding?: string, callback?: () => void): this. npmjs.com - Signature changed
neonConfig.write
Was write(data: Buffer | string, encoding?: string, callback?: (err?: any) => void): boolean; now write(data: Uint8Array | string, encoding?: string, callback?: (err?: any) => void): boolean. npmjs.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.