new --show-supported-languages CLI flag to display the list of languages
supported by semgrep. Thanks to John Wu for his contribution! (#4754)
--validate will check that metavariable-x doesn't use an invalid
metavariable
Add r2c-internal-project-depends on support for Java, Go, Ruby, and Rust
PHP: .tpl files are now considered PHP files (#4763)
Scala: Support for custom string interpolators (#4655)
Scala: Support parsing Scala scripts that contain plain definitions outside
an Object or Class
JSX: JSX singleton elements (a.k.a XML elements), e.g., <foo /> used to
match also more complex JSX elements, e.g., <foo >some child</foo>.
This can now be disabled via rule options:
with xml_singleton_loose_matching: false (#4730)
JSX: new matching option xml_attrs_implicit_ellipsis that allows
disabling the implicit ... that was added to JSX attributes patterns.
new focus-metavariable: experimental operator (#4735) (the syntax may change
in the near futur)
Fixed
Report parse errors even when invoked with --strict
Show correct findings count when using --config auto (#4674)
new --show-supported-languages CLI flag to display the list of languages
supported by semgrep. Thanks to John Wu for his contribution! (#4754)
--validate will check that metavariable-x doesn't use an invalid
metavariable
Add r2c-internal-project-depends on support for Java, Go, Ruby, and Rust
PHP: .tpl files are now considered PHP files (#4763)
Scala: Support for custom string interpolators (#4655)
Scala: Support parsing Scala scripts that contain plain definitions outside
an Object or Class
JSX: JSX singleton elements (a.k.a XML elements), e.g., <foo /> used to
match also more complex JSX elements, e.g., <foo >some child</foo>.
This can now be disabled via rule options:
with xml_singleton_loose_matching: false (#4730)
JSX: new matching option xml_attrs_implicit_ellipsis that allows
disabling the implicit ... that was added to JSX attributes patterns.
new focus-metavariable: experimental operator (#4735) (the syntax may change
in the near futur)
Fixed
Report parse errors even when invoked with --strict
Show correct findings count when using --config auto (#4674)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps semgrep from 0.76.2 to 0.84.0.
Release notes
Sourced from semgrep's releases.
... (truncated)
Changelog
Sourced from semgrep's changelog.
... (truncated)
Commits
8b5e886
Release 0.84.04ea97d7
[JSX] new option: xml_singleton_loose_matching (#4774)1102792
Allow dockerfile patterns without a trailing newline (#4773)9698023
Parse Scala files that contain plain blocks (#4769)842c986
project-depends-on: scan yarn.lock dependencies without hashes, and run rules...a9a3537
get rid of bad log4j version (#4768)59e4523
Support custom string interpolators (#4767)169f0a0
fix(metrics): dont raise if both metrics value are the same (#4703)dc1ade9
Support Java, Go, Ruby, and Rust in project-depends-on patterns (#4699)03940f0
chore(docker): pin primary build by sha hash (#4750)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)