Zum Inhalt springen

Prisma Release Notes

20 Einträge aus 1 Quelle. Zuletzt aktualisiert:

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Prisma

Prisma 8.0.0-rc.16: Toolchain nutzt @prisma/cli-engine 0.6.3

Die Toolchain benötigt jetzt @prisma/cli-engine 0.6.3, das nur eine ArkType-Kopie mit den Prisma-ORM-Paketen teilt (behebt Fehler bei prisma orm init und prisma contract emit nach Bun-Installation), und ein von PSL abgelehntes @default wird nun am geschriebenen Wert samt Korrekturhinweis gemeldet.

v8.0.0-rc.16

This release moves the toolchain to @prisma/cli-engine 0.6.3, which shares one ArkType copy with the Prisma ORM packages. With engine 0.6.2, a fresh Bun install could resolve two ArkType copies, and prisma orm init and prisma contract emit then failed on a valid contract. A @default that PSL refuses is now reported at the written value, with a message that says what to write instead.

The upgrade recipes for this hop: the app recipe and the extension recipe. Each breaking change below names the change id to look for in them.

Breaking changes

  • The toolchain requires @prisma/cli-engine 0.6.3. A project or extension that pins @prisma/cli-engine itself must move the pin from 0.6.2 to 0.6.3. The engine's commands and output do not change: its only change is that it accepts ArkType ^2.2.7 instead of exactly 2.2.3. See engine-pin-moves-to-0-6-3 in the app recipe and the extension recipe. (#30632) …

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Prisma

Prisma 8.0.0-rc.15: Datentypen im Contract, Scopes und neue Middleware

In SQL-Contracts nennt jede Spalte nun ihren Datentyp wie pg/text, Codecs prüfen alle gespeicherten Werte, und es kommen unter anderem Scopes, Zeilensperren im typisierten SQL-Builder, eine afterTransaction-Middleware-Stufe, Cache-Invalidierung, this.renameTable in Migrationen, null-Elemente in Listen sowie Hover, Go to Definition und Find References im PSL-Language-Server hinzu.

v8.0.0-rc.15

In this release, each column in a SQL contract names its data type, such as pg/text, in place of the type name the database prints. One script and prisma db sign upgrade a project. Codecs now check every value a contract stores, and a field's type in the contract matches its column. Custom collection classes keep their methods through the chain, and scopes let you share a piece of a query across models. The typed SQL builder can lock the rows a select reads. Middleware gains an afterTransaction stage, and the cache middleware gains invalidation. A hand-written migration can rename a table with this.renameTable. Lists can hold null elements. The PSL language server adds hover, go to definition and find references.

The upgrade recipes for this hop: the app recipe and the extension recipe. Each breaking change below names the change id to look for in them. Run the data-type-in-contract script (change contract-stores-data-type) before any other step that emits a contract again.

Breaking changes …

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Prisma

Prisma 8.0.0-rc.14: Postgres-Serverless-Client, kanonische Datums-Defaults

In Prisma 8.0.0-rc.14 liefert connect() des Postgres-Serverless-Clients nun eine Verbindung mit db.orm, db.transaction(...) und db.prepare(...), Datums- und Zeit-Defaults werden kanonisch gespeichert, das Mongo-ORM nutzt für alle Werte den Codec des Felds und die Postgres-CLI-Befehle funktionieren mit solchen Defaults auf Node 24.

v8.0.0-rc.14

In this release, connect() on the Postgres serverless client returns a connection with db.orm, db.transaction(...) and db.prepare(...), the same members as a postgres() client. A date or time default is stored in one canonical text for each value, so its storage hash no longer depends on how the default was written. The Mongo ORM passes every value it writes, reads or filters on through its field's codec. The Postgres CLI commands now work with date and time defaults on Node 24, which has no Temporal.

The upgrade recipes for this hop: the app recipe and the extension recipe. Each breaking change below names the change id to look for in them.

Breaking changes …

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Prisma

Prisma 8.0.0-rc.13: Neue MongoDB-Typen, Sortierung und contract print

