109 Commits

Author SHA256 Message Date
d5b559c5cf - Update to 0.24.1:
* fix: skip missing node in pattern #1256
  * doc: add cli help text for debug format 1754382

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=59
2024-06-27 05:48:20 +00:00
Ana Guerrero
5eca2520ac Accepting request 1182969 from utilities
- Update to 0.24.0:
  * feat: add debug ast and cst #1218
  * feat: add strictness in PyO3 #1246
  * feat: add strictness flag in cli #1243
  * test: add test for different strictness #1241
  * feat: add strictness to YAML #1239
  * Breaking change: fix: update API for fix 4971ac2
  * Breaking change: fix: change deletedLength to endPos in napi c0e9a65
  * feat: add colorized output 22f279c

- Update to 0.23.1:
  * fix: all should not pollute env #1225
  * Breaking change: feat: use new pattern struct f219b43
  * refactor: move match_node impl out 27c918a
  * refactor: factor out match_ellipsis logic 407d2a8

OBS-URL: https://build.opensuse.org/request/show/1182969
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ast-grep?expand=0&rev=27
2024-06-24 18:56:27 +00:00
67f7ffc7d9 - Update to 0.24.0:
* feat: add debug ast and cst #1218
  * feat: add strictness in PyO3 #1246
  * feat: add strictness flag in cli #1243
  * test: add test for different strictness #1241
  * feat: add strictness to YAML #1239
  * Breaking change: fix: update API for fix 4971ac2
  * Breaking change: fix: change deletedLength to endPos in napi c0e9a65
  * feat: add colorized output 22f279c

- Update to 0.23.1:
  * fix: all should not pollute env #1225
  * Breaking change: feat: use new pattern struct f219b43
  * refactor: move match_node impl out 27c918a
  * refactor: factor out match_ellipsis logic 407d2a8

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=57
2024-06-24 07:27:05 +00:00
Ana Guerrero
3ef21d7ef9 Accepting request 1179978 from utilities
- Update to 0.23.0:
  * feat: add typings for pyo3 #676
  * refactor: remove unused old code 3ffd1d9
  * fix(deps): update babel monorepo to v7.24.7 b4aebaf
  * refactor: add new abstraction for match_tree 079bc7d

OBS-URL: https://build.opensuse.org/request/show/1179978
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ast-grep?expand=0&rev=26
2024-06-11 16:31:28 +00:00
9ded712c97 - Update to 0.23.0:
* feat: add typings for pyo3 #676
  * refactor: remove unused old code 3ffd1d9
  * fix(deps): update babel monorepo to v7.24.7 b4aebaf
  * refactor: add new abstraction for match_tree 079bc7d

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=55
2024-06-11 10:16:10 +00:00
Ana Guerrero
33aa4bdeb6 Accepting request 1178664 from utilities
- Update to 0.22.6:
  * fix: add Edit to export list #1186
  * feat: add modify edit range feature in pyo3 1e31253
  * test: add test for modifying edit 7044811
  * fix: addClass Edit in pyo3 d81c6c3

OBS-URL: https://build.opensuse.org/request/show/1178664
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ast-grep?expand=0&rev=25
2024-06-05 15:42:45 +00:00
f31dd02dd1 - Update to 0.22.6:
* fix: add Edit to export list #1186
  * feat: add modify edit range feature in pyo3 1e31253
  * test: add test for modifying edit 7044811
  * fix: addClass Edit in pyo3 d81c6c3

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=53
2024-06-05 06:21:28 +00:00
Ana Guerrero
751de30b79 Accepting request 1178224 from utilities
- Update to 0.22.5:
  * feat: support all languages in napi #1170
  * Breaking change: refactor: rename Frontend Language to Lang c582c16
  * refactor: move find files operations to standalone files 8ebb888
  * feat: support more languages in napi 19e3baa

