From 4b2d8596c96a707b04a941aba6fcb251e658a7c7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 18 Aug 2026 23:26:01 +0000 Subject: [PATCH] Version Packages --- .changeset/rename-ste-vec-contains.md | 12 ------ Cargo.lock | 2 +- crates/eql-bindings/Cargo.toml | 2 +- .../eql-bindings/sql/cipherstash-encrypt.sql | 38 +++++++++++++++++-- crates/eql-bindings/sql/release-manifest.json | 4 +- packages/eql/CHANGELOG.md | 13 +++++++ packages/eql/package.json | 2 +- packages/eql/sql/cipherstash-encrypt.sql | 38 +++++++++++++++++-- packages/eql/sql/release-manifest.json | 4 +- .../eql/src/generated/release-manifest.ts | 4 +- 10 files changed, 92 insertions(+), 27 deletions(-) delete mode 100644 .changeset/rename-ste-vec-contains.md diff --git a/.changeset/rename-ste-vec-contains.md b/.changeset/rename-ste-vec-contains.md deleted file mode 100644 index 1b1b25c53..000000000 --- a/.changeset/rename-ste-vec-contains.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -'@cipherstash/eql': patch ---- - -**`eql_v3.ste_vec_contains` is renamed to `eql_v3.jsonb_document_contains`.** This -consolidates the last `ste_vec_*`-named public object into the `jsonb_*` family, -matching the earlier renames of the SteVec entry/query surface (`jsonb_entry`, -`jsonb_query`). The old name remains available as a deprecated compatibility -alias, so existing direct callers continue to work; new code should use -`jsonb_document_contains`. The `json` `@>` / `<@` containment operators and the -raw-jsonb function-form entry points, `eql_v3.jsonb_contains(jsonb, jsonb)` and -`eql_v3.jsonb_contained_by(jsonb, jsonb)`, are unchanged. diff --git a/Cargo.lock b/Cargo.lock index a7619f5f8..e76325bbd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1131,7 +1131,7 @@ dependencies = [ [[package]] name = "eql-bindings" -version = "3.0.4" +version = "3.0.5" dependencies = [ "eql-domains", "schemars", diff --git a/crates/eql-bindings/Cargo.toml b/crates/eql-bindings/Cargo.toml index 83cf589fd..962a1f37c 100644 --- a/crates/eql-bindings/Cargo.toml +++ b/crates/eql-bindings/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "eql-bindings" -version = "3.0.4" +version = "3.0.5" edition = "2021" description = "Canonical wire types for EQL payloads — single source of truth for Rust, TypeScript (ts-rs), and JSON Schema (schemars)." # crates.io metadata. `license` is REQUIRED by crates.io — publish fails without diff --git a/crates/eql-bindings/sql/cipherstash-encrypt.sql b/crates/eql-bindings/sql/cipherstash-encrypt.sql index dcd10521f..88c460300 100644 --- a/crates/eql-bindings/sql/cipherstash-encrypt.sql +++ b/crates/eql-bindings/sql/cipherstash-encrypt.sql @@ -23444,6 +23444,38 @@ AS $$ @> eql_v3.to_ste_vec_query(b)::jsonb $$; +--! @cond deprecated_compatibility +--! @brief Deprecated compatibility alias for jsonb_document_contains(jsonb[], jsonb). +--! @deprecated Use eql_v3.jsonb_document_contains(jsonb[], jsonb). +--! @param a jsonb[] sv array to search within. +--! @param b jsonb sv element to search for. +--! @return boolean True if b's selector is present in any element of a. +CREATE FUNCTION eql_v3.ste_vec_contains(a jsonb[], b jsonb) + RETURNS boolean + LANGUAGE sql IMMUTABLE STRICT PARALLEL SAFE +AS $$ + SELECT eql_v3.jsonb_document_contains(a, b) +$$; + +COMMENT ON FUNCTION eql_v3.ste_vec_contains(jsonb[], jsonb) IS + 'DEPRECATED: use eql_v3.jsonb_document_contains(jsonb[], jsonb)'; + +--! @brief Deprecated compatibility alias for jsonb_document_contains(json_search, json_search). +--! @deprecated Use eql_v3.jsonb_document_contains(public.eql_v3_json_search, public.eql_v3_json_search). +--! @param a public.eql_v3_json_search Container. +--! @param b public.eql_v3_json_search Elements to find. +--! @return boolean True if all elements of b are contained in a. +CREATE FUNCTION eql_v3.ste_vec_contains(a public.eql_v3_json_search, b public.eql_v3_json_search) + RETURNS boolean + LANGUAGE sql IMMUTABLE STRICT PARALLEL SAFE +AS $$ + SELECT eql_v3.jsonb_document_contains(a, b) +$$; + +COMMENT ON FUNCTION eql_v3.ste_vec_contains(public.eql_v3_json_search, public.eql_v3_json_search) IS + 'DEPRECATED: use eql_v3.jsonb_document_contains(json_search, json_search)'; +--! @endcond + ------------------------------------------------------------------------------ -- Path queries (text selector only) ------------------------------------------------------------------------------ @@ -59437,7 +59469,7 @@ DROP FUNCTION IF EXISTS eql_v3.version(); --! @brief EQL version reporting (self-contained eql_v3 surface) --! --! This file is auto-generated from src/v3/version.template during build. ---! The 3.0.4 placeholder is replaced with the actual release +--! The 3.0.5 placeholder is replaced with the actual release --! version (bare semver, e.g. "3.0.0") supplied via `mise run build --version`, --! or "DEV" for development builds. @@ -59456,14 +59488,14 @@ CREATE FUNCTION eql_v3.version() RETURNS text IMMUTABLE STRICT PARALLEL SAFE AS $$ - SELECT '3.0.4'; + SELECT '3.0.5'; $$ LANGUAGE SQL; --! @brief Schema-level version marker for obj_description() discoverability --! --! Mirrors eql_v3.version() as a comment on the schema so the installed --! version can also be read via obj_description('eql_v3'::regnamespace). -COMMENT ON SCHEMA eql_v3 IS '3.0.4'; +COMMENT ON SCHEMA eql_v3 IS '3.0.5'; --! @file pin_search_path_v3.sql --! @brief Post-install: pin search_path on every eql_v3.* function. --! diff --git a/crates/eql-bindings/sql/release-manifest.json b/crates/eql-bindings/sql/release-manifest.json index 4cd5728ed..f0203fcc7 100644 --- a/crates/eql-bindings/sql/release-manifest.json +++ b/crates/eql-bindings/sql/release-manifest.json @@ -1,6 +1,6 @@ { - "eqlVersion": "3.0.4", + "eqlVersion": "3.0.5", "schemaVersion": 3, - "installSqlSha256": "a92cc04132512a43bf18b148c61fc0c205c42627709f1f641292519dc410873c", + "installSqlSha256": "accde0030b8f356af616175640635f67661d51aa900624b7fb0fb059e8115048", "uninstallSqlSha256": "b1b5131b8175c5d04da9ada108d25c81c5772b15fad79a6c419ebb32d18c60a9" } diff --git a/packages/eql/CHANGELOG.md b/packages/eql/CHANGELOG.md index d78abe309..10e5a4c61 100644 --- a/packages/eql/CHANGELOG.md +++ b/packages/eql/CHANGELOG.md @@ -1,5 +1,18 @@ # @cipherstash/eql +## 3.0.5 + +### Patch Changes + +- 4c2bb92: **`eql_v3.ste_vec_contains` is renamed to `eql_v3.jsonb_document_contains`.** This + consolidates the last `ste_vec_*`-named public object into the `jsonb_*` family, + matching the earlier renames of the SteVec entry/query surface (`jsonb_entry`, + `jsonb_query`). The old name remains available as a deprecated compatibility + alias, so existing direct callers continue to work; new code should use + `jsonb_document_contains`. The `json` `@>` / `<@` containment operators and the + raw-jsonb function-form entry points, `eql_v3.jsonb_contains(jsonb, jsonb)` and + `eql_v3.jsonb_contained_by(jsonb, jsonb)`, are unchanged. + ## 3.0.4 ### Patch Changes diff --git a/packages/eql/package.json b/packages/eql/package.json index 07eed4762..125e5efc7 100644 --- a/packages/eql/package.json +++ b/packages/eql/package.json @@ -1,6 +1,6 @@ { "name": "@cipherstash/eql", - "version": "3.0.4", + "version": "3.0.5", "description": "Canonical EQL v3 wire types, JSON schemas, and SQL bundle.", "keywords": [ "eql", diff --git a/packages/eql/sql/cipherstash-encrypt.sql b/packages/eql/sql/cipherstash-encrypt.sql index dcd10521f..88c460300 100644 --- a/packages/eql/sql/cipherstash-encrypt.sql +++ b/packages/eql/sql/cipherstash-encrypt.sql @@ -23444,6 +23444,38 @@ AS $$ @> eql_v3.to_ste_vec_query(b)::jsonb $$; +--! @cond deprecated_compatibility +--! @brief Deprecated compatibility alias for jsonb_document_contains(jsonb[], jsonb). +--! @deprecated Use eql_v3.jsonb_document_contains(jsonb[], jsonb). +--! @param a jsonb[] sv array to search within. +--! @param b jsonb sv element to search for. +--! @return boolean True if b's selector is present in any element of a. +CREATE FUNCTION eql_v3.ste_vec_contains(a jsonb[], b jsonb) + RETURNS boolean + LANGUAGE sql IMMUTABLE STRICT PARALLEL SAFE +AS $$ + SELECT eql_v3.jsonb_document_contains(a, b) +$$; + +COMMENT ON FUNCTION eql_v3.ste_vec_contains(jsonb[], jsonb) IS + 'DEPRECATED: use eql_v3.jsonb_document_contains(jsonb[], jsonb)'; + +--! @brief Deprecated compatibility alias for jsonb_document_contains(json_search, json_search). +--! @deprecated Use eql_v3.jsonb_document_contains(public.eql_v3_json_search, public.eql_v3_json_search). +--! @param a public.eql_v3_json_search Container. +--! @param b public.eql_v3_json_search Elements to find. +--! @return boolean True if all elements of b are contained in a. +CREATE FUNCTION eql_v3.ste_vec_contains(a public.eql_v3_json_search, b public.eql_v3_json_search) + RETURNS boolean + LANGUAGE sql IMMUTABLE STRICT PARALLEL SAFE +AS $$ + SELECT eql_v3.jsonb_document_contains(a, b) +$$; + +COMMENT ON FUNCTION eql_v3.ste_vec_contains(public.eql_v3_json_search, public.eql_v3_json_search) IS + 'DEPRECATED: use eql_v3.jsonb_document_contains(json_search, json_search)'; +--! @endcond + ------------------------------------------------------------------------------ -- Path queries (text selector only) ------------------------------------------------------------------------------ @@ -59437,7 +59469,7 @@ DROP FUNCTION IF EXISTS eql_v3.version(); --! @brief EQL version reporting (self-contained eql_v3 surface) --! --! This file is auto-generated from src/v3/version.template during build. ---! The 3.0.4 placeholder is replaced with the actual release +--! The 3.0.5 placeholder is replaced with the actual release --! version (bare semver, e.g. "3.0.0") supplied via `mise run build --version`, --! or "DEV" for development builds. @@ -59456,14 +59488,14 @@ CREATE FUNCTION eql_v3.version() RETURNS text IMMUTABLE STRICT PARALLEL SAFE AS $$ - SELECT '3.0.4'; + SELECT '3.0.5'; $$ LANGUAGE SQL; --! @brief Schema-level version marker for obj_description() discoverability --! --! Mirrors eql_v3.version() as a comment on the schema so the installed --! version can also be read via obj_description('eql_v3'::regnamespace). -COMMENT ON SCHEMA eql_v3 IS '3.0.4'; +COMMENT ON SCHEMA eql_v3 IS '3.0.5'; --! @file pin_search_path_v3.sql --! @brief Post-install: pin search_path on every eql_v3.* function. --! diff --git a/packages/eql/sql/release-manifest.json b/packages/eql/sql/release-manifest.json index 4cd5728ed..f0203fcc7 100644 --- a/packages/eql/sql/release-manifest.json +++ b/packages/eql/sql/release-manifest.json @@ -1,6 +1,6 @@ { - "eqlVersion": "3.0.4", + "eqlVersion": "3.0.5", "schemaVersion": 3, - "installSqlSha256": "a92cc04132512a43bf18b148c61fc0c205c42627709f1f641292519dc410873c", + "installSqlSha256": "accde0030b8f356af616175640635f67661d51aa900624b7fb0fb059e8115048", "uninstallSqlSha256": "b1b5131b8175c5d04da9ada108d25c81c5772b15fad79a6c419ebb32d18c60a9" } diff --git a/packages/eql/src/generated/release-manifest.ts b/packages/eql/src/generated/release-manifest.ts index b0f19bf12..21c403c1c 100644 --- a/packages/eql/src/generated/release-manifest.ts +++ b/packages/eql/src/generated/release-manifest.ts @@ -1,6 +1,6 @@ export const releaseManifest = { - eqlVersion: '3.0.4', + eqlVersion: '3.0.5', schemaVersion: 3, - installSqlSha256: 'a92cc04132512a43bf18b148c61fc0c205c42627709f1f641292519dc410873c', + installSqlSha256: 'accde0030b8f356af616175640635f67661d51aa900624b7fb0fb059e8115048', uninstallSqlSha256: 'b1b5131b8175c5d04da9ada108d25c81c5772b15fad79a6c419ebb32d18c60a9', } as const