Skip to content

Opengrep 2.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 13 Nov 13:14
Immutable release. Only release title and notes can be modified.
526deaf

Architecture

New features

Language support

  • Ruby, Crystal: heredocs, last-expression returns, yield, and taint through instance variables by @corneliuhoffman in #851
  • Python: parse PEP 695 'type' alias statements in the menhir parser by @timols in #845
  • Python: parse PEP 758 unparenthesized except-tuples in the menhir parser by @timols in #846
  • PHP: improvements to matching by @maciejpirog in #875
  • C#: upstream the tree-sitter grammar by @maciejpirog in #885
  • ASP.net: support for .ashx and .asmx files by @maciejpirog in #888
  • Typescript: support .mts and .cts file extensions by @JoeJoeflyn in #771
  • Scala: support for Scala 3 by @maciejpirog in #881
  • Typescript: upstream the tree-sitter parser, support Flow syntax in JavaScript files, by @maciejpirog in #899
  • Regexp, Python: regexes parse without failure, and Python string literals carry their Python value by @maciejpirog in #901

Engine

Improvements

Bug fixes

  • Make --test work on Windows (#192) by @Tito0015 in #844
  • Scan: exit code no longer depends on the order of the errors by @avgkoster in #895
  • Taint: Ruby methods that yield to an implicit block no longer abort the file's analysis by @corneliuhoffman in #861

Infrastructure

  • Remove leftover libcurl and OpenSSL link flags and packages by @dimitris-m in #872

CI

New Contributors

Full Changelog: v1.30.0...v2.0.0