Changelog
Source:NEWS.md
astgrepr 0.1.0
CRAN release: 2025-06-04
- This is the first CRAN release.
- Update
extendr
to 0.8.0 (#40).
astgrepr 0.0.10
- In several lints can be fixed but overlap, the first lint is fixed but those that are nested in it are ignored. The text output of
tree_rewrite()
now has an attributehas_skipped_fixes
indicating if some lints were not fixed because they were nested (#34).
astgrepr 0.0.7
- 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
- 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 inany_duplicated.yml
only. Accepts several rules separated with a comma.
astgrepr 0.0.3
- 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
- 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).