| 1 | # Changelog |
| 2 | |
| 3 | All notable changes to this project will be documented in this file. |
| 4 | |
| 5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), |
| 6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 7 | |
| 8 | <!-- ## [Unreleased] --> |
| 9 | |
| 10 | ### Added |
| 11 | |
| 12 | * Add `Query::disable_pattern` ([b7b901d81b27](https://github.com/helix-editor/tree-house/commit/b7b901d81b27)) |
| 13 | |
| 14 | ## [v0.3.2] - 2026-06-01 |
| 15 | |
| 16 | ### Fixed |
| 17 | |
| 18 | * Fixed NULL handling when attempting to use `QueryCursor::next_match` / `QueryCursor::next_matched_node` on a query where all captures had been disabled with `Query::disable_capture` ([10f61ff](https://github.com/helix-editor/tree-house/commit/10f61ff)) |
| 19 | |
| 20 | ## [v0.3.1] - 2026-05-31 |
| 21 | |
| 22 | ### Fixed |
| 23 | |
| 24 | * Fixed `ParseState` and `ParseOptions` not being re-exported from the crate root, making `parse_with_options` unusable ([10f61ff](https://github.com/helix-editor/tree-house/commit/10f61ff)) |
| 25 | * Fixed a panic in `Query::start_byte_for_pattern` for queries that have patterns but no text predicates: the bounds assertion was incorrectly checking against the number of text predicates rather than the number of patterns ([4501ded](https://github.com/helix-editor/tree-house/commit/4501ded)) |
| 26 | |
| 27 | ## [v0.3.0] - 2026-05-30 |
| 28 | |
| 29 | ### Added |
| 30 | |
| 31 | * Added `Parser::parse_with_options` for parsing with a progress/cancellation callback ([c8e4308](https://github.com/helix-editor/tree-house/commit/c8e4308)) |
| 32 | * Added `Parser::parse_with_timeout` as a convenience wrapper around `parse_with_options` ([c8e4308](https://github.com/helix-editor/tree-house/commit/c8e4308)) |
| 33 | * Added `ParseState` (passed to the progress callback) and `ParseOptions` types ([c8e4308](https://github.com/helix-editor/tree-house/commit/c8e4308)) |
| 34 | |
| 35 | ### Removed |
| 36 | |
| 37 | * Removed `Parser::set_timeout`. Use `Parser::parse_with_timeout` instead ([c8e4308](https://github.com/helix-editor/tree-house/commit/c8e4308)) |
| 38 | |
| 39 | ### Updated |
| 40 | |
| 41 | * Updated the tree-sitter C library to v0.26.9 ([47d87a2](https://github.com/helix-editor/tree-house/commit/47d87a2)) |
| 42 | |
| 43 | ## [v0.2.4] - 2026-05-30 |
| 44 | |
| 45 | ### Added |
| 46 | |
| 47 | * Added `Range::new` with debug assertions that the end comes after the start positions ([4d81f5ae](https://github.com/helix-editor/tree-house/commit/4d81f5ae4a06995240244ee8930a42161d728331)) |
| 48 | |
| 49 | ## [v0.2.3] - 2026-02-18 |
| 50 | |
| 51 | ### Updated |
| 52 | |
| 53 | * Included inner `libloading::Error` in `grammar::Error` message ([#28](https://github.com/helix-editor/tree-house/pull/28)) |
| 54 | * Separated lifetimes of the tree cursor and tree in `TreeCursor::into_iter` ([5544c6c2](https://github.com/helix-editor/tree-house/commit/5544c6c2fbc66b3a26adbdf9c8f3b46770b2a362)) |
| 55 | * Added Redox in `endian.h` in the C library ([#32](https://github.com/helix-editor/tree-house/pull/32)) |
| 56 | |
| 57 | ## [v0.2.2] - 2025-08-31 |
| 58 | |
| 59 | ### Added |
| 60 | |
| 61 | * Added an optional feature to load `Grammar`s from [`LanguageFn`](https://docs.rs/tree-sitter-language/0.1.5/tree_sitter_language/struct.LanguageFn.html) from the [`tree-sitter-language` crate](https://crates.io/crates/tree-sitter-language) ([#24](https://github.com/helix-editor/tree-house/pull/24)) |
| 62 | |
| 63 | ### Updated |
| 64 | |
| 65 | * Updated the tree-sitter C library to v0.25.8 ([da576cf74e04](https://github.com/helix-editor/tree-house/commit/da576cf74e04)) |
| 66 | |
| 67 | ### Fixed |
| 68 | |
| 69 | * Fixed message for the impossible pattern error message in query analysis failures. ([9fe0be04c306](https://github.com/helix-editor/tree-house/commit/9fe0be04c306)) |
| 70 | |
| 71 | ## [v0.2.1] - 2025-07-12 |
| 72 | |
| 73 | ### Added |
| 74 | |
| 75 | * Added `Node::is_extra` |
| 76 | |
| 77 | ### Updated |
| 78 | |
| 79 | * Updated the tree-sitter C library to v0.25.7 |
| 80 | |
| 81 | ## [v0.2.0] - 2025-06-06 |
| 82 | |
| 83 | ### Added |
| 84 | |
| 85 | * Added `TreeCursor::reset` |
| 86 | * Added an iterator for recursively walking over the nodes in a `TreeCursor`: `TreeRecursiveWalker` |
| 87 | |
| 88 | ### Updated |
| 89 | |
| 90 | * Updated the tree-sitter C library to v0.25.6 |
| 91 | |
| 92 | ## [v0.1.1] - 2025-05-14 |
| 93 | |
| 94 | ### Fixed |
| 95 | |
| 96 | * Patched `endian.h` to include IllumOS |
| 97 | |
| 98 | ## [v0.1.0] - 2025-05-13 |
| 99 | |
| 100 | ### Added |
| 101 | |
| 102 | * Initial publish |