Repository navigation
refactor(stack-encrypt,eql-bindings)!: remove the plan chain, the builder and the old traits #1666
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
coderdan
merged 21 commits into
next
from
refactor/stack-encrypt-remove-chain-and-old-traits
Nov 21, 2026
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
79f35dc
refactor(stack-encrypt,eql-bindings)!: remove the plan chain, the bui…
coderdan cafe922
fix(stack-encrypt,eql-bindings): address the review of the removal
coderdan 1359b27
docs(stack-encrypt): drop two more mentions of the plan builder and t…
coderdan 5682d53
docs(stack-encrypt): refresh the API plan's tracking lines
coderdan 1a38c33
test(stack-encrypt): move the audit test off the plan chain
coderdan a9ac8b2
test(stack-encrypt): move the audit compile tests and docs off the pl…
coderdan d89603c
refactor(stack-encrypt,eql-bindings): call a field marker a field ref…
coderdan 740bae8
test(eql): name and document the key source the encryption tests use
coderdan 2366c13
fix(stack-encrypt): wipe the plaintext a zip or all recovered before …
coderdan 46662f1
test(stack-encrypt): drop each opened JSON document inside the heap w…
coderdan 4e9bdd2
fix(stack-encrypt): keep a refused set of indexes in contexts()
coderdan fc3b5e4
docs(stack-encrypt): say which PlanError variants nothing raises
coderdan 304f299
docs(stack-encrypt): correct text the review found stale or misleading
coderdan 2d38694
test(stack-encrypt): assert what the review found unasserted
coderdan b44e96a
test(stack-encrypt): cover decrypt_from_with_context in the zip wipe …
coderdan 598d0d4
fix(stack-encrypt)!: a tuple of terms has at most three terms
coderdan bf3ebbc
test(stack-encrypt): query a field whose type is a derived plaintext …
coderdan 6edc326
test(stack-encrypt): fuzz the label parser and constructor
coderdan fc72ab5
fix(stack-encrypt)!: wipe the leaves a hand-written Decryption::zip o…
coderdan 05c50a6
test(stack-encrypt): name the combinators as the record fixture's pro…
coderdan 5886b5c
test(stack-encrypt): open a record the replacing chain sealed, frozen
coderdan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| --- | ||
| '@cipherstash/eql': minor | ||
| --- | ||
|
|
||
| `eql-bindings`, the Rust crate released with this package: the EQL v4 types no longer implement Stack Encrypt's older traits `EncryptFrom` and `DecryptInto`. Stack Encrypt removed them, with `encrypt_as`, `decrypt_as`, the plan builder and the query chain. | ||
|
|
||
| - Every type keeps `EncryptTarget` and `DecryptSource`. Write with `value.encrypt_into_with_context(&keyset, column)` and read with `P::decrypt_from_with_context(stored, &keyset, column)`. | ||
| - A typed query is a field reference of a derived record, such as `EncryptedMember::EMAIL.eq("bob").encrypt(&keyset)`. | ||
| - A JSON document is a `JsonPlaintext`, not a `serde_json::Value`. A typed JSON query has no replacement yet: derive the operand through a data plan that names `JsonSearch`. | ||
| - `JsonTree` no longer implements `stack_encrypt::target::Layout`. `encryption()`, `index()` and `specs()` are its own methods. | ||
|
|
||
| The stored format, the SQL bundle, and the TypeScript types do not change. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.