# prisma/release
Prisma v8.0.0-rc.14
importance: highbreakingmigrationfeatureprerelease
This release introduces several breaking changes, including updates to the serverless client's `connect()` method, canonical storage of date/time defaults, and stricter type checks in the Mongo ORM. New features enhance compatibility with `postgres()` clients and Node 24.
affected
Users of the serverless client, Mongo ORM, and those with date/time defaults in their schemas are affected by breaking changes.
action
Follow the provided upgrade recipes for detailed migration steps.
release_signals
-Serverless `connect()` returns a connection, not a `Runtime`. Replace `runtime.query(plan)` with `db.runtime().query(plan)`, and pass `db.runtime()` wherever the `connect()` result was used as a runtime.
-A date or time default is stored in its type's canonical form. `prisma contract emit` now refuses a default that the column's type does not hold.
-The Mongo ORM checks every value through its field's codec. A write of a value of the wrong type now fails with `RUNTIME.ENCODE_FAILED`.
-`temporal-polyfill` is a peer dependency of the Postgres packages. Projects using Yarn must add `temporal-polyfill` to their dependencies.
-The toolchain requires `@prisma/cli-engine` 0.6.2. Projects pinning `@prisma/cli-engine` must update to 0.6.2.
+Serverless connection now has `db.orm`, `db.transaction(...)`, and `db.prepare(...)`, making it compatible with code written for `postgres()` clients.
migration_steps3 steps
- 01Update `@prisma/cli-engine` to 0.6.2 if pinned.
- 02Add `temporal-polyfill` to dependencies if using Yarn.
- 03Follow the app and extension recipes for detailed migration steps.
code_snippet
Before:
```ts
await using runtime = await db.connect({ url: env.HYPERDRIVE.connectionString });
const rows = await runtime.query(db.sql.public.user.select('id').build());
```
After:
```ts
await using db = await postgres.connect({ url: env.HYPERDRIVE.connectionString });
const rows = await db.runtime().query(db.sql.public.user.select('id').build());
```# community_signal
How useful is this release to your stack?
—
net score
Sign in with GitHub to cast your vote.
Sign in with GitHub to vote
You’ll return to this release, then choose your vote.