Skip to content

Commit 46defbb

Browse files
Copilothotlong
andcommitted
Add changeset for filter operators patch release
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 982cf7a commit 46defbb

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.changeset/fix-filter-operators.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
"@objectstack/spec": patch
3+
"@objectstack/driver-memory": patch
4+
---
5+
6+
Fix filter operators (contains, notContains, startsWith, endsWith, between, null) broken across spec and memory driver
7+
8+
- Add `$notContains` to `StringOperatorSchema`, `FieldOperatorsSchema`, `FILTER_OPERATORS`, and `Filter` type
9+
- Add `notcontains` / `not_contains` to `VALID_AST_OPERATORS` and `AST_OPERATOR_MAP`
10+
- Fix memory driver `convertToMongoQuery()` passthrough to normalize non-standard operators to Mingo-compatible format
11+
- Add `$notContains` and `$null` operators to memory matcher
12+
- Fix undefined value guard in memory matcher to exclude `$exists`, `$ne`, and `$null`

0 commit comments

Comments
 (0)