Skip to content

Commit cddb182

Browse files
authored
Merge pull request #734 from cipherstash/fix/init-placeholder-eql-v3
fix(cli): scaffold EQL v3 encryption client from stash init
2 parents 0e96d36 + 04f5a13 commit cddb182

2 files changed

Lines changed: 121 additions & 157 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
'stash': patch
3+
---
4+
5+
`stash init` now scaffolds an EQL **v3** encryption client, matching the EQL v3
6+
database it installs.
7+
8+
The placeholder client (`DRIZZLE_PLACEHOLDER` / `GENERIC_PLACEHOLDER`) and the
9+
introspection-driven client generator previously emitted EQL v2 authoring
10+
patterns — `Encryption({ schemas })`, `encryptedColumn(...).equality().freeTextSearch()`,
11+
and `encryptedType<T>('x', { equality: true })`. Since init installs a v3
12+
database, this handed the customer's coding agent v2 guidance against a v3
13+
schema (follow-up to #732 / #705).
14+
15+
Scaffolds now teach the v3 surface: `EncryptionV3` from `@cipherstash/stack/v3`,
16+
the concrete-domain `types.*` factories (`types.TextSearch`, `types.IntegerOrd`,
17+
`types.Text`, `types.Json`, …), and the `@cipherstash/stack-drizzle/v3` entry
18+
(`extractEncryptionSchemaV3`) for Drizzle. The `encryptionClient` export shape
19+
and the empty-schema "no schemas yet" error path are unchanged.

0 commit comments

Comments
 (0)