Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 1.15 KB

File metadata and controls

23 lines (19 loc) · 1.15 KB
stash patch

stash init now scaffolds an EQL v3 encryption client, matching the EQL v3 database it installs.

The placeholder client (DRIZZLE_PLACEHOLDER / GENERIC_PLACEHOLDER) and the introspection-driven client generator previously emitted EQL v2 authoring patterns — Encryption({ schemas }), encryptedColumn(...).equality().freeTextSearch(), and encryptedType<T>('x', { equality: true }). Since init installs a v3 database, this handed the customer's coding agent v2 guidance against a v3 schema (follow-up to #732 / #705).

Scaffolds now teach the v3 surface: EncryptionV3 from @cipherstash/stack/v3, the concrete-domain types.* factories (types.TextSearch, types.IntegerOrd, types.Text, types.Json, …), and the @cipherstash/stack-drizzle/v3 entry (extractEncryptionSchemaV3) for Drizzle. The encryptionClient export shape and the empty-schema "no schemas yet" error path are unchanged.

Superseded later in this release by the @cipherstash/stack-drizzle EQL v2 removal: the scaffolds now emit Encryption from @cipherstash/stack/v3 and extractEncryptionSchema from the collapsed @cipherstash/stack-drizzle root.