Skip to content

Commit 626c445

Browse files
os-zhuangclaude
andcommitted
chore(changeset): ADR-0058 expression compiler (closes #1887)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 901b903 commit 626c445

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
"@objectstack/formula": minor
3+
"@objectstack/plugin-security": minor
4+
"@objectstack/plugin-sharing": minor
5+
---
6+
7+
ADR-0058 — expression & predicate surface unification. Adds the canonical
8+
CEL→FilterCondition pushdown compiler in `@objectstack/formula`
9+
(`compileCelToFilter`, `isPushdownableCel`, `lowerCelAst`) plus an in-memory
10+
`matchesFilterCondition` backend (one AST, three backends). `plugin-security`
11+
(RLS `using`, via a SQL bridge) and `plugin-sharing` (`celToFilter`) cut over to
12+
it, retiring the bespoke regex/field-equality front-ends. Compound sharing
13+
conditions now compile and enforce end-to-end (closes #1887). The RLS `check`
14+
clause is now enforced on the write post-image (insert/by-id update), fail-closed.
15+
Non-pushdownable predicates (arithmetic, functions, subqueries, cross-object) are
16+
an authoring compile error, never silently dropped (ADR-0049/0055).

0 commit comments

Comments
 (0)