Added
- support
for(...)
for Java - Rust: Semgrep patterns now support top-level statements (#2910)
- support for utf-8 code with non-ascii chars (#2944)
Fixed
- fixed single field pattern in JSON, allow
$FLD: { ... }
pattern - Config detection in files with many suffix delimiters, like
this.that.check.yaml
.
More concretely: configs end with.yaml
, YAML language tests end with.test.yaml
,
and everything else is handled by its respective language extension (e.g..py
). - Single array field in yaml in a pattern is parsed as a field, not a one element array