OBS-URL: https://build.opensuse.org/request/show/1178224
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ast-grep?expand=0&rev=24
2024-06-03 15:44:18 +00:00
50d9fbbe86 - Update to 0.22.5:
* feat: support all languages in napi #1170
  * Breaking change: refactor: rename Frontend Language to Lang c582c16
  * refactor: move find files operations to standalone files 8ebb888
  * feat: support more languages in napi 19e3baa

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=51
2024-06-03 06:28:41 +00:00
Ana Guerrero
5a30303c7f Accepting request 1177044 from utilities
- Update to 0.22.4:
  * 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

OBS-URL: https://build.opensuse.org/request/show/1177044
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ast-grep?expand=0&rev=23
2024-05-27 09:56:37 +00:00
6240635aa2 - Update to 0.22.4:
* 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

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=49
2024-05-27 07:11:49 +00:00
Ana Guerrero
a0d30eebf4 Accepting request 1173693 from utilities
- Update to 0.22.3:
  * fix: fix napi test #1140
  * fix: use dumb implementation for web-tree-sitter 5cb7052
  * chore: fix asset names 70cef40
  * fix af20be8

- Update to 0.22.2:
  * fix: fix releases 3a6e553
  * fix: fix efaa1ca
  * fix: debug e39fd12

- Update to 0.22.1:
  * 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

- Update to 0.22.0:
  * 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

- Update to 0.21.4:
  * 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

OBS-URL: https://build.opensuse.org/request/show/1173693
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ast-grep?expand=0&rev=22
2024-05-14 11:37:44 +00:00
a345895ac3 - Update to 0.22.3:
* fix: fix napi test #1140
  * fix: use dumb implementation for web-tree-sitter 5cb7052
  * chore: fix asset names 70cef40
  * fix af20be8

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=47
2024-05-13 14:08:39 +00:00
f0ee5b230a - Update to 0.22.2:
* fix: fix releases 3a6e553
  * fix: fix efaa1ca
  * fix: debug e39fd12

- Update to 0.22.1:
  * 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

- Update to 0.22.0:
  * 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

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=46
2024-05-13 06:58:43 +00:00
f4113a1bea - Update to 0.21.4:
* 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

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=45
2024-05-07 06:39:39 +00:00
Ana Guerrero
9a6ae9f571 Accepting request 1171500 from utilities
- Update to 0.21.3:
  * 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

OBS-URL: https://build.opensuse.org/request/show/1171500
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ast-grep?expand=0&rev=21
2024-05-03 17:46:01 +00:00
1d326f69c4 - Update to 0.21.3:
* 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

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=43
2024-05-03 05:36:53 +00:00
Ana Guerrero
baa174dd0d Accepting request 1171335 from utilities
- Update to 0.21.2:
  * 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

OBS-URL: https://build.opensuse.org/request/show/1171335
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ast-grep?expand=0&rev=20
2024-05-02 21:48:19 +00:00
ecfe72679f - Update to 0.21.2:
* 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

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=41
2024-05-02 10:26:26 +00:00
Ana Guerrero
f48e3e61f8 Accepting request 1170674 from utilities
- Update to 0.21.1:
  * feat: find defined vars in utils cbc6534
  * fix: add referent rule stack overflow test case f7f24e1
  * feat: add utils defined vars 59001eb

- Update to 0.21.0:
  * 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

OBS-URL: https://build.opensuse.org/request/show/1170674
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ast-grep?expand=0&rev=19
2024-04-29 15:57:51 +00:00
d605b2baea - Update to 0.21.1:
* feat: find defined vars in utils cbc6534
  * fix: add referent rule stack overflow test case f7f24e1
  * feat: add utils defined vars 59001eb

- Update to 0.21.0:
  * 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

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=39
2024-04-29 07:08:06 +00:00
Ana Guerrero
bd3baf4914 Accepting request 1166897 from utilities
- Update to 0.20.5:
  * fix: add parse global util error 2482a86
  * fix: ignore test 6c2cd46

