diff --git a/_service b/_service
index 5390cb4..33d6474 100644
--- a/_service
+++ b/_service
@@ -3,7 +3,7 @@
https://github.com/ast-grep/ast-grep.git
@PARENT_TAG@+@TAG_OFFSET@
git
- 0.21.1
+ 0.21.2
*
v(\d+\.\d+\.\d+)
\1
diff --git a/ast-grep-0.21.1+0.tar.zst b/ast-grep-0.21.1+0.tar.zst
deleted file mode 100644
index f1ac377..0000000
--- a/ast-grep-0.21.1+0.tar.zst
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:8f76cfea0519afe472dca99ba513054f877a838e04782793a9076d5bae8a7efc
-size 669105
diff --git a/ast-grep-0.21.2+0.tar.zst b/ast-grep-0.21.2+0.tar.zst
new file mode 100644
index 0000000..81fc6fb
--- /dev/null
+++ b/ast-grep-0.21.2+0.tar.zst
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a68c8f02911936b3e3f463cc8b798be2d98a50c27c6c40ce459ae4671ecb0a0b
+size 670005
diff --git a/ast-grep.changes b/ast-grep.changes
index 3db1554..e3aeb68 100644
--- a/ast-grep.changes
+++ b/ast-grep.changes
@@ -1,3 +1,12 @@
+-------------------------------------------------------------------
+Thu May 2 10:23:46 UTC 2024 - Michael Vetter
+
+- 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
+
-------------------------------------------------------------------
Mon Apr 29 06:59:15 UTC 2024 - Michael Vetter
diff --git a/ast-grep.spec b/ast-grep.spec
index 551441e..ac279d0 100644
--- a/ast-grep.spec
+++ b/ast-grep.spec
@@ -17,7 +17,7 @@
Name: ast-grep
-Version: 0.21.1+0
+Version: 0.21.2+0
Release: 0
Summary: A CLI tool for code structural search, lint and rewriting
License: MIT
diff --git a/vendor.tar.zst b/vendor.tar.zst
index a9e749d..5a048f3 100644
--- a/vendor.tar.zst
+++ b/vendor.tar.zst
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:adfef8ad47a61cefcfdeb89a6acf36a17ae059ddcd74c74d2ebf9edb541c4c27
-size 27088805
+oid sha256:6176c7eef5da6ba9025549313ef00f0589895762587c2a93bacfeb6dfe332918
+size 27081162