diff --git a/CHANGELOG.md b/CHANGELOG.md index 088bbe5c..d41692d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -40,6 +40,8 @@ finalized in place with a date — no renaming/migration step needed. - **File-watch stack majors: notify 6.1 → 8.2, notify-debouncer-full 0.3 → 0.7.** The debouncer absorbed `Watcher` into `Debouncer` itself (`debouncer.watch()/unwatch()` replace `.watcher().watch()`), and root cache tracking is now automatic, so the explicit `cache().add_root()` call goes away. The watcher's cache type now follows upstream's per-platform recommendation (`RecommendedCache`: `FileIdMap` on Windows/macOS, `NoCache` on Linux — file-ID tracking is an internal rename-detection optimization; event mapping never reads file IDs directly). Also removes `mio 0.8.11` from the lock entirely (it rode the Linux-only inotify 0.9 path; notify 8 uses inotify 0.11). +- **tree-sitter 0.26 → 0.27, tree-sitter-proto 0.4 → 0.6.** Zero call-site changes — the chunker sits on the stable `Parser`/`Language` surface and grammars load through the ABI-stable `LANGUAGE.into()` (`tree-sitter-language`) route, so all 17 grammar crates stay pinned while the core moves a major. + ## [1.3.19] ### Changed diff --git a/Cargo.lock b/Cargo.lock index 85042d90..1a497681 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6007,13 +6007,12 @@ dependencies = [ [[package]] name = "tree-sitter" -version = "0.26.13" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17ebdd3a5a7e28a1890b876fdbd0c3c0fe0a6336cffaa104f11b9f720c9daa29" +checksum = "2038684e0058edba0d17302619f62eabce4a8e11c6ac59506996a8d79848851d" dependencies = [ "cc", "regex", - "regex-syntax", "serde_json", "streaming-iterator", "tree-sitter-language", @@ -6137,9 +6136,9 @@ dependencies = [ [[package]] name = "tree-sitter-proto" -version = "0.4.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e410ccb5fa3cbd6bf7b8e512ecf7ad9d5254395b822bfe9f751b50fa978f31c" +checksum = "9c93b6f1ed20de442e900eb636f2176af6063953dfaa9f76bf168dd3b490a3a1" dependencies = [ "cc", "tree-sitter-language", diff --git a/Cargo.toml b/Cargo.toml index 122e0c9f..747c833d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,7 +37,7 @@ hf-hub = "1.0" # lancedb = "0.5" # Text processing & Parsing -tree-sitter = "0.26.8" +tree-sitter = "0.27" tree-sitter-rust = "0.24.2" tree-sitter-python = "0.25" tree-sitter-javascript = "0.25" @@ -54,7 +54,7 @@ tree-sitter-yaml = "0.7.2" tree-sitter-json = "0.24.8" tree-sitter-md = "0.5.3" tree-sitter-dart = "0.2.0" -tree-sitter-proto = "0.4.0" +tree-sitter-proto = "0.6" # File handling ignore = "0.4"