Skip to content

Releases: etiennebacher/astgrepr

astgrepr 0.0.8

08 Oct 13:10
Compare
Choose a tag to compare
  • Add support for using multi-metavars in replacement.

astgrepr 0.0.7

08 Sep 15:38
Compare
Choose a tag to compare
  • Fix edge case when a matched node is on the last line and there isn't an
    empty line at the end.
  • Internals: add CI, bump ast-grep to 0.26.3.

astgrepr 0.0.6

26 Jul 12:30
Compare
Choose a tag to compare
  • Replacing text that contains escaping characters (e.g. in regular expressions)
    doesn't remove those characters anymore.
  • Enable multiple replacements on the same line of code.
  • Replacing text now takes into account leading empty lines.
  • Ignore specific rules, e.g. # ast-grep-ignore: any_duplicated to ignore the
    rules stored in any_duplicated.yml only. Accepts several rules separated
    with a comma.

astgrepr 0.0.5

18 Jul 17:19
Compare
Choose a tag to compare
  • Support metavars in the message field in YAML files.

astgrepr 0.0.4

15 Jul 06:16
Compare
Choose a tag to compare
  • Bump ast-grep to 0.25.0.
  • Refactor Rust code.
  • Add support for constraints field when using rules YAML files (#19, #21).
  • Accept digits in metavar.

astgrepr 0.0.3

08 Jul 20:53
Compare
Choose a tag to compare
  • Add support to tags to ignore lines and chunks of code with # ast-grep-ignore,
    # ast-grep-ignore-start and # ast-grep-ignore-end.
  • Lots of refactor.
  • Support digits in meta-variables.
  • More tests.

astgrepr 0.0.2

04 Jul 15:40
Compare
Choose a tag to compare
  • More robust handling of yaml files.
  • Update extendr to 0.7.0.
  • Many changes that hard to list: basically everything works better.
  • Considerably reduce binary size (#8).

astgrepr 0.0.1

28 Jun 14:20
Compare
Choose a tag to compare

Initial release