---
title: "@neondatabase/serverless 1.2.1 Breaking Changes on npm"
description: "What each @neondatabase/serverless release removed, renamed or changed: 9 breaking changes in 3 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@neondatabase/serverless
last_updated: 2026-12-04
---

# @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

Latest version `1.2.2`, released November 27, 2026. [Source repository](https://github.com/neondatabase/serverless)

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

- From [1.1.0](#v-1-1-0) to [1.2.1](#v-1-2-1): 6 breaking changes in 2 versions.

## @neondatabase/serverless 1.2.1 breaking changes

@neondatabase/serverless 1.2.1, released November 13, 2026: 1 breaking change.

- **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](https://github.com/neondatabase/serverless/blob/v1.2.1/CHANGELOG.md)

## @neondatabase/serverless 1.2.0 breaking changes

@neondatabase/serverless 1.2.0, released October 1, 2026: 5 breaking changes.

- **Removed**  

The package is no longer published to JSR. Update any jsr references to npm:@neondatabase/serverless. [github.com](https://github.com/neondatabase/serverless/blob/v1.2.0/CHANGELOG.md)
- **Signature changed** `Client.config`  

Was config?: (string | ClientConfig) | undefined; now config?: string | ClientConfig | undefined. [npmjs.com](https://www.npmjs.com/package/@neondatabase/serverless/v/1.2.0)
- **Signature changed** `Client.constructor`  

Was constructor(config?: (string | ClientConfig) | undefined); now constructor(config?: string | ClientConfig | undefined). [npmjs.com](https://www.npmjs.com/package/@neondatabase/serverless/v/1.2.0)
- **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](https://www.npmjs.com/package/@neondatabase/serverless/v/1.2.0)
- **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](https://www.npmjs.com/package/@neondatabase/serverless/v/1.2.0)

## @neondatabase/serverless 1.1.0 breaking changes

@neondatabase/serverless 1.1.0, released April 17, 2026: 3 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](https://github.com/neondatabase/serverless/blob/v1.1.0/CHANGELOG.md)
- **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](https://www.npmjs.com/package/@neondatabase/serverless/v/1.1.0)
- **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](https://www.npmjs.com/package/@neondatabase/serverless/v/1.1.0)

## 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.
