From f3896a2d51028514744df4a903e7cd3f5bbd0224 Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Wed, 28 May 2025 10:12:27 -0700 Subject: [PATCH] Bump Tree-sitter to 0.25.5 for YAML-editing crash fix (#31603) Closes https://github.com/zed-industries/zed/issues/31380 See https://github.com/tree-sitter/tree-sitter/pull/4472 for the fix Release Notes: - Fixed a crash that could occur when editing YAML files. --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5e4b5d2869a4cde30465403b763c0f02205d41ad..d7bdc5b9ff4f4bcbf3cb219baa373d4c4bda5ab7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -16457,9 +16457,9 @@ dependencies = [ [[package]] name = "tree-sitter" -version = "0.25.3" +version = "0.25.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9ac5ea5e7f2f1700842ec071401010b9c59bf735295f6e9fa079c3dc035b167" +checksum = "ac5fff5c47490dfdf473b5228039bfacad9d765d9b6939d26bf7cc064c1c7822" dependencies = [ "cc", "regex", diff --git a/Cargo.toml b/Cargo.toml index 69417a3ac359c93900ad1e962c009b99560d3acf..20d7085317e974636abfbc77f040d3c730cb4cbc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -569,7 +569,7 @@ tokio = { version = "1" } tokio-tungstenite = { version = "0.26", features = ["__rustls-tls"] } toml = "0.8" tower-http = "0.4.4" -tree-sitter = { version = "0.25.3", features = ["wasm"] } +tree-sitter = { version = "0.25.5", features = ["wasm"] } tree-sitter-bash = "0.23" tree-sitter-c = "0.23" tree-sitter-cpp = "0.23"