bump version
This commit is contained in:
HerringtonDarkholme
2026-04-04 23:59:08 +08:00
parent fd7ed356ef
commit 917dff28eb
24 changed files with 96 additions and 47 deletions
+33
View File
@@ -4,8 +4,41 @@ All notable changes to this project will be documented in this file. Dates are d
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
#### [0.42.1](https://github.com/ast-grep/ast-grep/compare/0.42.0...0.42.1)
- feat: Support Dart again [`#2534`](https://github.com/ast-grep/ast-grep/pull/2534)
- chore(deps): update dependency oxlint to v1.58.0 [`#2569`](https://github.com/ast-grep/ast-grep/pull/2569)
- chore(deps): update rust crate toml_edit to v0.25.10 [`#2571`](https://github.com/ast-grep/ast-grep/pull/2571)
- fix(deps): update rust crate similar to v3 [`#2574`](https://github.com/ast-grep/ast-grep/pull/2574)
- chore(deps): update rust crate tokio to v1.51.0 [`#2578`](https://github.com/ast-grep/ast-grep/pull/2578)
- chore(deps): update dependency web-tree-sitter to v0.26.8 [`#2570`](https://github.com/ast-grep/ast-grep/pull/2570)
- chore(deps): update rust crate tree-sitter to v0.26.8 [`#2572`](https://github.com/ast-grep/ast-grep/pull/2572)
- chore(deps): update dependency dprint to v0.53.2 [`#2573`](https://github.com/ast-grep/ast-grep/pull/2573)
- chore(deps): update rust crate bit-set to 0.10.0 [`#2566`](https://github.com/ast-grep/ast-grep/pull/2566)
- fix(deps): update rust-wasm-bindgen monorepo [`#2561`](https://github.com/ast-grep/ast-grep/pull/2561)
- chore(deps): update dependency smol-toml to v1.6.1 [`#2556`](https://github.com/ast-grep/ast-grep/pull/2556)
- chore(deps): update rust crate napi to v3.8.4 [`#2562`](https://github.com/ast-grep/ast-grep/pull/2562)
- chore(deps): update rust crate toml_edit to v0.25.8 [`#2552`](https://github.com/ast-grep/ast-grep/pull/2552)
- chore(deps): update rust crate napi-derive to v3.5.3 [`#2563`](https://github.com/ast-grep/ast-grep/pull/2563)
- chore(deps): update codecov/codecov-action action to v6 [`#2560`](https://github.com/ast-grep/ast-grep/pull/2560)
- chore(deps): update rust crate tree-sitter-rust to v0.24.2 [`#2554`](https://github.com/ast-grep/ast-grep/pull/2554)
- chore(deps): update dependency @napi-rs/cli to v3.6.0 [`#2564`](https://github.com/ast-grep/ast-grep/pull/2564)
- chore(deps): update dependency dprint to v0.53.1 [`#2559`](https://github.com/ast-grep/ast-grep/pull/2559)
- chore(deps): update dependency oxlint to v1.57.0 [`#2549`](https://github.com/ast-grep/ast-grep/pull/2549)
- chore(deps): update dependency typescript to v6 [`#2557`](https://github.com/ast-grep/ast-grep/pull/2557)
- Added a license field to package.json so scanners can pick it up more easily [`#2558`](https://github.com/ast-grep/ast-grep/pull/2558)
- feat: add --color flag to test command [`#2555`](https://github.com/ast-grep/ast-grep/pull/2555)
- chore(deps): update dependency @ast-grep/napi to v0.42.0 [`#2548`](https://github.com/ast-grep/ast-grep/pull/2548)
- feat: add new built in rule no-suppress-all [`#2575`](https://github.com/ast-grep/ast-grep/issues/2575)
- fix: fix SIGSEGV caused by SharedReference stackoverflow [`#2553`](https://github.com/ast-grep/ast-grep/issues/2553)
- fix: update ts [`7fa0e3f`](https://github.com/ast-grep/ast-grep/commit/7fa0e3f3fc4cb2a6a9daca48ddc132ef0310a773)
- refactor: use more concise style object to manage test output [`a017fd5`](https://github.com/ast-grep/ast-grep/commit/a017fd5133982dc725ef817c8ef0fe80eaafa6b5)
- refactor: some code clean up for no-suppress [`ef7fc1a`](https://github.com/ast-grep/ast-grep/commit/ef7fc1a91843c8061eda21d50bc88157e89576aa)
#### [0.42.0](https://github.com/ast-grep/ast-grep/compare/0.41.1...0.42.0)
> 15 March 2026
- chore(deps): update dependency dprint to v0.53.0 [`#2547`](https://github.com/ast-grep/ast-grep/pull/2547)
- chore(deps): update rust crate tree-sitter to v0.26.7 [`#2541`](https://github.com/ast-grep/ast-grep/pull/2541)
- chore(deps): update dependency web-tree-sitter to v0.26.7 [`#2540`](https://github.com/ast-grep/ast-grep/pull/2540)
Generated
+9 -9
View File
@@ -103,7 +103,7 @@ dependencies = [
[[package]]
name = "ast-grep"
version = "0.42.0"
version = "0.42.1"
dependencies = [
"ansi_term",
"anyhow",
@@ -138,7 +138,7 @@ dependencies = [
[[package]]
name = "ast-grep-config"
version = "0.42.0"
version = "0.42.1"
dependencies = [
"ast-grep-core",
"bit-set",
@@ -153,7 +153,7 @@ dependencies = [
[[package]]
name = "ast-grep-core"
version = "0.42.0"
version = "0.42.1"
dependencies = [
"bit-set",
"regex",
@@ -164,7 +164,7 @@ dependencies = [
[[package]]
name = "ast-grep-dynamic"
version = "0.42.0"
version = "0.42.1"
dependencies = [
"ast-grep-core",
"ignore",
@@ -178,7 +178,7 @@ dependencies = [
[[package]]
name = "ast-grep-language"
version = "0.42.0"
version = "0.42.1"
dependencies = [
"ast-grep-core",
"ignore",
@@ -214,7 +214,7 @@ dependencies = [
[[package]]
name = "ast-grep-lsp"
version = "0.42.0"
version = "0.42.1"
dependencies = [
"anyhow",
"ast-grep-config",
@@ -232,7 +232,7 @@ dependencies = [
[[package]]
name = "ast-grep-napi"
version = "0.42.0"
version = "0.42.1"
dependencies = [
"ast-grep-config",
"ast-grep-core",
@@ -248,7 +248,7 @@ dependencies = [
[[package]]
name = "ast-grep-py"
version = "0.42.0"
version = "0.42.1"
dependencies = [
"anyhow",
"ast-grep-config",
@@ -2451,7 +2451,7 @@ dependencies = [
[[package]]
name = "wasm"
version = "0.42.0"
version = "0.42.1"
dependencies = [
"ast-grep-config",
"ast-grep-core",
+6 -6
View File
@@ -10,7 +10,7 @@ resolver = "2"
lto = true
[workspace.package]
version = "0.42.0"
version = "0.42.1"
authors = ["Herrington Darkholme <2883231+HerringtonDarkholme@users.noreply.github.com>"]
edition = "2021"
license = "MIT"
@@ -21,11 +21,11 @@ rust-version = "1.79"
readme = "README.md"
[workspace.dependencies]
ast-grep-core = { path = "crates/core", version = "0.42.0", default-features = false }
ast-grep-config = { path = "crates/config", version = "0.42.0" }
ast-grep-dynamic = { path = "crates/dynamic", version = "0.42.0" }
ast-grep-language = { path = "crates/language", version = "0.42.0" }
ast-grep-lsp = { path = "crates/lsp", version = "0.42.0" }
ast-grep-core = { path = "crates/core", version = "0.42.1", default-features = false }
ast-grep-config = { path = "crates/config", version = "0.42.1" }
ast-grep-dynamic = { path = "crates/dynamic", version = "0.42.1" }
ast-grep-language = { path = "crates/language", version = "0.42.1" }
ast-grep-lsp = { path = "crates/lsp", version = "0.42.1" }
bit-set = { version = "0.10.0" }
ignore = { version = "0.4.22" }
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@ast-grep/napi-darwin-arm64",
"version": "0.42.0",
"version": "0.42.1",
"os": [
"darwin"
],
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@ast-grep/napi-darwin-x64",
"version": "0.42.0",
"version": "0.42.1",
"os": [
"darwin"
],
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@ast-grep/napi-linux-arm64-gnu",
"version": "0.42.0",
"version": "0.42.1",
"os": [
"linux"
],
@@ -1,6 +1,6 @@
{
"name": "@ast-grep/napi-linux-arm64-musl",
"version": "0.42.0",
"version": "0.42.1",
"os": [
"linux"
],
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@ast-grep/napi-linux-x64-gnu",
"version": "0.42.0",
"version": "0.42.1",
"os": [
"linux"
],
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@ast-grep/napi-linux-x64-musl",
"version": "0.42.0",
"version": "0.42.1",
"os": [
"linux"
],
@@ -1,6 +1,6 @@
{
"name": "@ast-grep/napi-win32-arm64-msvc",
"version": "0.42.0",
"version": "0.42.1",
"os": [
"win32"
],
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@ast-grep/napi-win32-ia32-msvc",
"version": "0.42.0",
"version": "0.42.1",
"os": [
"win32"
],
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@ast-grep/napi-win32-x64-msvc",
"version": "0.42.0",
"version": "0.42.1",
"os": [
"win32"
],
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@ast-grep/napi",
"version": "0.42.0",
"version": "0.42.1",
"description": "Search and Rewrite code at large scale using precise AST pattern",
"homepage": "https://ast-grep.github.io",
"main": "index.js",
+1 -1
View File
@@ -5,7 +5,7 @@ build-backend = "maturin"
[project]
name = "ast-grep-py"
requires-python = ">=3.8"
version = "0.42.0"
version = "0.42.1"
description = "Structural Search and Rewrite code at large scale using precise AST pattern."
authors = [{ name = "Herrington Darkholme", email = "2883231+HerringtonDarkholme@users.noreply.github.com" }]
maintainers = [{ name = "Herrington Darkholme", email = "2883231+HerringtonDarkholme@users.noreply.github.com" }]
+9 -9
View File
@@ -1,6 +1,6 @@
{
"name": "@ast-grep/cli",
"version": "0.42.0",
"version": "0.42.1",
"publishConfig": {
"access": "public"
},
@@ -30,16 +30,16 @@
"postinstall": "node postinstall.js"
},
"optionalDependencies": {
"@ast-grep/cli-win32-arm64-msvc": "0.42.0",
"@ast-grep/cli-win32-ia32-msvc": "0.42.0",
"@ast-grep/cli-win32-x64-msvc": "0.42.0",
"@ast-grep/cli-darwin-arm64": "0.42.0",
"@ast-grep/cli-darwin-x64": "0.42.0",
"@ast-grep/cli-linux-arm64-gnu": "0.42.0",
"@ast-grep/cli-linux-x64-gnu": "0.42.0"
"@ast-grep/cli-win32-arm64-msvc": "0.42.1",
"@ast-grep/cli-win32-ia32-msvc": "0.42.1",
"@ast-grep/cli-win32-x64-msvc": "0.42.1",
"@ast-grep/cli-darwin-arm64": "0.42.1",
"@ast-grep/cli-darwin-x64": "0.42.1",
"@ast-grep/cli-linux-arm64-gnu": "0.42.1",
"@ast-grep/cli-linux-x64-gnu": "0.42.1"
},
"bin": {
"sg": "sg",
"ast-grep": "ast-grep"
}
}
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@ast-grep/cli-darwin-arm64",
"version": "0.42.0",
"version": "0.42.1",
"os": [
"darwin"
],
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@ast-grep/cli-darwin-x64",
"version": "0.42.0",
"version": "0.42.1",
"os": [
"darwin"
],
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@ast-grep/cli-linux-arm64-gnu",
"version": "0.42.0",
"version": "0.42.1",
"os": [
"linux"
],
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@ast-grep/cli-linux-x64-gnu",
"version": "0.42.0",
"version": "0.42.1",
"os": [
"linux"
],
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@ast-grep/cli-win32-arm64-msvc",
"version": "0.42.0",
"version": "0.42.1",
"os": [
"win32"
],
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@ast-grep/cli-win32-ia32-msvc",
"version": "0.42.0",
"version": "0.42.1",
"os": [
"win32"
],
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@ast-grep/cli-win32-x64-msvc",
"version": "0.42.0",
"version": "0.42.1",
"os": [
"win32"
],
+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "maturin"
[project]
name = "ast-grep-cli"
version = "0.42.0"
version = "0.42.1"
description = "Structural Search and Rewrite code at large scale using precise AST pattern."
authors = [{ name = "Herrington Darkholme", email = "2883231+HerringtonDarkholme@users.noreply.github.com" }]
maintainers = [{ name = "Herrington Darkholme", email = "2883231+HerringtonDarkholme@users.noreply.github.com" }]
+20 -4
View File
@@ -401,8 +401,8 @@
"$ref": "#/$defs/SerializableRule"
},
"matches": {
"description": "A utility rule id and matches a node if the utility rule matches.",
"type": "string"
"description": "A utility rule id or parameterized utility call object.\nWhen multiple utility calls are present, they are combined with logical `all`.",
"$ref": "#/$defs/SerializableMatches"
}
},
"additionalProperties": false
@@ -837,8 +837,8 @@
"$ref": "#/$defs/SerializableRule"
},
"matches": {
"description": "A utility rule id and matches a node if the utility rule matches.",
"type": "string"
"description": "A utility rule id or parameterized utility call object.\nWhen multiple utility calls are present, they are combined with logical `all`.",
"$ref": "#/$defs/SerializableMatches"
},
"stopBy": {
"$ref": "#/$defs/SerializableStopBy",
@@ -883,6 +883,22 @@
}
}
},
"SerializableMatches": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"additionalProperties": {
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/SerializableRule"
}
}
}
]
},
"SerializableStopBy": {
"description": "Control how the relational rule search should stop",
"oneOf": [