OBS-URL: https://build.opensuse.org/request/show/1166897
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ast-grep?expand=0&rev=18
2024-04-12 15:34:22 +00:00
e122ce0d11 - Update to 0.20.5:
* fix: add parse global util error 2482a86
  * fix: ignore test 6c2cd46

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=37
2024-04-11 14:28:44 +00:00
Ana Guerrero
ecb249a841 Accepting request 1166203 from utilities
- Update to 0.20.4:
  * fix: fix new deprecation note of Rust 2024 a70565e
  * fix: fix quickfix fef3dfc
  * fix: better fix message e0b5875

- Update to 0.20.3:
  * feat(lsp): run "source.fixAll.ast-grep" onsave #1021
  * test: move the integration-test to test folder f2ff77a
  * chore: cargo update 83394e9
  * refactor: move logging and io out of on_apply_all_fix cd79cda

OBS-URL: https://build.opensuse.org/request/show/1166203
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ast-grep?expand=0&rev=17
2024-04-08 15:39:38 +00:00
5eefde02b4 - Update to 0.20.4:
* fix: fix new deprecation note of Rust 2024 a70565e
  * fix: fix quickfix fef3dfc
  * fix: better fix message e0b5875

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=35
2024-04-08 12:42:11 +00:00
0a307ed612 - Update to 0.20.3:
* feat(lsp): run "source.fixAll.ast-grep" onsave #1021
  * test: move the integration-test to test folder f2ff77a
  * chore: cargo update 83394e9
  * refactor: move logging and io out of on_apply_all_fix cd79cda

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=34
2024-04-08 06:28:02 +00:00
Ana Guerrero
c523215c30 Accepting request 1163252 from utilities
- Update to 0.20.2:
  * feat: make test --update-all not report error #771
  * fix: fix update cases f8132a4
  * refactor: less indentation for interactive reporter 203bd35
  * feat: improve accept 441a548

OBS-URL: https://build.opensuse.org/request/show/1163252
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ast-grep?expand=0&rev=16
2024-03-28 12:55:22 +00:00
20e797b171 - Update to 0.20.2:
* feat: make test --update-all not report error #771
  * fix: fix update cases f8132a4
  * refactor: less indentation for interactive reporter 203bd35
  * feat: improve accept 441a548

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=32
2024-03-28 07:27:14 +00:00
Ana Guerrero
d73e3dae64 Accepting request 1161276 from utilities
- Update to 0.20.1:
  * feat: respect suppression in lsp #1019

- Update to 0.20.0:
  * test: add test for error suppression in scan #1007
  * refactor: merge CombinedScan::scan and CombinedScan::diff #1011
  * feat: report error count instead of file count #1009
  * feat: suppress specific rule #1005
  * fix: skip suppressed error #1006
  * feat: support error/warning suppression #446
  * fix(deps): update babel monorepo da9a938
  * fix(deps): update dependency @swc/core to v1.4.8 d81365a
  * feat: add more states for rule suppression 41a058c

OBS-URL: https://build.opensuse.org/request/show/1161276
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ast-grep?expand=0&rev=15
2024-03-25 20:12:04 +00:00
797c0e938f - Update to 0.20.1:
* feat: respect suppression in lsp #1019

- Update to 0.20.0:
  * test: add test for error suppression in scan #1007
  * refactor: merge CombinedScan::scan and CombinedScan::diff #1011
  * feat: report error count instead of file count #1009
  * feat: suppress specific rule #1005
  * fix: skip suppressed error #1006
  * feat: support error/warning suppression #446
  * fix(deps): update babel monorepo da9a938
  * fix(deps): update dependency @swc/core to v1.4.8 d81365a
  * feat: add more states for rule suppression 41a058c

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=30
2024-03-25 06:27:07 +00:00
Ana Guerrero
cc34b47783 Accepting request 1156842 from utilities
- Update to 0.19.4:
  * LSP default message for diagnostics #970
  * feat: Add error messaging for rule file parsing failures #968
  * feat: add html testing and tweak html #977
  * fix(deps): update dependency @babel/core to v7.24.0 a14741d
  * fix(deps): update dependency @swc/core to v1.4.6 4a397f4
  * fix(deps): update rust crate pyo3 to 0.20.3 23653c2

