5
0
forked from pool/ast-grep

71 Commits

Author SHA256 Message Date
b4f151aec1 - Update to 0.39.3:
* add some tests for hcl 756499e
  * add tree-sitter-hcl to ast-grep-language package deps 26b638a
  * fix(deps): update rust crate clap to v4.5.42 4d047eb

- Update to 0.39.2:
  * fix(deps): update rust crate tokio to v1.47.0 #2124
  * fix: ignore comments in relax/signature/template strictness #2122
  * fix: prefer using env to determine bgcolor #2114
  * fix: update rules c5fd340
  * chore(deps): update dependency @napi-rs/cli to v3.0.4 b07e5bd
  * fix: temporarily remove tweaking d2fedd2

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=130
2025-08-13 06:40:27 +00:00
3191780d18 - Update to 0.39.1:
* fix: update package 8c2327b
  * fix: fix build d59c219
  * fix: remove json format 90369a4

- Update to 0.39.0:
  * feat: support esquery in kind #2007
  * fix: path in files: section should be relative to config file #2101
  * feat: add new pattern strictness: template #2097
  * chore: bump napi-v3 d815af2
  * feat(language): add solidity support 0afcede
  * fix: handle whitespace 7f029fa

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=129
2025-07-25 06:37:14 +00:00
7769a4b1a9 - Update to 0.38.7:
* refactor: remove biome configuration and update linting tool to oxlint ed3e5b1
  * chore(deps): update dependency @ast-grep/napi to v0.38.6 9e5f1e0
  * Revert "fix(deps): update rust crate tower-lsp-server to 0.22.0" 7d8e872

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=128
2025-07-11 08:30:54 +00:00
6f10bc6e99 - Update to 0.38.6:
* fix(deps): update rust crate tower-lsp-server to 0.22.0 #2056
  * feat: allow sgconfig.yml to not have required ruleDirs field #2059
  * fix: ast-grep -h should not fail if sgconfig is wrong #2054
  * chore(deps): update dependency @ast-grep/napi to v0.38.5 c7a41d6
  * Revert "fix(deps): update rust crate tower-lsp-server to 0.22.0 #205
  * fix(deps): update rust crate toml_edit to v0.22.27 84cff96

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=127
2025-06-24 07:41:20 +00:00
2272c4893a - Update to 0.38.5:
* feat: add simple cli multi fix #2036
  * fix: quit option should keep accepted changes #2031
  * feat: add better styling handle 1a2b72c
  * feat: add fix switching 791c9a0
  * chore(deps): update dependency ava to v6.4.0 0e51f2b
- Update to 0.38.4:
- Update to 0.38.3:

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=126
2025-06-12 07:00:43 +00:00
3e568d4dfd - Update to 0.38.5:
* feat: support file level suppression #1541
  * feat: add include-off rule in sg test #2023
  * feat: add multiple fix in vscode lsp 9e9a282
  * chore(deps): update dependency @ast-grep/napi to v0.38.3 58dcc5b
  * test: add file level suppression test 93d04c7

- Update to 0.38.4:
  * feat: support object style libraryPath #2013
  * feat: Support Markdown rendering in CLI #1976
  * test: add more test for transform parse #902
  * feat: implement transform shortcut #902
  * feat: add note in lsp hover info b4f32df
  * feat: add test case for string transform 0c75416
  * refactor: simplify code 0d3ba01

- Update to 0.38.2:
  * feat: add --include-metadata flag in ast-grep scan #1987
  * fix: respect transform in fix #1991
  * Breaking change: feat: remove tree-sitter-facade-sg 1e8a38d
  * fix: remove benches c44c315
  * feat: add label handling in json print 33192d7

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=124
2025-06-02 05:47:53 +00:00
621e293e77 - Update to 0.38.1:
* chore(deps): update dependency @ast-grep/napi to v0.38.0 227bab3
  * Revert "fix: simplify version" a5d9fd8
  * fix(deps): update rust crate clap to v4.5.38 cc8047c

