Repository navigation
v0.28.0
Add value guard syntax (key=value, [slot]=value) and remove wildcard-on-primitive special case.
New
- Value guard syntax:
key=value,key!=value,[slot]=value,[slot]!=valuefor direct value comparison at the path level - Supports all value types: numbers, None, True/False, strings, regex, wildcard
Breaking changes
[*=value]on primitive lists now returns[]— use[*]=valueinstead[!*=value]on primitive lists — use[*]!=valueinstead*&*=valueno longer matches primitives — use*=valueinstead- Existing
[*=value]on dicts is unchanged