OBS-URL: https://build.opensuse.org/request/show/1156842
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ast-grep?expand=0&rev=14
2024-03-11 14:34:42 +00:00
81e64dad62 - Update to 0.19.4:
* LSP default message for diagnostics #970
  * feat: Add error messaging for rule file parsing failures #968
  * feat: add html testing and tweak html #977
  * fix(deps): update dependency @babel/core to v7.24.0 a14741d
  * fix(deps): update dependency @swc/core to v1.4.6 4a397f4
  * fix(deps): update rust crate pyo3 to 0.20.3 23653c2

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=28
2024-03-11 07:33:54 +00:00
Ana Guerrero
8de3e39ba5 Accepting request 1150575 from utilities
- Update to 0.19.3:
  * fix(deps): update dependency @swc/core to v1.4.2 67450cb
  * refactor: move rewriters to SerializableRuleConfig d98c062
  * fix(deps): update rust crate inquire to 0.7.0 86ec845

OBS-URL: https://build.opensuse.org/request/show/1150575
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ast-grep?expand=0&rev=13
2024-02-27 21:45:40 +00:00
bf2786fad0 - Update to 0.19.3:
* fix(deps): update dependency @swc/core to v1.4.2 67450cb
  * refactor: move rewriters to SerializableRuleConfig d98c062
  * fix(deps): update rust crate inquire to 0.7.0 86ec845

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=26
2024-02-26 07:27:00 +00:00
Ana Guerrero
8166480b92 Accepting request 1149684 from utilities
- Update to 0.19.2:
  * fix: improve expando char replacement #883
  * feat(napi): add support for napi linux x64 musl c4d7902
  * fix: fix wrong spacing matching 0e8b4f0
  * Update README.md 9636a1a

OBS-URL: https://build.opensuse.org/request/show/1149684
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ast-grep?expand=0&rev=12
2024-02-23 15:45:55 +00:00
76ace2fcf9 - Update to 0.19.2:
* fix: improve expando char replacement #883
  * feat(napi): add support for napi linux x64 musl c4d7902
  * fix: fix wrong spacing matching 0e8b4f0
  * Update README.md 9636a1a

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=24
2024-02-23 06:00:02 +00:00
Ana Guerrero
72f8e52685 Accepting request 1147699 from utilities
- Update to 0.19.1:
  * fix: avoid input stream when --update-all #943
  * fix: update cargo lock 8a893e7
  * fix(deps): update dependency @swc/core to v1.4.1 d18fd70
  * chore(deps): update dependency @types/node to v20.11.19 40d3fa0

OBS-URL: https://build.opensuse.org/request/show/1147699
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ast-grep?expand=0&rev=11
2024-02-20 20:14:52 +00:00
8775462299 - Update to 0.19.1:
* fix: avoid input stream when --update-all #943
  * fix: update cargo lock 8a893e7
  * fix(deps): update dependency @swc/core to v1.4.1 d18fd70
  * chore(deps): update dependency @types/node to v20.11.19 40d3fa0

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=22
2024-02-20 05:59:58 +00:00
Ana Guerrero
62e2e85fa3 Accepting request 1146732 from utilities
- Update to 0.19.0:
  * Breaking change: refactor: remove unused type generic 9b13d41
  * Breaking change: fix: update pyo3 test ff10e81
  * fix: fix parallel thread output be230ca

OBS-URL: https://build.opensuse.org/request/show/1146732
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ast-grep?expand=0&rev=10
2024-02-15 20:01:07 +00:00
561afb8bc6 - Update to 0.19.0:
* Breaking change: refactor: remove unused type generic 9b13d41
  * Breaking change: fix: update pyo3 test ff10e81
  * fix: fix parallel thread output be230ca

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=20
2024-02-15 08:08:23 +00:00
Ana Guerrero
7da8f031e0 Accepting request 1143207 from utilities
- Update to 0.18.1:
  * Breaking change: refactor: use more concise name 6a4a17c

