Neon Serverless Updates & Release Notes
17 updates curated from 1 source by the Releasebot Team. Last updated: Apr 17, 2026
- Apr 9, 2026
- Date parsed from source:Apr 9, 2026
- First seen by Releasebot:Apr 17, 2026
1.1.0 (2026-04-09)
Neon Serverless inlines type declarations to shrink package dependencies while keeping runtime behavior unchanged.
Type declarations are now fully inlined (some were previously re-exported from
@types/pgand@types/node). The new types greatly reduce the size of the package with dependencies, and should be compatible in normal usage. The code that is actually run remains unchanged.A few advanced type-level patterns could be affected. Code that depends on exact type identity with the
Original source@types/pgexports, that relies ondeclare module 'pg'augmentation flowing through these exports, or that assumesBuffer-specific types in places now declared asUint8Arraymay need updated types. - Sep 30, 2025
- Date parsed from source:Sep 30, 2025
- First seen by Releasebot:Apr 17, 2026
1.0.2 (2025-09-30)
Neon Serverless updates neon.tech references to the neon.com domain.
Update neon.tech references to neon.com domain.
Original source All of your release notes in one feed
Join Releasebot and get updates from Neon and hundreds of other software products.
- Jun 6, 2025
- Date parsed from source:Jun 6, 2025
- First seen by Releasebot:Feb 18, 2026
1.0.1 (2025-06-06)
The package now prints a security warning to the console when a connection is made in a web browser. This behaviour can be suppressed with a new configuration option:
Original sourcedisableWarningInBrowsers. There are a few other very minor fixes. - Mar 25, 2025
- Date parsed from source:Mar 25, 2025
- First seen by Releasebot:Feb 18, 2026
1.0.0 (2025-03-25)
Breaking change: HTTP template function must be used as a template tag, not a normal function, boosting SQL injection safety. New sql.query and sql.unsafe support manual queries and trusted interpolations, plus fully composable lazy queries. Node min is v19, repo refactor and auto-generated typings.
Breaking change
the HTTP query template function can now only be called as a template function, not as a conventional function. This improves safety from accidental SQL-injection vulnerabilities. For example:
import { neon } from '@neondatabase/serverless'; const sql = neon(process.env.DATABASE_URL); const id = 1; // this is safe and convenient, as before const result = await sql`SELECT * FROM table WHERE id = ${id}`; // this looks very similar and was previously allowed, but was open to SQL // injection attacks because it uses ordinary string interpolation -- it's now // both a TypeScript type error and a runtime error const throws = await sql(`SELECT * FROM table WHERE id = ${id}`);To fill the gap left by this change, the template function has two new properties: a
query()function that allows manually parameterized queries, and anunsafe()function that lets you interpolate trusted arbitrary string values. For example:// this was previously allowed, and was safe, but is now also an error so as to // prevent the vulnerability seen above const throws = await sql('SELECT * FROM table WHERE id = $1', [id]); // the `query()` function is the new way to manually specify placeholders and // values (the same way it's done by `client.query()` and `pool.query()`) const result = await sql.query('SELECT * FROM table WHERE id = $1', [id]); // to interpolate strings like column or table names, **only** if you know // they're safe, use the `unsafe()` function const table = condition ? 'table1' : 'table2'; // known-safe string values const result = await sql`SELECT * FROM ${sql.unsafe(table)} WHERE id = ${id}`; // but in the above case, you might prefer to do this instead const table = condition ? sql`table1` : sql`table2`; const result = await sql`SELECT * FROM ${table} WHERE id = ${id}`;In addition, HTTP template queries are now fully composable, including those with parameters. For example:
const name = 'Olivia'; const limit = 1; const whereClause = sql`WHERE name = ${name}`; const limitClause = sql`LIMIT ${limit}`; // compilation to raw SQL now happens lazily, at query time, so that parameter // placeholders can be numbered appropriately const result = await sql`SELECT * FROM table ${whereClause} ${limitClause}`;Node version requirement
The minimum supported version of Node is now v19 (this avoids having to do dynamic
cryptoimports, which can cause trouble with bundlers).Repository changes
Lastly: the repository has been rearranged and refactored,
Original source.d.tsfiles are now generated automatically, packages are published vianpm version, and comprehensive tests have been put in place. This should ease the way for future enhancements and contributions. - Nov 25, 2024
- Date parsed from source:Nov 25, 2024
- First seen by Releasebot:Feb 18, 2026
0.10.4 (2024-11-25)
Fixes insert
Buffer/ArrayBuffervalues intoBYTEAfields when using HTTP fetch queries.Fixes only passing
Original sourceauthTokenin thesqlHTTP request and not in theneonconnection setup. - Nov 6, 2024
- Date parsed from source:Nov 6, 2024
- First seen by Releasebot:Feb 18, 2026
0.10.3 (2024-11-06)
- Fixes
authTokenoverriding insqlHTTP request.
- Nov 5, 2024
- Date parsed from source:Nov 5, 2024
- First seen by Releasebot:Feb 18, 2026
0.10.2 (2024-11-05)
Expose
Original sourcetypesproperty on public HTTPQueryOptions type - Oct 7, 2024
- Date parsed from source:Oct 7, 2024
- First seen by Releasebot:Feb 18, 2026
0.10.0 (2024-10-07)
Capture stack traces in
NeonDbError, ifError.captureStackTraceis available.Allow authentication through
Original sourceJWTby adding aauthTokenproperty to theneonHTTP connection options. - May 9, 2024
- Date parsed from source:May 9, 2024
- First seen by Releasebot:Feb 18, 2026
0.9.3 (2024-05-09)
Expose all error information fields on
Original sourceNeonDbErrorobjects thrown when using the http fetch transport. - Apr 15, 2024
- Date parsed from source:Apr 15, 2024
- First seen by Releasebot:Feb 18, 2026
0.9.1 (2024-04-15)
Pass username (and database name) through URL decoder, so all usernames can successfully authorize.
Original source - Feb 27, 2024
- Date parsed from source:Feb 27, 2024
- First seen by Releasebot:Feb 18, 2026
0.9.0 (2024-02-27)
Deprecate
Original sourcefetchConnectionCacheoption, which is now always enabled. Forneonhttp fetch queries, enable setting options on individual queries within a batchtransaction(but note that the types still do not allow this). - Feb 7, 2024
- Date parsed from source:Feb 7, 2024
- First seen by Releasebot:Feb 18, 2026
0.8.1 (2024-02-07)
Revert single per-region domain for WebSockets. Fix treatment of -pooler connection hosts.
Original source - Feb 6, 2024
- Date parsed from source:Feb 6, 2024
- First seen by Releasebot:Feb 18, 2026
0.8.0 (2024-02-06)
Use a single (per-region) domain name for all connections to Neon databases. Intended to help with connection caching in V8. Passes the endpoint ID inside connection options for WebSocket connections.
Original source - Jan 10, 2024
- Date parsed from source:Jan 10, 2024
- First seen by Releasebot:Feb 18, 2026
0.7.2 (2024-01-10)
Export a full ESM build to index.mjs
Export a full ESM build to index.mjs -- don't just wrap the CJS code -- since no wrapping method seems reliable across bundlers and platforms. It's now important to only
Original sourcerequireor onlyimportthe package: if you mix, you'll get two copies of the code that don't share configuration changes. - Jan 9, 2024
- Date parsed from source:Jan 9, 2024
- First seen by Releasebot:Feb 18, 2026
Curated by the Releasebot team
Releasebot is an aggregator of official product update announcements from hundreds of software vendors and thousands of sources.
Our editorial process involves the manual review and audit of release notes procured with the help of automated systems.
Similar to Neon Serverless with recent updates:
- Claude Code updates327 release notes · Latest May 29, 2026
- ChatGPT updates169 release notes · Latest May 29, 2026
- OpenAI Models updates47 release notes · Latest May 28, 2026
- Gemini updates332 release notes · Latest May 28, 2026
- Gemini API updates126 release notes · Latest May 28, 2026
- Claude updates93 release notes · Latest May 28, 2026