You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e9e81e6
Browse filesBrowse the repository at this point in the historyBrowse files
Upgrade to Prisma Next 0.14.0 (from 0.8.0). Every `@prisma-next/*` dependency is now pinned at 0.14.0; consuming apps must run Prisma Next 0.14 to use this release.
6
+
7
+
Highlights of the upgrade:
8
+
9
+
- The extension contract space is re-emitted in the 0.14 canonical shape: storage is namespace-enveloped (`storage.namespaces.public.entries.table`), the domain plane replaces flat `models`, and the baseline EQL-install migration is re-pinned to the new storage hash. The vendored EQL bundle SQL is unchanged byte-for-byte.
10
+
-`deriveStackSchemas` reads the namespace-enveloped contract shape emitted by Prisma Next 0.10+.
11
+
- The bulk-encrypt middleware accepts the widened insert/update AST value unions introduced through 0.9–0.11.
12
+
- README examples use the namespace-qualified ORM accessors (`db.orm.public.User`) required since Prisma Next 0.14.
|`docker-compose.yml`| Local Postgres 16 on port 5544. |
13
+
|`docker-compose.yml`| Local Postgres 16 on port 54338. |
14
14
|`prisma/schema.prisma`| Application schema (one `User` model exercising all six cipherstash codecs). |
15
15
|`prisma-next.config.ts`| Wires `cipherstash` into `extensionPacks`. |
16
16
|`src/db.ts`| One-call setup via `cipherstashFromStack({ contractJson })`. |
@@ -20,7 +20,7 @@ A single `User` model with one column per cipherstash codec (string, double, big
20
20
21
21
## Prerequisites
22
22
23
-
1.**Docker** for the bundled Postgres on port 5544 (or any Postgres 16+).
23
+
1.**Docker** for the bundled Postgres on port 54338 (or any Postgres 16+).
24
24
2.**A CipherStash workspace** — sign up at [cipherstash.com](https://cipherstash.com), then run `stash auth login` (PKCE; caches credentials in your OS keychain — no `CS_*` env vars needed in local dev).
25
25
26
26
## Run it
@@ -33,7 +33,7 @@ docker compose up -d
33
33
pnpm install
34
34
pnpm emit # PSL → contract.{json,d.ts}
35
35
pnpm migration:plan --name initial
36
-
pnpm migration:apply # installs EQL bundle + your app schema in one sweep
36
+
pnpm migration:apply # installs EQL bundle + your app schema in one sweep (runs `prisma-next migrate`)
0 commit comments