Zum Inhalt springen

Neon Release Notes

Einträge
383
Quellen
2
Zuletzt aktualisiert

Folge Neon, um die Release Notes in deinen Feed zu holen.

Serverless von Neon

Neon Serverless 0.7.0

Ändert die ESM-Re-Export-Technik in index.mjs, um WebPack-Probleme zu umgehen, und fügt einen Re-Export der TypeScript-Typen als index.d.mts hinzu, um die CJS-Warnung zu beheben.

Altered ESM re-export technique (in index.mjs) to work around WebPack issues. Added a re-export of TypeScript types (as index.d.mts) to fix the 'Masquerading as CJS' warning from https://arethetypeswrong.github.io/.

Originalquelle(öffnet in neuem Tab)Problem melden

Neon

Fixes & improvements

Die Console zeigt verwaltete Better-Auth-Einstellungen nun unter „Settings > Better Auth“, die Object-Storage-Nutzung im Projektpanel, behebt einen Regionsfehler beim Erstellen von Projekten und erinnert beim Löschen an reservierte Custom Domains; zudem bezieht die CLI neon.ts und .env.local nur noch aus dem Verzeichnis mit der .neon-Datei.

Here are the smaller updates and fixes we shipped this week.

<details><summary>**Console**</summary>
  • Managed Better Auth plugin settings (Organizations, Magic Link, and Phone Authentication) now live under Settings > Better Auth with the rest of your auth configuration, instead of on the Plugins tab. See Plugins.
  • You can now see your project's Object Storage usage in the Project panel on the branch Overview page. It covers all branches in the project. See Limits.
  • Fixed an issue in the create-project flow where your region reset to US East (Ohio) when you turned on Object Storage or added a bucket.
  • When you delete a project, we now remind you that its custom domains stay reserved, so you can remove any you want to reuse first. See Delete a custom domain.
</details><details><summary>**Neon CLI**</summary>
  • neon.ts and .env.local now come from the directory that holds your project's .neon file. A neon.ts in a parent directory no longer applies, and if your repo root has a .neon, a subdirectory's own neon.ts is ignored. Run neon link --context-file ./.neon where your neon.ts lives, or pass --config <path>. …

Originalquelle(öffnet in neuem Tab)Problem melden

Neon

Projektbezogene Berechtigungen

Neon führt projektbezogene Berechtigungen ein, mit denen Personen und Agenten auf individuellen Projekten als Viewer, Editor oder Admin Zugriff erhalten; verfügbar für neu erstellte Organisationen.

A feature you've been asking for is finally here. Until now, a person's access applied across your entire organization. We're excited to bring project-level permissions to Neon, so you can now grant people and agents access on individual projects, giving them only what they need where they need it. On any project, you can make someone a Viewer to see its resources, an Editor to change them, or an Admin to manage access and the project itself.

Note: Availability

The new model is available now for newly created organizations and will roll out to existing organizations soon.