Prisma 8.0.0-rc.13 erweitert MongoDB-Schemas um Int64, Decimal128, Binary, Json, Bson und automatische Zeitstempel, ergänzt Sortierung nach Spalten verwandter Zeilen und Relationszählungen sowie den Befehl prisma contract print, und TypeScript-Contracts kodieren Literal-Defaults nun über den Spalten-Codec, weshalb der Contract neu emittiert werden muss.

v8.0.0-rc.13

This release brings MongoDB closer to Postgres: a Mongo schema can declare Int64, Decimal128, Binary, Json and Bson fields and automatic timestamps, and a Prisma 6 MongoDB project can use its existing schema.prisma as the contract source. The ORM client can order by a related row's column, by a relation count, and with explicit null placement. The new prisma contract print command writes any configured contract as Prisma 8 PSL. A TypeScript contract now encodes every literal default through the column's codec, and the generated defaults in contract.json name their target with new keys, so re-emit your contract after upgrading.

The upgrade recipes for this hop: the app recipe and the extension recipe. Each breaking change below names the change id to look for in them.

Breaking changes …

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Prisma

Prisma 8.0.0-rc.12: Volltextsuche, geteilte Schemas, neue Schemaschreibweise

Prisma 8.0.0-rc.12 bringt Postgres-Volltextsuche, vorbereitete ORM-Lesezugriffe und Aggregate sowie auf mehrere Dateien aufgeteilte Schemas und ändert die Schemaschreibweise (Tabellenname ohne @@map exakt wie geschrieben, // use prisma-8 als erste Zeile, sql-Tagged-Literals statt dbgenerated(...)).

v8.0.0-rc.12

This release adds Postgres full-text search, prepared ORM reads and aggregates, schemas split across several files, and a way for a Prisma 7 project to use its existing schema.prisma as the Prisma 8 contract source. It also changes how a schema is written: a model without @@map now names its table exactly as written, every schema file needs // use prisma-8 as its first line, dbgenerated(...) is replaced by sql tagged literals, and a column default must be a value its column's data type accepts. The toolchain moves to @prisma/cli-engine@0.6.1, which no longer exports defineConfig.

The upgrade recipes for this hop: the app recipe and the extension recipe. Each breaking change below names the change id to look for in them.

Breaking changes …

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Prisma

Prisma 8.0.0-rc.11: Markdown-Ausgabe für alle CLI-Befehle

Prisma 8.0.0-rc.11 stellt die Toolchain auf @prisma/cli-engine@0.4.0 um, wodurch jeder CLI-Befehl das Ausgabeformat Markdown über --format markdown unterstützt.

v8.0.0-rc.11

This release moves the toolchain onto @prisma/cli-engine@0.4.0, which adds a Markdown output format to every CLI command. Nothing else changed since rc.10.

The upgrade recipes for this hop: the app recipe and the extension recipe.

Breaking changes

  • The engine peer moves to @prisma/cli-engine@0.4.0 — @prisma/orm-toolchain declares the unified CLI's engine as an exact peer, and this release peers 0.4.0 (up from 0.3.0), so a project that pins the engine itself must change its pin. Under a host CLI running on that engine, every command supports --format markdown, which prints the command's output as Markdown; the engine's Format type widens from "human" | "json" to "human" | "json" | "markdown". No other public API changed. Projects assembled by the prisma CLI resolve the engine automatically; a project that pins @prisma/cli-engine itself must move the pin to 0.4.0. (prisma/prisma-cli#260)

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Prisma

Prisma 8.0.0-rc.10: Umbenennung zu Prisma 8 abgeschlossen

Prisma 8.0.0-rc.10 schließt die Umbenennung von Prisma Next zu Prisma 8 ab (CLI-Umgebungsvariablen verlieren den Infix NEXT_), ergänzt benannte Modell- und Ergebnistypen im Contract, lässt db sign den db-Ref setzen und fügt dem Language Server Attribut-Vervollständigung hinzu.

v8.0.0-rc.10

This RC finishes the rename from Prisma Next to Prisma 8 in every identifier a project can see (the old schema header keeps working, the old environment variables do not), adds named model and result types to the emitted contract, makes db sign set the db ref so the first plan after adoption stays incremental, and adds attribute completion to the language server.

Breaking changes

  • CLI environment variables lose the NEXT_ infix. PRISMA_NEXT_DISABLE_TELEMETRY, PRISMA_NEXT_TELEMETRY_ENDPOINT, PRISMA_NEXT_DEBUG, and the rest are now PRISMA_DISABLE_TELEMETRY, PRISMA_TELEMETRY_ENDPOINT, PRISMA_DEBUG, and so on. Only the old PRISMA_NEXT_DISABLE_TELEMETRY opt-out is still honoured; rename the others in shell profiles, .env files, and CI. The per-user telemetry config moves from ~/.config/prisma-next/ to ~/.config/prisma-8/, so the one-time telemetry notice prints once more. orm init now writes its primer as prisma-8.md instead of prisma-next.md. See the app upgrade recipe. (#30262) …

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Prisma

Prisma 8.0.0-rc.9: Strengere Schemavalidierung und neue Filter-Typen

Prisma 8.0.0-rc.9 verschärft die Schemavalidierung, ergänzt wiederverwendbare Query-Filter-Typen, behebt Fehler bei Language-Server-Diagnosen und PostgreSQL-Migrationsprüfung und ändert u. a. die Sortierung textbasierter Enums sowie die Argumente von MongoDB-Indizes.

v8.0.0-rc.9

This RC tightens schema validation, adds reusable query-filter types, and fixes language-server diagnostics and PostgreSQL migration verification.

Breaking changes

  • Text-backed enum ordering follows stored values. PostgreSQL ORDER BY and DISTINCT ON no longer impose enum declaration order. If semantic ranking matters, use an explicit ranking expression or numeric enum values; native PostgreSQL enums retain their database ordering. Changing existing storage to numeric values requires a data-preserving migration, including defaults and constraints—not rewriting applied migration history. See the app upgrade recipe. (#30223)

  • MongoDB index arguments use native schema values. Replace encoded wildcard-index include/exclude strings with string lists and encoded text-index weights strings with records. Weights must be integers from 1 to 99,999; malformed and unsupported arguments now fail validation. The filter argument remains quoted JSON. See the app upgrade recipe. (#29833)

    Before:

    @@index([wildcard()], include: "[metadata, nested.path]")
    @@textIndex([title, body], weights: "{\"title\": 10, \"body\": 5}")…
    

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Prisma

Prisma 8.0.0-rc.8: cli-engine 0.3.0 und angepasste Migrationsplanung

Prisma 8.0.0-rc.8 nutzt @prisma/cli-engine@0.3.0 mit dem Management API SDK als Peer-Dependency, migration plan plant bei vorhandenen Migrationen nicht mehr stillschweigend von einer leeren Datenbank aus, und der prisma-8-Skill vermittelt Agenten das echte Migrationsmodell.

v8.0.0-rc.8

The toolchain releases against @prisma/cli-engine@0.3.0, which now takes the Management API SDK as a peer dependency, and migration plan no longer plans silently from an empty database when migrations already exist.

The upgrade recipe for this hop: the user recipe.

Breaking changes

  • The engine peer moves to @prisma/cli-engine@0.3.0 — @prisma/orm-toolchain declares the unified CLI's engine as an exact peer, and this release peers 0.3.0 (up from 0.2.3). The engine's change: @prisma/management-api-sdk moves from a regular dependency to a peer dependency (^1.55.0), supplied by the prisma CLI shell at runtime. Installs assembled by the unified prisma CLI resolve one engine as before; a host that pins the engine itself must move to 0.3.0 and, if it runs the engine outside the CLI shell, install the SDK itself. (prisma/prisma-cli#236)

Features

  • The prisma-8 skill, auto-installed into every project by prisma init, now teaches agents the migration system's real model — plan-from-state with explicit baselines, not a linear chain — so agents stop producing full-create plans against real databases. (#30123)

Fixes …

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Prisma

Prisma 8.0.0-rc.7: Paginierung mit limit und offset

In Prisma 8.0.0-rc.7 heißen die ORM-Paginierungsmethoden .take(n)/.skip(n) nun .limit(n)/.offset(n), und die Toolchain nutzt @prisma/cli-engine@0.2.3.

v8.0.0-rc.7

ORM collection pagination renames to limit/offset, and the toolchain releases against @prisma/cli-engine@0.2.3, the engine whose config loader ships the prisma init scaffold fixes from the unified CLI's rc line.

The upgrade recipe for this hop: the user recipe.

Breaking changes

  • ORM pagination is limit/offset, not take/skip — .take(n) and .skip(n) are renamed to .limit(n) and .offset(n) on SQL and Mongo ORM collections, including relation refinements and grouped SQL collections; the old names are removed. Semantics are unchanged. Mongo's lower-level query builder keeps .skip(n) — it names the native $skip pipeline stage, not the collection API. (#30112)

    Before:

    await db.orm.User.orderBy((u) => u.id.asc()).skip(10).take(10).all();
    

    After:

    await db.orm.User.orderBy((u) => u.id.asc()).offset(10).limit(10).all();
    ``` …
    

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Prisma

Prisma 8.0.0-rc.6: Temporal-Werte für PostgreSQL-Zeitspalten

In Prisma 8.0.0-rc.6 werden PostgreSQL-Zeitspalten statt als Date als Temporal-Werte oder Text gelesen, der prisma-8-Agent-Skill ist in den ORM-Paketen enthalten, prisma orm init übergibt das Agent-Skills-Setup an prisma init, und die Toolchain nutzt @prisma/cli-engine@0.2.2.

v8.0.0-rc.6

PostgreSQL temporal columns move from Date to explicit Temporal-or-text representations, the prisma-8 agent skill ships inside the ORM packages a project installs, prisma orm init hands agent-skills setup to the family-level prisma init, and the toolchain releases against @prisma/cli-engine@0.2.2 — the engine that evaluates prisma.config.ts correctly under pnpm symlink layouts.

The upgrade recipe for this hop: the user recipe.

Breaking changes

  • PostgreSQL temporal columns read as Temporal values or text, never Date — each of date, timestamp(p), timestamptz(p) and time(p) now has two representation-explicit codecs: a Temporal-backed one (the bare PSL spellings Date, Timestamp, Timestamptz, Time select it) and a text one (DateString, TimestampString, TimestamptzString, TimeString). The previous codecs (pg/date@1, pg/timestamp@1, pg/timestamptz@1, pg/time@1, sql/timestamp@1 / field.timestamp()) are removed with no aliases. Pick a representation per column, re-emit every contract, and provide a global Temporal implementation (e.g. import 'temporal-polyfill/full/global') wherever a Temporal-backed column is read. See the migration recipe. ([#30073](https://github.com…

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Prisma

Prisma ORM 7.10.0: Kompatibilitätspaket @prisma/prisma7

Prisma ORM 7.10.0 führt das Kompatibilitätspaket @prisma/prisma7 ein, mit dem Prisma 7 parallel zu Prisma 8 betrieben werden kann, sichert den lokalen Server von Prisma Studio ab und enthält Fehlerbehebungen für Prisma Client sowie mehrere Adapter.

Prisma ORM 7.10.0

Prisma ORM 7.10.0 introduces a compatibility package for running Prisma 7 alongside newer Prisma versions, secures Prisma Studio's local server, and includes fixes across Prisma Client and the PostgreSQL, MariaDB, Neon, SQLite, and Prisma Postgres Serverless adapters.

Highlights

Run Prisma 7 alongside Prisma 8

This release introduces @prisma/prisma7, a compatibility package that lets you retain a matching Prisma 7 CLI and configuration while installing Prisma 8 in the same project.

Once 7.10.0 is released, a side-by-side installation can use:

npm install --save-dev prisma@8 @prisma/prisma7@7.10.0
npm install @prisma/client@7.10.0

Use prisma for the directly installed Prisma 8 CLI and prisma7 for Prisma 7:

npx prisma --version
npx prisma7 --version

npx prisma7 generate
npx prisma7 migrate dev
npx prisma7 db push

Prisma 7 now prefers version-specific configuration files, allowing its configuration to coexist with Prisma 8's prisma.config.* files:

// prisma7.config.ts
import { defineConfig } from '@prisma/prisma7/config'

export default defineConfig({
  schema: 'prisma/schema.prisma',
  migrations: {
    path: 'prisma/migrations',
  },
})

Without an explicit --config option, Prisma 7 searches for:

  1. Root-level prisma7.config.* files.
  2. .config/prisma7.* files.
  3. Existing prisma.config.* files as a backwards-compatible fallback. …

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Prisma

Prisma 8.0.0-rc.5: Vereinheitlichte CLI-Befehlspfade und robustere Postgres-Laufzeit

Prisma 8.0.0-rc.5 verwendet in der ORM-Befehlsfamilie die Befehlspfade der vereinheitlichten CLI (z. B. db migrate, migration ref set), macht die Postgres-Laufzeit robust gegen getrennte Idle-Verbindungen, lässt Aggregation die abgeschlossene Kette berücksichtigen und erlaubt die Wiederverwendung typisierter Rückgabespalten im Raw-Lane.

v8.0.0-rc.5

The ORM command family now ships the unified CLI's command paths directly, the Postgres runtime survives dropped idle connections, aggregation respects the chain it terminates, and the raw lane lets an outer query reuse an inner query's typed return columns.

The upgrade recipe for this hop: the user recipe.

Breaking changes

  • The ORM command family is keyed by the unified CLI's mount paths — @prisma/orm-toolchain's command family now publishes the six moved commands under their unified spellings (contract format, db migrate, migration ref list|set|delete, orm init) instead of the retired standalone grammar (format, migrate, ref …, init), and every help example and error remediation names those paths (with the {bin} placeholder instead of a hardcoded binary name). Through the unified prisma CLI nothing moves — these were already the mounted paths — but a host that mounts the family by key, or a script driving the workspace binary with the old spellings, must respell the six commands. (#30102)

    Before:

    prisma migrate --to production
    prisma ref set staging 4cb4256
    

    After:

    prisma db migrate --to production
    prisma migration ref set staging 4cb4256
    

Features …

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Prisma

Prisma 8.0.0-rc.4: Veraltete Config-Fallbacks entfernt, CLI-Fehler behoben

Prisma 8.0.0-rc.4 entfernt die veralteten Config-Fallbacks (prisma-next.config.ts, flache Konfigurationsform), sodass nur noch prisma.config.ts mit definePrismaConfig({ orm: ormConfig({ … }) }) gelesen wird, und behebt zwei Fehler im prisma-CLI-Stack.

v8.0.0-rc.4

The transition period for the old ORM config is over, and two fixes land for the consolidated prisma CLI stack. Most projects created before rc.2 need the config migration below; projects scaffolded by rc.2+ init need nothing.

The upgrade recipe for this hop: the user recipe.

Breaking changes

  • The deprecated config fallbacks are gone — the CLI no longer reads prisma-next.config.ts and no longer accepts the flat (un-nested) config shape; both now fail loudly instead of warning. The only config read is prisma.config.ts in the envelope shape, and the workspace prisma-next binary is retired — the unified CLI runs the ORM commands at the top level. Rename the file, wrap your ORM options in definePrismaConfig({ orm: ormConfig({ … }) }), and keep import 'dotenv/config' if your config reads process.env. See the user recipe for the exact rewrite. (#30058)

    Before:

    // prisma-next.config.ts
    import { defineConfig } from '@prisma/orm-postgres/config';
    
    export default defineConfig({ contract: './contract.prisma', db: { connection: process.env['DATABASE_URL']! } });
    

    After:

    // prisma.config.ts
    import 'dotenv/config'; …
    

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Prisma

Prisma 8.0.0-rc.3: @prisma/cli-engine-Peer auf 0.2.0 angehoben

Prisma 8.0.0-rc.3 hebt den exakten @prisma/cli-engine-Peer von 0.1.1 auf 0.2.0 an, ohne ORM-API-Änderungen, und ist gemeinsam mit dem passenden prisma-CLI-Release zu aktualisieren.

v8.0.0-rc.3

A single-purpose release: @prisma/orm-toolchain moves its exact @prisma/cli-engine peer from 0.1.1 to 0.2.0, so the unified prisma CLI can ship a release in which every mounted product runs on the one engine version it installs. There are no ORM API changes in this release.

Breaking changes

  • The exact @prisma/cli-engine peer moves to 0.2.0 — engine 0.2.0 adds the credential-refresh exports and structured delegated output that prisma@8.0.0-rc.4 was built against but the registry's engine 0.1.1 does not contain, which is why npx prisma@next currently fails on import. This release pairs with the prisma CLI release that depends on it (8.0.0-rc.5); upgrade both together. No code changes — an operational peer move only. (#30056)

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Prisma

Prisma 8.0.0-rc.2: Einheitliche prisma-CLI und Aggregate als JavaScript-Zahlen

Prisma 8.0.0-rc.2 ersetzt die prisma-next-Binary durch die vereinheitlichte prisma-CLI, gibt Standard-Aggregate wieder als JavaScript-Zahlen zurück, macht CHECK-Constraints zum deklarierten Teil des Contracts und trennt Laufzeit-Zeilenabfragen von nicht zurückgebenden Schreibvorgängen.

v8.0.0-rc.2

This release retires the prisma-next binary in favour of the unified prisma CLI, returns the default aggregates to plain JavaScript numbers with lossless variants beside them, makes CHECK constraints a declared part of the contract, and splits runtime row queries from non-returning writes. Almost every application will need to re-emit its contract and rename its config file, so read the breaking changes before upgrading.

Two upgrade recipes carry the mechanical translations for this hop: the user recipe and the extension-author recipe.

Breaking changes

  • This repository no longer publishes a CLI; the unified prisma CLI replaces it — nothing published ships a prisma-next bin anymore. @prisma/orm-toolchain exposes the orm command family at @prisma/orm-toolchain/cli and no binary, and the database facades forward no launcher. Install @prisma/cli (the prisma-cli distribution, published under next for the v8 line) and replace prisma-next <command> in package scripts and CI with the unified CLI. The config file moves with it: prisma-next.config.ts is deprecated in favour of prisma.config.ts, and the config value is now engine-shaped, with your existing ORM config nested under an orm section. Both th…

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Prisma

Prisma 8.0.0-rc.1: Start der v8-Release-Candidates mit Aggregat- und Treiberänderungen

Prisma 8.0.0-rc.1 eröffnet die v8-Release-Candidate-Versionierung (8.0.0-rc.N), lässt Aggregate über den Codec ihres Ziels lesen (count() liefert bigint), teilt das SQL-Treiberinterface auf und behebt vier Fehler bei Query-Planung, Emit und Treiber-Fehlermeldungen.

v8.0.0-rc.1

This is the first release on the v8 release-candidate line: releases are now versioned 8.0.0-rc.N instead of 0.x minors. It also makes every aggregate read back through the codec its target declares — count() returns a bigint — splits the SQL driver interface into a row-streaming call and a statistics call, and fixes four defects in query planning, emit, and driver error reporting.

The v8 release-candidate line

Releases are now versioned 8.0.0-rc.1, 8.0.0-rc.2, and so on, with the counter advancing on every release. "The v8 RC" is the product name; the number underneath iterates freely, so there is no promise that the last RC before 8.0.0 final is numbered rc.1. There are no further 0.x minors. The policy is written up in docs/oss/versioning.md. (#29899)

For every package this repository publishes, latest keeps tracking the newest release, RC included. These package names have no pre-v8 stable audience to protect — a bare npm install of one of them was already an early-access install, and still is. The bare prisma package is not published from this repository; its v8 CLI shim lives in prisma/prisma-cli. …

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Prisma

Prisma Next v0.17.0: 17 Pakete unter @prisma, verlustfreie Relationen

Prisma Next v0.17.0 veröffentlicht 17 Pakete unter dem @prisma-Scope, sodass eine Anwendung nur eine Datenbank-Facade benötigt, vervollständigt das Fehlercode-Schema, macht das Laden von Relationen für große Zahlen und Zeitwerte verlustfrei und vergibt exakte, migrierbare Namen für SQL-Indizes und RLS-Policies.

v0.17.0

This is the namespace release: Prisma Next now publishes as 17 packages under the @prisma scope, and an application depends on exactly one database facade. It also completes the structured error-code scheme across every plane, makes relation-loading lossless for big numbers and temporal values, and gives every SQL index and RLS policy an exact, migratable name.

Breaking changes

  • One @prisma package per application — the @prisma-next/* scope is retired; nothing publishes under it again. An application depends on exactly one database facade — @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo — plus any extension packs it uses (now named @prisma/orm-extension-*); everything else arrives as the facade's exact-pinned dependencies. Regenerating your contract rewrites generated imports to facade entrypoints with no contractHash change. See the 0.16-to-0.17 upgrade recipe and the extension-author recipe. (#29864, #29880, #29883, #29884)

    Before:

    "dependencies": {
      "@prisma-next/postgres": "0.16.0", …
    

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Prisma

Prisma 7.9.1: Patch behebt Sicherheitswarnung in transitiver Abhängigkeit

Prisma 7.9.1 ist ein Patch-Release, der eine Sicherheitswarnung in einer transitiven Abhängigkeit der Prisma CLI (über @prisma/dev) behebt, wobei kein dringender Handlungsbedarf besteht und das Update nur Fehlalarme von Sicherheitsscannern vermeidet.

Today, we're issuing a patch release to resolve a security advisory in a transitive dependency of Prisma CLI (via @prisma/dev).

This fixes https://github.com/prisma/prisma/issues/29780.

It does not actually affect @prisma/dev or Prisma CLI so no urgent action is required, but it is recommended to upgrade nevertheless to avoid false positives from security scanners.

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Prisma

Prisma 7.9.0: Shell-Tab-Completions für bash, zsh, fish und PowerShell

Prisma 7.9.0 liefert Shell-Tab-Completions für bash, zsh, fish und PowerShell, die Befehle, Optionen und Werte der Prisma CLI über die Paketmanager-Integration von @bomb.sh/tab vervollständigen.

Today, we are excited to share the 7.9.0 stable release 🎉

🌟 Star this repo for notifications about new releases, bug fixes & features — or follow us on X!

Highlights

ORM

Tab completions for the Prisma CLI

Typing out CLI commands from memory is now optional. Prisma ships shell tab completions for bash, zsh, fish, and PowerShell, covering commands, subcommands, options, flags, and even option values.

Setting it up. Most projects run Prisma through a package manager, so completions are enabled through @bomb.sh/tab's package-manager integration — install it once, then source the completion for your package manager and shell:

# 1. Install @bomb.sh/tab globally
npm install -g @bomb.sh/tab

# 2. Wire up your package manager + shell (pnpm shown; swap in npm / yarn / bun):
echo 'source <(tab pnpm zsh)'  >> ~/.zshrc            # zsh
echo 'source <(tab pnpm bash)' >> ~/.bashrc           # bash
tab pnpm fish > ~/.config/fish/completions/pnpm.fish  # fish
tab pnpm powershell > ~/.tab-pnpm.ps1                 # PowerShell (then dot-source it from $PROFILE)

@bomb.sh/tab delegates to any locally-installed CLI that ships completions, so pnpm prisma <TAB>, pnpm exec prisma <TAB>, yarn prisma <TAB>, and bun x prisma <TAB> all complete Prisma's commands, options, and values — no per-project setup. (npx and bunx don't support completion themselves; use npm exec and bun x.) …

Originalquelle(öffnet in neuem Tab)Problem melden