Michael Vetter
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
Michael Vetter
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
Michael Vetter
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
Michael Vetter
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
Michael Vetter
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
Michael Vetter
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
Michael Vetter
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
Michael Vetter
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
Michael Vetter
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
Michael Vetter
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
Michael Vetter
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
Michael Vetter
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
Michael Vetter
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
Michael Vetter
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
Michael Vetter
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
Michael Vetter
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
Michael Vetter
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
Michael Vetter
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
Michael Vetter
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
Michael Vetter
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
Michael Vetter
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
Michael Vetter
37065db258
- 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/package/show/utilities/ast-grep?expand=0&rev=9
2024-01-06 09:23:57 +00:00
Michael Vetter
b2d0220756
- Update to 0.16.0:
...
* feat: add language globs to findInFiles in napi #780
* Breaking change: fix: rename MetaVar for better naming #805
* refactor: reorgnanize napi file structure 93f8577
* refactor: move file type related function out of lib 64e33a3
* feat: handle FileOption in LangOption::infer 7bc3efe
OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=7
2023-12-30 13:14:04 +00:00
Michael Vetter
491e5eae7b
- Update to 0.15.1:
...
* feat: support mutliple rules in -r and --inline-rules #786
* refactor: unify run_worker and run_std_in #785
* Breaking change: feat: --stdin now always awaits user input #791
* feat: support --inline-rules option for sg scan #396
* refactor: separate PathWorker and StdInWorker and Worker ef3d8ad
* test: add test cases for sg scan ed35c71
* fix: revert github action a2f22d8
OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=5
2023-12-18 08:01:16 +00:00
Michael Vetter
8cafba3700
- Update to 0.15.0:
...
* Breaking change: feat: reduce metavar_env string allocation e1ab015
* Breaking change: fix: remove pattern as replacer f6e4293
* Breaking change: feat: better metavar detection e1ab18a
OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=3
2023-12-17 01:28:28 +00:00
Michael Vetter
41be3913f2
Accepting request 1132616 from home:jubalh
...
OBS-URL: https://build.opensuse.org/request/show/1132616
OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=1
2023-12-12 08:54:21 +00:00