Skip to content
This repository was archived by the owner on Sep 2, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions .changeset/rename-ste-vec-contains.md

This file was deleted.

2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/eql-bindings/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
38 changes: 35 additions & 3 deletions crates/eql-bindings/sql/cipherstash-encrypt.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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)
------------------------------------------------------------------------------
Expand Down Expand Up @@ -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.

Expand All @@ -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.
--!
Expand Down
4 changes: 2 additions & 2 deletions crates/eql-bindings/sql/release-manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"eqlVersion": "3.0.4",
"eqlVersion": "3.0.5",
"schemaVersion": 3,
"installSqlSha256": "a92cc04132512a43bf18b148c61fc0c205c42627709f1f641292519dc410873c",
"installSqlSha256": "accde0030b8f356af616175640635f67661d51aa900624b7fb0fb059e8115048",
"uninstallSqlSha256": "b1b5131b8175c5d04da9ada108d25c81c5772b15fad79a6c419ebb32d18c60a9"
}
13 changes: 13 additions & 0 deletions packages/eql/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/eql/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
38 changes: 35 additions & 3 deletions packages/eql/sql/cipherstash-encrypt.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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)
------------------------------------------------------------------------------
Expand Down Expand Up @@ -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.

Expand All @@ -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.
--!
Expand Down
4 changes: 2 additions & 2 deletions packages/eql/sql/release-manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"eqlVersion": "3.0.4",
"eqlVersion": "3.0.5",
"schemaVersion": 3,
"installSqlSha256": "a92cc04132512a43bf18b148c61fc0c205c42627709f1f641292519dc410873c",
"installSqlSha256": "accde0030b8f356af616175640635f67661d51aa900624b7fb0fb059e8115048",
"uninstallSqlSha256": "b1b5131b8175c5d04da9ada108d25c81c5772b15fad79a6c419ebb32d18c60a9"
}
4 changes: 2 additions & 2 deletions packages/eql/src/generated/release-manifest.ts
Original file line number Diff line number Diff line change
@@ -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
Loading