You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bash/Dockerfile: Add support for named ellipses such as in echo $...ARGS (#4887)
Constant propagation for static constants in php (#5022)
Changed
When running a baseline scan on a shallow-cloned git repository,
Semgrep still needs enough git history available
to reach the branch-off point between the baseline and current branch.
Previously, Semgrep would try to gradually fetch more and more commits
up to a thousand commits of history,
before giving up and just fetching all commits from the remote git server.
Now, Semgrep will keep trying smaller batches until up to a million commits.
This change should reduce runtimes on large baseline scans on very large repositories.
Semgrep-core now logs the rule and file affected by a memory warning.
TS: Fixed matching of parameters with type annotations. E.g., it is now possible
to match ({ params }: Request) => { } with ({$VAR} : $REQ) => {...}. (#5004)