Added
- Support for a new configuration language: JSON. You can now write
JSON semgrep patterns with -lang json - Support for '...' inside set and dictionaries
- Version check to recommend updating when out-of-date, disable with
--disable-version-check
- Support for multiline pattern-where-python
--dryrun
flag to show result of autofixes without modifying any files- Add capability to use regex replacement for autofixing. See documentaion here
- Add version check to recommend upgrading when applicable
Fixed
- Fix the range of function calls and statement blocks to include closing
}
and)
. - Do not convert certain parenthesized expressions in tuples in Python
- Returned warning when improperly mounting volume in docker container
- Correctly handle uncommited file deletions when using git aware file targeting
Changed
- Progress bar only displays when in interactive terminal, more than one
rule is being run, and not being run with-v
or-q
- Colapsed
--include-dir
and--exclude-dir
functionaity into--include
and
--exclude
respectively