-
b0e56b8: Upgrade protect-ffi to 0.21.0 and enable array_index_mode for searchable JSON
- Upgrade
@cipherstash/protect-ffito 0.21.0 across all packages - Enable
array_index_mode: 'all'on STE vec indexes so JSON array operations (jsonb_array_elements, jsonb_array_length, array containment) work correctly - Delegate credential resolution entirely to protect-ffi's
withEnvCredentials - Download latest EQL at build/runtime instead of bundling hardcoded SQL files
- Upgrade
-
e769740: Add encrypted JSONB query support with
searchableJson()(recommended).- New
searchableJson()schema method enables encrypted JSONB path and containment queries - Automatic query operation inference: string values become JSONPath selector queries, objects/arrays become containment queries
- Also supports explicit
queryType: 'steVecSelector'andqueryType: 'steVecTerm'for advanced use cases - JSONB path utilities (
toJsonPath,buildNestedObject,parseJsonbPath) for building encrypted JSON column queries
- New
- 532ac3a: Corrected types documentation in README to match Typedoc.
int->numbertext->string
- ff4421f: Expanded typedoc documentation
- 9005484: Include EQL 2.1.8 in package distribution
- d8ed4d4: Exported all types for packages looking for deeper integrations with Protect.js.
-
788dbfc: Added JSON and INT data type support and update FFI to v0.17.1 with x86_64 musl environment platform support.
- Update @cipherstash/protect-ffi from 0.16.0 to 0.17.1 with support for x86_64 musl platforms.
- Add searchableJson() method to schema for JSON field indexing (the search operations still don't work but this interface exists)
- Refactor type system: EncryptedPayload → Encrypted, add JsPlaintext
- Add comprehensive test suites for JSON, integer, and basic encryption
- Update encryption format to use 'k' property for searchable JSON
- Remove deprecated search terms tests for JSON fields
- Simplify schema data types to text, int, json only
- Update model helpers to handle new encryption format
- Fix type safety issues in bulk operations and model encryption
- d0b02ea: Released initial package for CipherStash Encrypt schemas.