Skip to content

Commit

Permalink
0.21.0
Browse files Browse the repository at this point in the history
bump version
  • Loading branch information
HerringtonDarkholme committed Apr 24, 2024
1 parent eb4c47c commit 2f9a560
Show file tree
Hide file tree
Showing 22 changed files with 58 additions and 41 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,25 @@ 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.21.0](https://github.com/ast-grep/ast-grep/compare/0.20.5...0.21.0)

- feat: report unused rewriters [`#1064`](https://github.com/ast-grep/ast-grep/issues/1064)
- feat: report undefined error in fix [`#1070`](https://github.com/ast-grep/ast-grep/issues/1070)
- feat: define the resolution order of meta variables [`#1068`](https://github.com/ast-grep/ast-grep/issues/1068)
- feat: export used meta-var in transform [`#1069`](https://github.com/ast-grep/ast-grep/issues/1069)
- feat: export meta variables defined in transform [`#1066`](https://github.com/ast-grep/ast-grep/issues/1066)
- feat: export meta variables defined in constraints/rules [`#1067`](https://github.com/ast-grep/ast-grep/issues/1067)
- test: add test for Pattern::defined_vars method [`#1065`](https://github.com/ast-grep/ast-grep/issues/1065)
- feat: analyze meta variables defined in pattern [`#1065`](https://github.com/ast-grep/ast-grep/issues/1065)
- feat: add field id Error for relational rule [`#1059`](https://github.com/ast-grep/ast-grep/issues/1059)
- feat: support rewrtier check in sub-rule [`eb4c47c`](https://github.com/ast-grep/ast-grep/commit/eb4c47ca31a22314455b9b55ec10473a6a56dc69)
- test: add undefined rewriter test [`d56ad74`](https://github.com/ast-grep/ast-grep/commit/d56ad745676b229d820b068abdb843e21871f100)
- feat: add used_vars in TemplateFix [`641d3b4`](https://github.com/ast-grep/ast-grep/commit/641d3b45cb722c34a36250f657f4babeffca0cf8)

#### [0.20.5](https://github.com/ast-grep/ast-grep/compare/0.20.4...0.20.5)

> 10 April 2024
- fix: add parse global util error [`2482a86`](https://github.com/ast-grep/ast-grep/commit/2482a869724d04dfb1480c83b3ec8ad8f3fc430b)
- fix: ignore test [`6c2cd46`](https://github.com/ast-grep/ast-grep/commit/6c2cd46e3c1649dd4123b3c8d740b3ff89e8773e)

Expand Down
18 changes: 9 additions & 9 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ resolver = "2"
lto = true

[workspace.package]
version = "0.20.5"
version = "0.21.0"
authors = ["Herrington Darkholme <[email protected]>"]
edition = "2021"
license = "MIT"
Expand All @@ -22,11 +22,11 @@ rust-version = "1.63"
readme = "README.md"

[workspace.dependencies]
ast-grep-core = { path = "crates/core", version = "0.20.5" }
ast-grep-config = { path = "crates/config", version = "0.20.5" }
ast-grep-dynamic = { path = "crates/dynamic", version = "0.20.5" }
ast-grep-language = { path = "crates/language", version = "0.20.5" }
ast-grep-lsp = { path = "crates/lsp", version = "0.20.5" }
ast-grep-core = { path = "crates/core", version = "0.21.0" }
ast-grep-config = { path = "crates/config", version = "0.21.0" }
ast-grep-dynamic = { path = "crates/dynamic", version = "0.21.0" }
ast-grep-language = { path = "crates/language", version = "0.21.0" }
ast-grep-lsp = { path = "crates/lsp", version = "0.21.0" }

bit-set = { version = "0.5.3" }
ignore = { version = "0.4.22" }
Expand Down
2 changes: 1 addition & 1 deletion crates/napi/npm/darwin-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ast-grep/napi-darwin-arm64",
"version": "0.20.5",
"version": "0.21.0",
"os": [
"darwin"
],
Expand Down
2 changes: 1 addition & 1 deletion crates/napi/npm/darwin-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ast-grep/napi-darwin-x64",
"version": "0.20.5",
"version": "0.21.0",
"os": [
"darwin"
],
Expand Down
2 changes: 1 addition & 1 deletion crates/napi/npm/linux-arm64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ast-grep/napi-linux-arm64-gnu",
"version": "0.20.5",
"version": "0.21.0",
"os": [
"linux"
],
Expand Down
2 changes: 1 addition & 1 deletion crates/napi/npm/linux-x64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ast-grep/napi-linux-x64-gnu",
"version": "0.20.5",
"version": "0.21.0",
"os": [
"linux"
],
Expand Down
2 changes: 1 addition & 1 deletion crates/napi/npm/linux-x64-musl/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ast-grep/napi-linux-x64-musl",
"version": "0.20.5",
"version": "0.21.0",
"os": [
"linux"
],
Expand Down
2 changes: 1 addition & 1 deletion crates/napi/npm/win32-arm64-msvc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ast-grep/napi-win32-arm64-msvc",
"version": "0.20.5",
"version": "0.21.0",
"os": [
"win32"
],
Expand Down
2 changes: 1 addition & 1 deletion crates/napi/npm/win32-ia32-msvc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ast-grep/napi-win32-ia32-msvc",
"version": "0.20.5",
"version": "0.21.0",
"os": [
"win32"
],
Expand Down
2 changes: 1 addition & 1 deletion crates/napi/npm/win32-x64-msvc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ast-grep/napi-win32-x64-msvc",
"version": "0.20.5",
"version": "0.21.0",
"os": [
"win32"
],
Expand Down
2 changes: 1 addition & 1 deletion crates/napi/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ast-grep/napi",
"version": "0.20.5",
"version": "0.21.0",
"description": "Search and Rewrite code at large scale using precise AST pattern",
"homepage": "https://ast-grep.github.io",
"main": "index.js",
Expand Down
2 changes: 1 addition & 1 deletion crates/pyo3/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "maturin"
[project]
name = "ast-grep-py"
requires-python = ">=3.8"
version = "0.20.5"
version = "0.21.0"
description = "Structural Search and Rewrite code at large scale using precise AST pattern."
authors = [{ name = "Herrington Darkholme", email = "[email protected]" }]
maintainers = [{ name = "Herrington Darkholme", email = "[email protected]" }]
Expand Down
16 changes: 8 additions & 8 deletions npm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ast-grep/cli",
"version": "0.20.5",
"version": "0.21.0",
"publishConfig": {
"access": "public"
},
Expand Down Expand Up @@ -29,13 +29,13 @@
"postinstall": "node postinstall.js"
},
"optionalDependencies": {
"@ast-grep/cli-win32-arm64-msvc": "0.20.5",
"@ast-grep/cli-win32-ia32-msvc": "0.20.5",
"@ast-grep/cli-win32-x64-msvc": "0.20.5",
"@ast-grep/cli-darwin-arm64": "0.20.5",
"@ast-grep/cli-darwin-x64": "0.20.5",
"@ast-grep/cli-linux-arm64-gnu": "0.20.5",
"@ast-grep/cli-linux-x64-gnu": "0.20.5"
"@ast-grep/cli-win32-arm64-msvc": "0.21.0",
"@ast-grep/cli-win32-ia32-msvc": "0.21.0",
"@ast-grep/cli-win32-x64-msvc": "0.21.0",
"@ast-grep/cli-darwin-arm64": "0.21.0",
"@ast-grep/cli-darwin-x64": "0.21.0",
"@ast-grep/cli-linux-arm64-gnu": "0.21.0",
"@ast-grep/cli-linux-x64-gnu": "0.21.0"
},
"bin": {
"sg": "sg",
Expand Down
2 changes: 1 addition & 1 deletion npm/platforms/darwin-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ast-grep/cli-darwin-arm64",
"version": "0.20.5",
"version": "0.21.0",
"os": [
"darwin"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/platforms/darwin-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ast-grep/cli-darwin-x64",
"version": "0.20.5",
"version": "0.21.0",
"os": [
"darwin"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/platforms/linux-arm64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ast-grep/cli-linux-arm64-gnu",
"version": "0.20.5",
"version": "0.21.0",
"os": [
"linux"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/platforms/linux-x64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ast-grep/cli-linux-x64-gnu",
"version": "0.20.5",
"version": "0.21.0",
"os": [
"linux"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/platforms/win32-arm64-msvc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ast-grep/cli-win32-arm64-msvc",
"version": "0.20.5",
"version": "0.21.0",
"os": [
"win32"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/platforms/win32-ia32-msvc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ast-grep/cli-win32-ia32-msvc",
"version": "0.20.5",
"version": "0.21.0",
"os": [
"win32"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/platforms/win32-x64-msvc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ast-grep/cli-win32-x64-msvc",
"version": "0.20.5",
"version": "0.21.0",
"os": [
"win32"
],
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "maturin"

[project]
name = "ast-grep-cli"
version = "0.20.5"
version = "0.21.0"
description = "Structural Search and Rewrite code at large scale using precise AST pattern."
authors = [{ name = "Herrington Darkholme", email = "[email protected]" }]
maintainers = [{ name = "Herrington Darkholme", email = "[email protected]" }]
Expand Down

0 comments on commit 2f9a560

Please sign in to comment.