# What changed in @neondatabase/serverless

> 11 changes in @neondatabase/serverless 1 from its official release notes, upgrade guides and advisories: 4 breaking, 4 new APIs and options. Each one cited. Sources checked 2026-11-12. HTML: https://unstale.sh/npm/@neondatabase/serverless/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @neondatabase/serverless 1

### Breaking changes

- The package is no longer published to JSR; update jsr references to npm:@neondatabase/serverless. (1.2.0) — [release notes](https://github.com/neondatabase/serverless/blob/0a891faf84df29b363778aadc00ce0ea71d244eb/CHANGELOG.md#120-2026-10-01)
- Declarations are now fully inlined instead of re-exported from @types/pg and @types/node. Code relying on exact type identity, pg module augmentation flowing through these exports, or Buffer-specific types where Uint8Array is now declared may need updated types. (1.1.0) — [release notes](https://github.com/neondatabase/serverless/blob/0a891faf84df29b363778aadc00ce0ea71d244eb/CHANGELOG.md#110-2026-04-09)
- The minimum supported Node version is now v19, avoiding dynamic crypto imports that can cause trouble with bundlers. (1.0.0) — [release notes](https://github.com/neondatabase/serverless/blob/HEAD/CHANGELOG.md)
- The HTTP query template function can only be called as a template function; ordinary function calls are now TypeScript type errors and runtime errors to prevent SQL-injection vulnerabilities. (1.0.0) — [release notes](https://github.com/neondatabase/serverless/blob/HEAD/CHANGELOG.md)

### New APIs and options

- Options to neon now support individual connection parameters, including values or sync or async functions resolved on every query; they can supplement, override, or replace the connection string. (1.2.0) — [release notes](https://github.com/neondatabase/serverless/blob/0a891faf84df29b363778aadc00ce0ea71d244eb/CHANGELOG.md#120-2026-10-01)
- parseIntoClientConfig from pg-connection-string is exported at top level to simplify using a password function alongside a connection string. (1.2.0) — [release notes](https://github.com/neondatabase/serverless/blob/0a891faf84df29b363778aadc00ce0ea71d244eb/CHANGELOG.md#120-2026-10-01)
- Options to query now support individual connection parameters, including values or sync or async functions resolved on every query; they can supplement, override, or replace the connection string. (1.2.0) — [release notes](https://github.com/neondatabase/serverless/blob/0a891faf84df29b363778aadc00ce0ea71d244eb/CHANGELOG.md#120-2026-10-01)
- Options to transaction now support individual connection parameters, including values or sync or async functions resolved on every query; they can supplement, override, or replace the connection string. (1.2.0) — [release notes](https://github.com/neondatabase/serverless/blob/0a891faf84df29b363778aadc00ce0ea71d244eb/CHANGELOG.md#120-2026-10-01)

### Behavior and default changes

- HTTP template queries are fully composable, including those with parameters; raw SQL compilation happens lazily at query time so parameter placeholders can be numbered appropriately. (1.0.0) — [release notes](https://github.com/neondatabase/serverless/blob/HEAD/CHANGELOG.md)

### Fixes and other changes

- Client now supports a sync or async function as the password connection parameter when pipelineConnect is enabled. (1.2.0) — [release notes](https://github.com/neondatabase/serverless/blob/0a891faf84df29b363778aadc00ce0ea71d244eb/CHANGELOG.md#120-2026-10-01)
- Pool now supports a sync or async function as the password connection parameter when pipelineConnect is enabled. (1.2.0) — [release notes](https://github.com/neondatabase/serverless/blob/0a891faf84df29b363778aadc00ce0ea71d244eb/CHANGELOG.md#120-2026-10-01)