Access works in two layers. When both apply, a user keeps the higher level of access:

  • Organization roles set a baseline across every project. There are now four: Admin (full control), Editor (work in every project, but can't delete or transfer them), Viewer (read-only), and Collaborator (no access until granted specific projects).
  • Per-project permissions raise that baseline on specific projects. Grant a member Viewer (read-only), Editor (connect, query, and edit resources), or Admin (manage access, settings, and the project lifecycle) on any project from Settings → Project permissions.

For example, give a contractor the Collaborator role, which grants nothing by default, then Editor on just the two projects they work on. Or give a teammate Viewer across the organization and Admin on the one project they own. …

Originalquelle(öffnet in neuem Tab)Problem melden

Neon

Neue Anleitungen für das Neon Backend

Zwei neue Guides zeigen, wie Neon Backend-Dienste für langlebige Workflows mit Inngest und einen LLM-Proxy mit Neon Functions kombiniert werden können.

Two new guides show how to combine the Neon backend services, from long-running compute to LLM access, all in a single project that branches with your data:

Note: Set up the Neon backend with your AI agent

The backend services (Object Storage, Functions, and AI Gateway) are in beta in AWS us-east-2. To build with them, install the Neon agent skills so your assistant knows how to provision and wire them up:

npx neon@latest init

Then ask your assistant to get started with Neon. See the backend beta guide for access and setup.

Originalquelle(öffnet in neuem Tab)Problem melden

Neon

Mehr mit Lakebase Search

Neue Fallstudie und Anleitung zeigen Anwendungen von Lakebase Search, darunter hybride Suche mit deutlicher Latenzreduktion und Bildsuche über CLIP-Embeddings.

Lakebase Search adds scalable vector, keyword, and hybrid search to Postgres through the lakebase_vector and lakebase_text extensions. This week, two new resources show it in action:

To get started, load the Lakebase Search preload libraries, then create the extensions:

CREATE EXTENSION IF NOT EXISTS lakebase_vector CASCADE;
CREATE EXTENSION IF NOT EXISTS lakebase_text CASCADE;

Originalquelle(öffnet in neuem Tab)Problem melden

Neon

Postgres-Diagnose mit neon inspect db im Terminal

Mit dem neuen CLI-Befehl neon inspect db lassen sich schreibgeschützte Postgres-Diagnosen über vierzehn Unterbefehle direkt ausführen, ohne Verbindungszeichenfolgen oder Katalogansichten.

You can now run read-only Postgres diagnostics straight from the Neon CLI with neon inspect db. Each subcommand runs a single, known-good query against Postgres' own statistics and catalog views, then prints a clean table (or JSON/YAML for scripting). There's no connection string to assemble and no catalog view to recall: the CLI resolves the endpoint, role, password, and database through the same Neon API the SDK uses, so you name a diagnostic and go.

Note: New to the Neon CLI?

Install it with npm install -g neon, then authenticate with neon auth. See the install guide and CLI quickstart to get going.

Fourteen subcommands cover the questions you actually ask when something is slow, grouped by what you're chasing:

  • Size and storage: table-sizes, index-sizes, bloat
  • Indexes and scans: unused-indexes, seq-scans
  • Live activity and contention: long-running-queries, locks
  • Query workload: outliers, calls (from pg_stat_statements)
  • Maintenance: vacuum-stats
  • Replication: replication-slots, subscriptions
  • Neon cache debugging: lfc-hit-rate, working-set

Every command is read-only, scoped to the columns that answer the question, and capped where results can get large. That makes it as safe to hand to an agent as it is to run yourself. Point it at a linked project, or at any Postgres database with --db-url:

Originalquelle(öffnet in neuem Tab)Problem melden

Neon

Snapshots über die Neon CLI verwalten

Die Befehlsgruppe neon snapshots ermöglicht das Erstellen, Auflisten, Aktualisieren, Löschen und Wiederherstellen von Branch-Snapshots sowie das Verwalten automatischer Backup-Zeitpläne.

The Neon CLI now has a first-class neon snapshots command group. Snapshots are point-in-time backups of a branch, and they were previously only available in the Console and REST API. You can manage the full lifecycle from your terminal:

  • neon snapshots list and neon snapshots get to see your snapshots.
  • neon snapshots create to snapshot a branch, optionally at a point in time with --timestamp or --lsn.
  • neon snapshots update and neon snapshots delete to rename, re-expire, or remove a snapshot.
  • neon snapshots restore to restore a snapshot into a branch, with a preview step so you can inspect the result before running neon snapshots finalize to commit it.

For example, snapshot a branch before a risky migration, then restore it into a new branch if you need to roll back:

neon snapshots create --branch main --name pre-migration
neon snapshots list
neon snapshots restore pre-migration --name recovered

You can also view and set a branch's automatic backup schedule with neon snapshots schedule get and neon snapshots schedule set. Automated backup schedules are available on paid plans, except for the Agent plan. See the neon snapshots reference for the full list of subcommands.

Originalquelle(öffnet in neuem Tab)Problem melden

Neon

Mehr Kontrolle beim Erstellen von Projekten per CLI

Beim Anlegen von Projekten können jetzt PostgreSQL-Version, geschützte Branches und logische Replikation direkt per Flags konfiguriert werden.

neon projects create now accepts flags to configure a project up front: choose the PostgreSQL version, create protected branches, and enable logical replication.

neon projects create --name my-app --pg-version 17
neon branches create --project-id <project-id> --name production --protected
neon projects update <project-id> --enable-logical-replication --yes

See the neon projects reference for the full list of flags.

Originalquelle(öffnet in neuem Tab)Problem melden

Neon

Logs von Functions und Storage im Neon MCP-Server abfragen

Der Neon MCP-Server bietet drei neue schreibgeschützte Tools, um Logs von Functions und Object Storage zu durchsuchen und zu filtern.

Functions and Object Storage are core pieces of the Neon backend: serverless functions and S3-compatible storage that branch with your database in the same project. You can now query logs from both services directly through the Neon MCP server, so your AI assistant can investigate a failure without leaving your editor. Three new read-only tools make up the observability category:

  • query_logs: filter logs by source, service, severity, or a text match over a time window (or drop down to raw LogQL for full control).
  • list_log_fields: discover the fields you can filter on.
  • list_log_field_values: list the values a field takes, to ground your filters.

Once the MCP server is connected, ask your assistant in plain language:

Why did my function error in the last hour? Check the logs.

The same logs are documented under Neon Functions logs and object storage logs.

Originalquelle(öffnet in neuem Tab)Problem melden

Neon

Neon-Backend in der Beta-Phase

Object Storage, Functions und AI Gateway sind jetzt als Beta öffentlich verfügbar und ermöglichen die Deklaration eines vollständigen Backends in einer neon.ts-Datei.

Neon Object Storage, Functions, and AI Gateway have graduated from private preview to beta. Everyone can start building a complete backend on new or existing projects in AWS US East (Ohio) today.

Declare your whole backend in one neon.ts file, and it branches with your data. Fork a branch and you get an isolated copy of your database, files, functions, and gateway.

  • Object Storage: S3-compatible object storage that branches with your database.
  • Functions: Long-running serverless functions that run alongside your database.
  • AI Gateway: One API for frontier and open-source models, built into your project.

New to the Neon backend? Start with the beta guide, see how the pieces fit together, or build one end to end with the full backend quickstart. For the vision behind the platform, read the announcement blog post.

Note: One-shot your backend with an AI agent

Install the beta agent skills:

npx neon@latest init --preview

Then build your backend from a single prompt:

Set up a Neon backend for my app with Postgres, object storage, functions, and AI gateway
``` …

Originalquelle(öffnet in neuem Tab)Problem melden

Neon

Neues TypeScript SDK für die Neon API

Das neue @neon/sdk 1.1 bietet eine fetch-basierte, dependency-freie Client-Bibliothek für die gesamte Neon Platform API, inklusive Workflow-Helfern.

We're introducing @neon/sdk 1.1, the best way to work with the Neon API from TypeScript. It's fetch-based, zero-dependency, and generated from our OpenAPI spec, with an ergonomic layer on top. It covers the whole Neon Platform API: projects, branches, databases, and our new backend services (Object Storage, Functions, and AI Gateway). It replaces @neondatabase/api-client as the recommended client, though the legacy package still works.

The ergonomic layer matters most for the multi-step provisioning workflows that might take you or your agent a few attempts to get right (for example, create a project, wait for it to be ready, then create a branch and hand back a connection string). createNeonClient({ apiKey }) gives you namespaced methods (neon.projects, neon.storage, neon.functions, neon.aiGateway, and more), typed { data, error } results, and workflow helpers like createAndConnect. Any method takes { waitForReadiness: true } to block until provisioning finishes, and a raw layer exposes every endpoint.

npm install @neon/sdk
import { createNeonClient } from "@neon/sdk";

const neon = createNeonClient({ apiKey: process.env.NEON_API_KEY! });

// Workflow helper: create, poll until ready, return a connection string
const { data, error } = await neon.projects.createAndConnect({ name: "my-app" });
if (error) throw error; …

Originalquelle(öffnet in neuem Tab)Problem melden

Neon

Anmeldung mit Passkeys bei Neon

Nutzer können sich jetzt statt mit 2FA-Code per Passkey über Biometrie oder Sicherheitsschlüssel anmelden, was auch Organisations-Anforderungen erfüllt.

You can now sign in to Neon with a passkey instead of a 2FA code. Add a passkey from Account settings and use your device's built-in biometrics, like Touch ID or Windows Hello, or a security key to verify it's you. Passkeys satisfy organization-level 2FA requirements, so admins can let members enroll in either 2FA or a passkey to comply. See Manage your Neon account for setup steps.

Sign in to Neon with a passkey

Originalquelle(öffnet in neuem Tab)Problem melden

Neon

Git-ähnliche Diffs in der Neon CLI

Der neue Befehl neon diff zeigt Schemaänderungen zwischen Branches an und passt in den branch-first Entwicklungsablauf.

New neon diff command

We've added a top-level diff command to the Neon CLI, letting you (and your agents) quickly see schema changes between your current branch and any other branch you specify. It fits into a branch-first development workflow alongside neon link, neon checkout, neon status, and neon deploy.

  1. neon link: link to a Neon project
  2. neon checkout dev-1: create/checkout a dev branch
  3. Do the dev work
  4. neon diff main: sanity check the schema changes made against main
CREATE TABLE public.orders (
    id integer NOT NULL,
    customer_id integer NOT NULL,
    status text NOT NULL -- [!code --]
    status text NOT NULL, -- [!code ++]
    discount_code character varying(20) -- [!code ++]
);

CREATE INDEX orders_discount_code_idx ON public.orders USING btree (discount_code); -- [!code ++]

Want your agents to use neon diff? Install the Neon agent skills so your assistant has current knowledge of the CLI and reaches for the command on its own:

npx neon@latest init

Config commands now show the same diff …

Originalquelle(öffnet in neuem Tab)Problem melden

Neon

Neue NAT-Gateway-IPs und VPC-Endpunkt-Services

In drei AWS-Regionen wurden neue NAT-Gateway-IP-Adressen und VPC-Endpunkt-Service-Adressen hinzugefügt, die für IP-Allowlists und Private Networking aktualisiert werden sollten.

We've expanded infrastructure capacity in the AWS US East (Ohio) (us-east-2), Europe (London) (eu-west-2), and Asia Pacific (Singapore) (ap-southeast-1) regions with new NAT gateway IP addresses and new VPC endpoint service addresses for Private Networking.

Tip: Update your IP allowlists

If you have IP allowlists on external systems that Neon connects to, update those allowlists to include the new NAT gateway addresses. Connections may be affected intermittently if traffic routes through non-allowlisted NAT gateways.

If you use Private Networking in these regions, you can now use the additional VPC endpoint service addresses for enhanced capacity and reliability. See the Regions documentation for the complete list of NAT gateway IPs and the Private Networking guide for VPC endpoint service addresses by region.


2026-07-10

Originalquelle(öffnet in neuem Tab)Problem melden

Neon

Neuer neon api-Befehl in der CLI

Die Neon CLI bietet jetzt einen api-Befehl, um beliebige Platform-API-Routen mit bestehender Anmeldung zu nutzen, ohne eigene curl-Anfragen zu bauen.

The Neon CLI now ships an api command: call any Neon Platform API route from the terminal using your existing CLI login, without hand-building curl requests or giving agents raw API keys.

Dedicated CLI commands cover common workflows, but the Platform API moves faster. With the neon api command, you get full API reach the moment an endpoint exists. Run neon api --list to browse every route from the OpenAPI spec.

Read the announcement for why we built this for agent workflows.

List projects for your organization:

neon orgs list
neon api /projects -Q org_id=org-cool-darkness-12345678

Create a dev branch on an existing project:

neon api /projects/late-frost-12345678/branches -X POST -F branch.name=dev

The -F branch.name=dev flag builds the JSON body { "branch": { "name": "dev" } } automatically. See the api command reference for query parameters, file bodies (-d @file), and output formats.

Originalquelle(öffnet in neuem Tab)Problem melden

Neon

Cmd+K-Unterstützung für die Neon-Konsole

In der Neon-Konsole kann jetzt über Cmd+K bzw. Ctrl+K eine durchsuchbare Befehlsleiste geöffnet werden, die Aktionen zum aktuellen Branch und Projekt anbietet.

You can now press Cmd+K (Mac) or Ctrl+K (Windows/Linux) from anywhere in the Neon Console to open a searchable command bar with actions scoped to your current branch and project: navigate to branches, open the SQL editor, create a snapshot, go to settings, and more.

Neon Console command bar

Originalquelle(öffnet in neuem Tab)Problem melden

Neon

Neon MCP Server: Branch-Ablauf beim Erstellen

Das create_branch-Tool des Neon MCP Servers unterstützt jetzt einen optionalen expiresAt-Parameter, um die automatische Löschung von Branches beim Erstellen festzulegen.

The Neon MCP Server create_branch tool now accepts an optional expiresAt parameter (ISO 8601) to set automatic branch deletion when creating a branch, matching the Neon API and console Auto-delete behavior. See branch expiration.

Connect the MCP Server in your editor:

npx add-mcp https://mcp.neon.tech/mcp

For full setup (API key auth, agent skills, and more), run npx neon@latest init. See Connect MCP clients to Neon.

Originalquelle(öffnet in neuem Tab)Problem melden