OBS-URL: https://build.opensuse.org/request/show/1143207
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ast-grep?expand=0&rev=9
2024-02-01 17:05:47 +00:00
2ed74cd4ff - Update to 0.18.1:
* Breaking change: refactor: use more concise name 6a4a17c

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=18
2024-02-01 08:07:32 +00:00
Ana Guerrero
9cc40c3f49 Accepting request 1143067 from utilities
- Update to 0.18.0:
  * Breaking change: refactor: remove IndentSensitive trait #868
  * feat: add support for rewriters #855
  * Breaking change: refactor: rename RuleWithConstraints to RuleCore #862
  * feat: move fix to SerializableRuleCore #859
  * Breaking change: refactor: remove MetaVarMatchers beb6f50
  * Breaking change: feat: move fixer to RuleCore 8a43a26
  * Breaking change: refactor: move language out of SerializableRuleCore c5e0dc8
  * Breaking change: refactor: remove Content generic from Fixer 87bbf93
  * Breaking change: feat: improve get_fixer signature e629e0f
  * Breaking change: refactor: make TemplateFix non-generic 0f462a5
  * feat: migrate constraints to Rule 230ee9c
  * refactor: move SerializableRuleCore to rule_core mod 3a303c1

OBS-URL: https://build.opensuse.org/request/show/1143067
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ast-grep?expand=0&rev=8
2024-01-31 22:55:46 +00:00
4adab32322 - Update to 0.18.0:
* Breaking change: refactor: remove IndentSensitive trait #868
  * feat: add support for rewriters #855
  * Breaking change: refactor: rename RuleWithConstraints to RuleCore #862
  * feat: move fix to SerializableRuleCore #859
  * Breaking change: refactor: remove MetaVarMatchers beb6f50
  * Breaking change: feat: move fixer to RuleCore 8a43a26
  * Breaking change: refactor: move language out of SerializableRuleCore c5e0dc8
  * Breaking change: refactor: remove Content generic from Fixer 87bbf93
  * Breaking change: feat: improve get_fixer signature e629e0f
  * Breaking change: refactor: make TemplateFix non-generic 0f462a5
  * feat: migrate constraints to Rule 230ee9c
  * refactor: move SerializableRuleCore to rule_core mod 3a303c1

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=16
2024-01-31 15:22:20 +00:00
Ana Guerrero
c5ad0b309e Accepting request 1138447 from utilities
- Update to 0.17.1:
  * feat: respect user's language extension option #848

OBS-URL: https://build.opensuse.org/request/show/1138447
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ast-grep?expand=0&rev=7
2024-01-14 18:02:47 +00:00
db64f1fd85 - Update to 0.17.1:
* feat: respect user's language extension option #848

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=14
2024-01-13 08:21:57 +00:00
Ana Guerrero
8a477d4a0b Accepting request 1138228 from utilities
- Update to 0.17.0:
  * Breaking change: feat: change get_fixer to return Fixer 07c5363
  * feat: add modify_range for tweaking fix range selection eeb2f98
  * feat: rename modify_range -> get_replace_range 54837df

OBS-URL: https://build.opensuse.org/request/show/1138228
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ast-grep?expand=0&rev=6
2024-01-12 22:45:45 +00:00
9079870d87 - Update to 0.17.0:
* Breaking change: feat: change get_fixer to return Fixer 07c5363
  * feat: add modify_range for tweaking fix range selection eeb2f98
  * feat: rename modify_range -> get_replace_range 54837df

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=12
2024-01-12 07:45:56 +00:00
1f961c27c5 Accepting request 1137219 from utilities
- Update to 0.16.1:
  * feat: add support for bash and php #639
  * Breaking change: fix: more strict meta var parsing 13ad32b
  * Breaking change: refactor: remove thrift language 26ecdf6
  * fix(deps): update dependency @swc/core to v1.3.102 9ca9711

OBS-URL: https://build.opensuse.org/request/show/1137219
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ast-grep?expand=0&rev=5
2024-01-06 16:30:01 +00:00
366ab6487d OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=10 2024-01-06 10:57:31 +00:00