Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ half of that rationale fits it too. The exemption is about unification
pressure and the runtime has none — the lockfile shows 25 crates
depending on `tree-sitter-language` against one external dependent
(`tree-sitter-perl`) for `tree-sitter` — and every manifest here already
pins it at `=0.26.11` with the workspace resolving. Its ABI version is
pins it at `=0.26.12` with the workspace resolving. Its ABI version is
also what each vendored `parser.c` was generated against, so an
accidental bump is precisely the drift the gate exists to catch.

Expand Down
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,21 @@ for historical reference.

### Changed

- The `tree-sitter` runtime is `=0.26.12`, up one upstream patch
release, pinned in lockstep across the root manifest, `enums`, and
the five vendored `bca-tree-sitter-*` crates. `tree_sitter` is
re-exported from the library root, so the resolved version is visible
to consumers. Nothing in the release reaches this workspace's
behaviour: `include/tree_sitter/api.h` and the Rust bindings are
byte-identical to `0.26.11`, so `TREE_SITTER_LANGUAGE_VERSION` stays
at 15 and the vendored `parser.c` sources are unaffected, as is the
`Send + Sync` argument the PyO3 bindings rest on. The three C fixes
are an error-recovery restart when the parser is already in
`ERROR_STATE`, a `has_later_named_siblings` correction in the tree
cursor, and query-anchor semantics for skipped quantifiers — the
last inert here, since this workspace uses no tree-sitter query API.
No metric value moves.

- Ruby's and Elixir's `#{` interpolation opener no longer counts as a
Halstead operator. Unlike PHP's `{`, which aliases the
compound-statement brace and was fabricating a block (see Fixed),
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ authors = [
# entries via `.workspace = true`, so any grammar bump here MUST be
# applied to enums/Cargo.toml in lockstep (see recreate-grammars.sh).
[workspace.dependencies]
tree-sitter = "=0.26.11"
tree-sitter = "=0.26.12"
tree-sitter-bash = "=0.25.1"
tree-sitter-c-sharp = "=0.23.5"
tree-sitter-elixir = "=0.3.5"
Expand Down
2 changes: 1 addition & 1 deletion big-code-analysis-py/src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
//! the iterator's own keep-alive.
//!
//! `tree_sitter::Tree`, `Node`, and `TreeCursor` are `Send + Sync` under
//! the pinned `=0.26.11`, so the pyclasses are sendable (no `unsendable`)
//! the pinned `=0.26.12`, so the pyclasses are sendable (no `unsendable`)
//! and compose with `ThreadPoolExecutor` fan-out like [`PyAst`] itself.

use big_code_analysis::tree_sitter::{Node as TsNode, TreeCursor};
Expand Down
4 changes: 2 additions & 2 deletions enums/Cargo.lock

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

2 changes: 1 addition & 1 deletion enums/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ askama = "^0.16"
# [workspace.dependencies]. They MUST be kept in lockstep with the
# matching block in ../Cargo.toml when grammars are bumped
# (see recreate-grammars.sh).
tree-sitter = "=0.26.11"
tree-sitter = "=0.26.12"
tree-sitter-bash = "=0.25.1"
tree-sitter-c-sharp = "=0.23.5"
tree-sitter-elixir = "=0.3.5"
Expand Down
4 changes: 2 additions & 2 deletions fuzz/Cargo.lock

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

4 changes: 2 additions & 2 deletions tree-sitter-ccomment/Cargo.lock

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

2 changes: 1 addition & 1 deletion tree-sitter-ccomment/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ tree-sitter-language="0.1.0"
cc = "^1.2"

[dev-dependencies]
tree-sitter = "=0.26.11"
tree-sitter = "=0.26.12"
4 changes: 2 additions & 2 deletions tree-sitter-mozcpp/Cargo.lock

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

2 changes: 1 addition & 1 deletion tree-sitter-mozcpp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ tree-sitter-cpp = "=0.23.4"
build = ["tree-sitter-cpp"]

[dev-dependencies]
tree-sitter = "=0.26.11"
tree-sitter = "=0.26.12"
4 changes: 2 additions & 2 deletions tree-sitter-mozjs/Cargo.lock

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

2 changes: 1 addition & 1 deletion tree-sitter-mozjs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ tree-sitter-javascript = "=0.25.0"
build = ["tree-sitter-javascript"]

[dev-dependencies]
tree-sitter = "=0.26.11"
tree-sitter = "=0.26.12"
4 changes: 2 additions & 2 deletions tree-sitter-preproc/Cargo.lock

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

2 changes: 1 addition & 1 deletion tree-sitter-preproc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ tree-sitter-language="0.1.0"
cc = "^1.2"

[dev-dependencies]
tree-sitter = "=0.26.11"
tree-sitter = "=0.26.12"
4 changes: 2 additions & 2 deletions tree-sitter-tcl/Cargo.lock

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

2 changes: 1 addition & 1 deletion tree-sitter-tcl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ tree-sitter-language = "0.1.0"
cc = "^1.2"

[dev-dependencies]
tree-sitter = "=0.26.11"
tree-sitter = "=0.26.12"
2 changes: 1 addition & 1 deletion utils/check-excluded-manifests.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
# is about unification pressure, and the runtime has none: the lockfile
# shows 25 crates depending on `tree-sitter-language` but only one
# external crate (`tree-sitter-perl`) depending on `tree-sitter`, and
# every manifest here already pins it at `=0.26.11` with the workspace
# every manifest here already pins it at `=0.26.12` with the workspace
# resolving. The runtime's ABI version is also what a grammar's
# generated `parser.c` is built against, so an accidental bump is
# exactly the drift this gate exists to catch.
Expand Down