Skip to content

Releases: ast-grep/ast-grep

0.22.4

27 May 04:51
Compare
Choose a tag to compare
  • feat: use var defined in utils in transform/fix #1155
  • fix: fix pattern polluting env #1164
  • test: add python fix test #1161
  • feat: add fix related feature to pyo3 #1159
  • test: add test for napi test #1160
  • feat: add commit_fix and fix to napi #1158
  • fix(deps): update babel monorepo to v7.24.6 0898b55
  • fix(deps): update dependency @swc/core to v1.5.7 9beda6e
  • feat: add edit/fix sketch 6817854

0.22.3

13 May 06:19
Compare
Choose a tag to compare

0.22.2

12 May 08:29
Compare
Choose a tag to compare

0.22.1

12 May 08:14
Compare
Choose a tag to compare
  • feat(language): Add support for Haskell via tree-sitter-haskell #1128
  • fix: add ast-grep to release #1130
  • fix(deps): update dependency @swc/core to v1.5.5 31428dd
  • fix(deps): update dependency tree-sitter-typescript to v0.21.1 188525d
  • chore(deps): update dependency @types/node to v20.12.11 3fe7780

0.22.0

08 May 19:37
Compare
Choose a tag to compare
  • test: add string test case back in Rust #1060
  • chore: bump tree-sitter version 5b45bd7
  • fix: update wasm crate ce9acba
  • fix: update ts deps 3a67b6b

0.21.4

06 May 21:11
Compare
Choose a tag to compare
  • fix: build from source #1125
  • doc: update how to install via cargo #1118
  • feat: report undefined util rules #1106
  • Breaking change: feat: separate RuleCoreError and RuleConfigError d96efa9
  • refactor: move Transformation into a standalone module b51cc95
  • fix(deps): update dependency @babel/core to v7.24.5 77ea8bd

0.21.3

03 May 04:28
Compare
Choose a tag to compare
  • feat: make pattern more permissive #1087
  • refactor: further simplify test case 8188473
  • refactor: make rewrite test simplier 5a754ef
  • test: add test for contextual pattern defined var 2d6bae8

0.21.2

02 May 06:42
Compare
Choose a tag to compare
  • feat: Allow to use meta variable captured outside of rewrite rule inside the rewriter #1072
  • refactor: move rule_core test out of rule_core 1e8af4c
  • feat: move check variable usage out to a standalone file f086d10
  • refactor: move check var around cfe3529

0.21.1

24 Apr 23:49
Compare
Choose a tag to compare
  • feat: find defined vars in utils cbc6534
  • fix: add referent rule stack overflow test case f7f24e1
  • feat: add utils defined vars 59001eb

0.21.0

24 Apr 08:05
Compare
Choose a tag to compare
  • feat: report unused rewriters #1064
  • feat: report undefined error in fix #1070
  • feat: define the resolution order of meta variables #1068
  • feat: export used meta-var in transform #1069
  • feat: export meta variables defined in transform #1066
  • feat: export meta variables defined in constraints/rules #1067
  • test: add test for Pattern::defined_vars method #1065
  • feat: analyze meta variables defined in pattern #1065
  • feat: add field id Error for relational rule #1059
  • feat: support rewrtier check in sub-rule eb4c47c
  • test: add undefined rewriter test d56ad74
  • feat: add used_vars in TemplateFix 641d3b4