- Update to 0.38.0:
  * feat: use newer tower_lsp crate #1975
  * fix: --json=stream should output a trailing newline #1969
  * fix: matcher leaks environment changes when the second matcher fails #1956
  * fix: remove anyhow in ast-grep-config #1967
  * feat: remove language bound in matcher c9b450d
  * fix: bump deps version 8265edb
  * refactor: move out tree_sitter specific stuff 6d5e4e4

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=122
2025-05-14 07:24:17 +00:00
e51e584188 - Update to 0.37.0:
* fix: use docker image instead #1930
  * chore(deps): update dependency @ast-grep/napi to v0.36.3 3dca58c
  * fix: update crate a88a073
  * perf: more efficient node ancestor calculation a1ed329

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=120
2025-04-17 07:02:58 +00:00
2ddd4e667a - Update to 0.36.3:
* fix: transformation indent #1405
  * feat: YAML schema validation for node and field types e0a5a47
  * chore(deps): update dependency @ast-grep/napi to v0.36.2 f291ef3
  * fix(deps): update rust crate crossterm to 0.29.0 4c62fe5

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=118
2025-04-14 08:32:37 +00:00
8da8bfa11a - Update to 0.36.2:
* fix: report-style short should not print out diff #1884
  * fix: fix do not push empty unused suppressions #1882
  * chore: Remove tree-sitter wasm facade 47b14fe
  * Revert "chore: Remove tree-sitter wasm facade" a449617
  * fix: remove optimize 7365a68

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=116
2025-03-21 07:10:12 +00:00
4a5de78df7 - Update to 0.36.1:
* fix: fix globs not working with lang #1861
  * perf: use smallvec for filter_file_{pattern, rule} #1858
  * fix(deps): update dependency @swc/core to v1.11.8 a0d9e10
  * perf: save pattern clone and doc clone in multi-lang-doc 1113384
  * perf: remove duplicate pattern match 6eba6d9

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=114
2025-03-12 08:20:55 +00:00
e47f622a2d - Update to 0.36.0:
* perf: remove preScan struct #1837
  * refactor: change Worker trait signature #1849
  * fix: fix inconsistent matching in relaxed mode #1848
  * feat: allow richer metadata format #1854
  * fix: do not display color for error when not in tty #1850
  * fix: make scan respect --globs flag #1842
  * feat: move processing to worker thread #143
  * feat: move matching to worker #143
  * refactor: remove Matches/Diffs macro in cli #1819
  * Breaking change: fix: bump min msrv 846be66
  * refactor: split colored printer 083a5f9
  * refactor: moved interactive printer b9bedf4

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=112
2025-03-10 07:38:54 +00:00
81f82032ed - Update to 0.10.1:
Fixes:
  * Don't error out if options in front matter doesn't include auto_render_languages (#454)
  * Bump sixel-rs to 0.4.1 to fix build in aarch64 and riscv64 (#452)

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=110
2025-02-21 16:01:13 +00:00
b442b21809 - Update to 0.34.4:
* fix: fix bininstall #1744
  * fix(deps): update dependency @swc/core to v1.10.12 3eea108
  * chore(deps): update rust crate tempfile to v3.16.0 6939cca
  * chore(deps): update dependency @types/node to v22.12.0 ea05951

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=108
2025-02-03 07:17:05 +00:00
a8ce89ac7b - Update to 0.34.3:
* fix: fix binary command again 2c9034c

- Update to 0.34.2:
  * fix: fix binary name for npm #1773
  * fix: do not publich napi 553f5e5

- Update to 0.34.1:
  * fix: fix windows error

- Update to 0.34.0:
  * feat: support cargo binstall #1744
  * feat: add tracing of resolved configuration file path #1755
  * fix: report error in run with wrong yaml #1768
  * Breaking change: feat: reduce napi binary size #1759
  * feat: compile sg as an alias of ast-grep #1757
  * doc: update readme #574
  * fix: remove sequel #1743
  * Breaking change: feat: remove nonsupported language e5a0a55
  * feat: use macro to simplify code d762257
  * fix(deps): update dependency @babel/core to v7.26.7 5944dbf

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=106
2025-01-28 13:38:31 +00:00
77b78a7d9e - Update to 0.33.1:
* feat: Support passing rule config to SgNode match methods (matches, has, inside, follows, precedes) #1730
  * chore(deps): update dependency @ast-grep/napi to v0.33.0 61f7177
  * fix(deps): update dependency typescript to v5.7.3 85a7204
  * fix(deps): update dependency tree-sitter to v0.22.4 ec70763

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=104
2025-01-13 15:12:30 +00:00
1c27cff8d8 - Update to 0.33.0:
* Breaking change: refactor: move pyo3 registration to CustomLang 4ddb08f
  * feat: introduce napi_lang for dynamic loading 1a8d782
  * chore(deps): update dependency @ast-grep/napi to v0.32.3 713244f

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=102
2025-01-07 11:09:54 +00:00
e9f5762d72 - Update to 0.32.3:
* feat: print fixed rules count #1708
  * fix: move unused suppressions to config crate #1624
  * fix: allow malformed pattern to be dumped as tree #804
  * fix: fix files not recognize in lsp #1691
  * fix: fix crash when internal node has no child #1688
  * feat: use mutable self in Printer trait 5e3835a
  * feat: reduce binary size by remove Printer polymorphism 8b735cf
  * feat: resolve rule id for ScanResult 9a7f3cc

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=100
2025-01-02 07:15:10 +00:00
ce2113b74e - Update to 0.32.2:
* fix: linting 10f3e74
  * feat: distinguish manual type annotation 4558c48
  * feat: add ChildTypes helper 0d477e9

- Update to 0.32.1:
  * fix(deps): update rust crate clap_complete to v4.5.39 6ad3c7b
  * fix: add npmignore to suppress gitignore 11bb8e4

- Update to 0.32.0:
  * feat: Add fieldChildren method to napi's SgNode and pyo3's PyNode #1655
  * Breaking change: fix: rename range rule's row to line #1663
  * fix: add biome formatting 5a41f13
  * feat(napi): Typed SgNode and SgRoot 55e65f3
  * fix: Use ts-node and versioned node-types URLs instead of heads dcb7916

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=98
2024-12-27 16:53:57 +00:00
3d8bd0d573 - Update to 0.31.1:
* feat: update tree-sitter dependency to 0.24.4 91a2b46
  * fix(deps): update dependency @swc/core to v1.10.0 526648b
  * fix: fix new clippy error ebfcbcd

- Update to 0.31.0:
  * feat: only scan rule senstive files #1635
  * feat: better error handling for dynamic lib loading #1631
  * Breaking change: feat: support character based column number #1594
  * Breaking change: refactor: expose new struct Position for abstracting column b87dad7
  * refactor: Use the utf-corrected row and column methods for the range matcher 2b30f56
  * feat: Add support for range matcher 4fb2c52

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=96
2024-12-16 11:36:17 +00:00
445b84296b - Update to 0.30.1:
* fix: fix --config=config.yml arg parse #1617
  * fix: update python version #1614
  * fix(deps): update dependency @swc/core to v1.9.3 63c1c8d
  * chore: revert pyo3 2022f38
  * feat: add rule entity inspection c569ec7

- Update to 0.30.0:
  * Breaking change: feat: semi-structured tracing output #1574
  * fix: error=unused-suppression should change exit code #1585
  * refactor: move stdErr into inspect mod #1575
  * infra: switch to llvm-cov #1570
  * Breaking change: refactor: rename --tracing to --inspect 105945e
  * Breaking change: refactor: remove --json format for tracing ed05be4
  * Breaking change: fix: remove builtin dart support cd25a62
  * Breaking change: fix: report unused suppression always 893df63
  * fix(deps): update babel monorepo b8803ce

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=94
2024-11-27 08:22:08 +00:00
b2467efcb5 - Update to 0.29.0:
* feat: support override severity of unused-suppression #1556
  * feat: unify configuration reading #1557
  * feat: unify configuration #1557
  * refactor: improve file config handling #1553
  * refactor: revamp configuration file discovering and custom language registration #1553
  * feat(scan): support context, before/after flags #1549
  * feat: add RuleOverwrite to override rule severity from CLI #1061
  * Breaking change: feat: support --config in sg new cfe472f
  * feat: add rule overwrite impl fb4ac07
  * fix(deps): update dependency @swc/core to v1.7.36 c11fd89

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=92
2024-10-30 08:48:43 +00:00
74ae0177ec - Update to 0.28.1:
* feat: report unused suppression #1346
  * feat: make number of threads configurable #1498
  * doc: add bug report yaml #1462
  * refactor: rename tracing f83dbe9
  * fix: fix bug report bug agains 61921f7
  * fix(deps): update dependency @babel/core to v7.25.8 cf06185

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=90
2024-10-20 10:00:01 +00:00
acae30abaf - Update to 0.28.0:
* feat: TypeScript types for Rules in NAPI #1038
  * feat:support glob path match in CLI #1062
  * refactor: move input/output args to standalone file 3d937cb
  * refactor: move worker outside of utils 84ea621
  * fix(deps): update babel monorepo to v7.25.7 b989f05

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=88
2024-10-07 08:38:22 +00:00
7099ac1b7f - Update to 0.27.3:
* feat: add prettified pattern debug 70d33b5
  * fix(deps): update rust crate pyo3 to v0.22.3 683e398
  * test: add test for CST a79f13f

- Update to 0.27.2:
  * feat: add follow symbolic links option to CLI #1461
  * fix(deps): update dependency @swc/core to v1.7.26 e0b437d
  * fix(deps): update dependency @swc/core to v1.7.24 657bc4e
  * chore(deps): update dependency typescript to v5.6.2 c55a404

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=86
2024-09-23 07:11:57 +00:00
b310e6d7cc - Update to 0.27.1:
* fix: create .gitkeep file in new dirs #1273
  * fix: fix unwrap error for unfound dir #1456
  * fix(deps): update dependency @swc/core to v1.7.23 5fd4101
  * chore(deps): update dependency @types/node to v20.16.5 294e402
  * fix: improve error message d46df6a

- Update to 0.27.0:
  * feat: support YAML language #1436
  * fix(deps): update dependency @swc/core to v1.7.22 c577761
  * fix(deps): update dependency @swc/core to v1.7.21 4b0e594
  * feat: add rule config potential kind test def5b21

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=84
2024-09-09 06:26:49 +00:00
6b044d7a64 - Update to 0.26.3:
* fix: fix wrong transformation indentation #1405
  * fix: compare only kind for unnamed nodes #1419
  * fix(deps): update dependency @swc/core to v1.7.18 9ecb02c
  * fix(deps): update dependency @swc/core to v1.7.14 459d20a
  * test: add test for transformation indentation e0bfaf2

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=82
2024-08-26 07:09:00 +00:00
19e9a88105 Accepting request 1195162 from home:hrauch:branches:utilities
- Added ppc64le to the list of architectures (_constraints) 

- Increased memory to 8 GB for s390x (_constraints)

OBS-URL: https://build.opensuse.org/request/show/1195162
OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=80
2024-08-22 05:37:33 +00:00
b308e0cb9d - Update to 0.26.2:
* fix: readopt matched metavar in napi #1380
  * chore: update napi definition 07e084a
  * fix(deps): update dependency @swc/core to v1.7.11 835b06f
  * fix(deps): update dependency @swc/core to v1.7.10 d7a3820

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=78
2024-08-19 06:07:03 +00:00
4c12bc5737 - Update to 0.26.1:
* feat: support dynamic language in pyo3 #1143
  * test: add test for load dynamic lang in python 236f4ab
  * feat: add py_lang registration function 43e74e7
  * feat: add pytype for register language 8b660cf

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=76
2024-08-10 04:40:12 +00:00
081ca92ebb - Update to 0.26.0:
* feat: Additional impls for language types #1379
  * feat: append note to error message if available #1384
  * fix: LSP should skip files outside the workspace root #1382
  * fix(deps): update dependency @babel/core to v7.25.2 3b0be88
  * refactor: split two macros b760eb8
  * refactor: simplify visitor 5ae03ae

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=74
2024-08-08 05:27:48 +00:00
4ead18a822 - Update to 0.25.7:
* feat: add charCount to split lines #1381
  * chore(deps): update dependency @types/node to v20.14.14 bca7e7b
  * fix(deps): update rust crate clap to v4.5.13 c143464
  * fix(deps): update rust crate toml_edit to v0.22.20 170da4c

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=73
2024-08-07 05:37:01 +00:00
3f79b0a021 - Update to 0.25.6:
* feat: add --selector in sg run #1378
  * fix: fix clippy new complaints a4cc793
  * fix(deps): update dependency @swc/core to v1.7.5 d3ee100
  * chore(deps): update rust crate tree-sitter to v0.22.2 93d684a

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=71
2024-08-05 05:55:47 +00:00
dc7197f276 - Update to 0.25.5:
* feat: support using transform in rule message #1366
  * test: add test for skipping multiple ellipsis #1365
  * feat: Support ast-grep-ignore comment on same line as violation #1347
  * Revert "feat: add wasm engine support" 78b1633
  * feat: add wasm engine support ff77914
  * refactor: remove old find/scan 58a3646

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=69
2024-08-02 06:34:25 +00:00
0e89b941b1 - Update to 0.9.7:
* #1500: Fix builds for Rust 1.80.

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=67
2024-07-26 06:02:51 +00:00
9fa3c82974 - Update to 0.25.3:
* feat: support custom language injection #1309
  * feat: register embedded language 416e28e
  * fix(deps): update dependency @babel/core to v7.24.9 8c5dd00
  * fix(deps): update dependency @swc/core to v1.7.0 61f6a14

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=65
2024-07-23 09:39:45 +00:00
30fece47ee - Update to 0.25.2:
* fix: only present code action when there are truly fixable diagnostic #1327
  * refactor: move some function out of lsp 1e6b477
  * fix: use fix in data for fix all command d358d45
  * fix: update fix all lsp b760b9b

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=63
2024-07-19 07:52:12 +00:00
b0201c975c - Update to 0.25.1:
* fix: make config file work outside of workspace root #1326
  * fix: fix napi musl bde7f34
  * fix: debug napi 2d87fc5

- Update to 0.25.0:
  * Fix Python 3.10 macOS ast-grep-py build #1315
  * feat: support multiple doc in scan #1310
  * fix: fix testing #1305
  * feat: support searching injected code in specified lang #1307
  * feat: improve HTML language extraction for ts/scss #1301
  * fix: use relative path in lsp #1272
  * fix: use match info in lsp message #1271
  * feat: support arm64 musl #1227
  * fix(deps): update dependency @babel/core to v7.24.8 624aa70
  * feat: support multiple regions in run 07ef11f
  * refactor: move Html out 4a0c177

OBS-URL: https://build.opensuse.org/package/show/utilities/ast-grep?expand=0&rev=61
2024-07-15 04:10:24 +00:00
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
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
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
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
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
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
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
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
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
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