-
Notifications
You must be signed in to change notification settings - Fork 3
Searchable json query api #257
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
Closed
Closed
Changes from all commits
Commits
Show all changes
77 commits
Select commit
Hold shift + click to select a range
e941688
feat(schema): enable searchableJson() method for SteVec indexing
tobyhede 6a9208c
feat(protect): add JSON search term types for containment and path qu…
tobyhede 9558fc2
feat(protect): add query encryption operations with comprehensive tests
tobyhede 13ab8d3
refactor(protect): remove unintended public query API
tobyhede a112a44
chore: update protect-ffi to 0.20.0
tobyhede bedda29
fix: use local type definitions until protect-ffi 0.20.0 release
tobyhede b0c00d2
chore: update protect-ffi to 0.20.0
tobyhede 795e082
test(protect): add comprehensive JSON search terms tests
tobyhede e4bc7a6
feat(protect): expose JSON and query search operations via public API
tobyhede b660611
docs: add documentation for searchable encrypted JSON
tobyhede f5e4793
test(protect): add comprehensive tests for explicit query encryption …
tobyhede def4f0d
feat(protect): extend SearchTerm type to support JSON search terms
tobyhede 3c82c71
feat(protect): implement JSON support in SearchTermsOperation
tobyhede 6be18b4
test(protect): add JSON support tests for createSearchTerms
tobyhede 2d7a40d
deprecate(protect): mark createJsonSearchTerms as deprecated
tobyhede b6f3fd3
refactor(protect): remove deprecated createJsonSearchTerms API
tobyhede 3f9aed2
test(protect): add lock context tests and optimize client initialization
tobyhede 8596d2e
refactor(schema): replace magic string with ste_vec prefix inference
tobyhede 8be7455
test(protect): add missing test coverage for edge cases
tobyhede 6854834
fix(schema): resolve ste_vec prefix type mismatch in DTS build
tobyhede 3181da1
docs: address PR #257 code review feedback for searchable JSON API
tobyhede c0d66df
refactor(docs): address code review suggestions
tobyhede 6a90fcd
feat(types): add QueryTerm union types for unified encryptQuery API
tobyhede 1523dec
feat(types): add type guards for QueryTerm variants
tobyhede 5357cb6
feat(exports): export QueryTerm types and type guards
tobyhede 2415c4d
feat(operations): add BatchEncryptQueryOperation for batch encryptQuery
tobyhede 30e6cfc
feat(encryptQuery): add batch overload for array of QueryTerms
tobyhede c888923
test(encryptQuery): add comprehensive batch tests for JSON and mixed …
tobyhede 6700f45
deprecate(createQuerySearchTerms): mark as deprecated in favor of enc…
tobyhede 7b4a95f
deprecate(createSearchTerms): mark as deprecated in favor of encryptQ…
tobyhede e311d32
fix(types): resolve DTS build error in encryptQuery overload type nar…
tobyhede 354818a
style: fix linting issues in batch-encrypt-query and related files
tobyhede dbcc596
docs: update all documentation to use unified encryptQuery API
tobyhede 4775db2
test(encryptQuery): add withLockContext test for batch operations
tobyhede 37d6d60
refactor(encryptQuery): extract isQueryTermArray type guard for clean…
tobyhede 97b2270
docs: sync documentation with encryptQuery unified API implementation
tobyhede 14301bf
fix(encryptQuery): handle empty array input correctly
tobyhede e389d3f
feat(encryptQuery): make indexType optional with auto-inference support
tobyhede f32cc1d
fix(encryptQuery): correct docs and export missing types
tobyhede c6bc59b
chore: merge
calvinbrewer 50d5f27
refactor(encryptQuery): rename indexType to queryType with schema-mat…
tobyhede ba3aca3
test: tighten query search term assertions
tobyhede 453932b
refactor(search): encrypt ste_vec selectors and simplify search API
tobyhede e1ea208
docs: migrate reference markdown files to TSDoc
tobyhede 16333e0
test(protect): strengthen encrypted payload assertions with reusable …
tobyhede 48ea765
refactor(protect): simplify JS layer for FFI query mode inference
tobyhede f61862f
feat(protect): export FFI error types and preserve error codes
tobyhede 18d8359
test(protect): add ste_vec type inference and error code tests
tobyhede b8f0b02
chore(protect): update protect-ffi to git branch
tobyhede 44d8f2c
docs: update API naming from indexType to queryType
tobyhede c4fed10
docs: add queryType clarity notes
tobyhede 37c9a94
chore(protect): update protect-ffi to 0.20.1
tobyhede c3dc0bd
test(protect): update error message assertion for protect-ffi 0.20.1
tobyhede 85de1f0
test(protect): add coverage for JSON extraction operations
tobyhede b65022d
docs: align documentation with encryptQuery API changes
tobyhede 93b7ec6
test(protect): add JSONB proxy parity tests for comprehensive coverage
tobyhede 1bc4eb6
refactor(protect): address code review feedback for JSONB parity tests
tobyhede ccea674
test(protect): add JSONB test coverage for unknown fields and large d…
tobyhede 0fc3d48
test(drizzle): add encryption/decryption verification tests to JSONB …
tobyhede 1a6ef39
fix(drizzle): create test tables dynamically in JSONB test suite
tobyhede 649b883
fix(drizzle): use eql_v2_encrypted column type in JSONB test tables
tobyhede 5c60e50
feat(drizzle): add searchableJson option to encryptedType
tobyhede 7896281
refactor(drizzle): migrate JSONB tests from createSearchTerms to encr…
tobyhede 63cebec
chore(local): add test_run_id column to CI table schema
tobyhede cd8f850
refactor(protect): migrate JSONB tests to encryptQuery API
tobyhede 0fefd71
test(protect): add comprehensive encryptQuery API tests
tobyhede 362f587
test(protect): improve JSON encryption test assertions
tobyhede 8f6e035
docs(protect): remove version-specific deprecation notice from create…
tobyhede 57004e6
refactor(protect): rename toDollarPath to toJsonPath
tobyhede b00285d
test(protect): add unit tests for toJsonPath function
tobyhede 8fa52ea
test(protect): add string vs array path distinction tests for toJsonPath
tobyhede ddced84
refactor(protect): move deprecated search-terms test to deprecated di…
tobyhede 7c33795
refactor(protect): update import paths for deprecated search-terms mo…
tobyhede 4486895
test(protect): add number encryption tests for encryptQuery API
tobyhede 38c09af
refactor(protect): move deprecated search-terms operation to deprecat…
tobyhede c4fd596
fix(protect): address code review suggestions for deprecated API refa…
tobyhede 7658095
refactor(drizzle): reorganize JSONB tests to eliminate duplication
tobyhede File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| "@cipherstash/protect": major | ||
| "@cipherstash/schema": major | ||
| --- | ||
|
|
||
| Add searchable JSON query API with path and containment query support |
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
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
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.