Skip to content

chore(deps): bump tree-sitter-language-pack from 1.12.5 to 1.21.0 - #663

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/tree-sitter-language-pack-1.13.5
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/tree-sitter-language-pack-1.13.5

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 30, 2026 •

Copy link
Copy Markdown
Contributor

Bumps tree-sitter-language-pack from 1.12.5 to 1.21.0.

Release notes

Sourced from tree-sitter-language-pack's releases.

Release v1.21.0

What's Changed

Full Changelog: xberg-io/tree-sitter-language-pack@v1.16.0...v1.21.0

Release v1.20.0

What's Changed

Full Changelog: xberg-io/tree-sitter-language-pack@v1.16.0...v1.20.0

Release v1.19.1

What's Changed

Full Changelog: xberg-io/tree-sitter-language-pack@v1.16.0...v1.19.1

Release v1.19.0

Changed

  • Upgraded the tree-sitter runtime to 0.27, moving tree-sitter-language to 0.1.8 in the same step. The two pins are not independent: 0.27 requires tree-sitter-language ^0.1.8, and 0.1.8 relocates the 0.26 WASM shims under wasm/unsupported/ so they no longer compile against the older runtime. The grammar ABI is unchanged -- both 0.26 and 0.27 are TREE_SITTER_LANGUAGE_VERSION 15 with a minimum compatible version of 13 -- so every bundled grammar loads exactly as before and no regeneration is implied.
  • Consumers that also depend on tree-sitter directly must move to 0.27 in the same step. The tree-sitter crate declares links = "tree-sitter", and Cargo permits only one package per links value in a dependency graph, so pairing this release with a 0.26 pin fails to resolve rather than failing to compile. Nothing this crate exports changed: the requirement is a dependency floor, not a break in its own API.
  • Grammar scanners now compile with NDEBUG on wasm32. 0.27's WASM libc is a documented subset that excludes assert, so a scanner keeping its assertions emitted an unresolved __assert_fail. That became an env module import rather than a link error, and the package then failed to load at runtime with Cannot find module 'env'. Native builds keep their assertions.
  • Dropped this crate's own WASM libc shims (memchr, strcmp, iswalnum and friends) now that

... (truncated)

Changelog

Sourced from tree-sitter-language-pack's changelog.

[1.21.0] - 2026-10-04

Added

  • BAML grammar (baml, from BoundaryML/baml-treesitter, Apache-2.0), bringing the pack to 372 languages (#200). Upstream ships an ABI 15 parser.c; it is regenerated at ABI 14 like the rest of the pack. Known limitation: the grammar rejects the documented backtick prompt form until BoundaryML/baml#5012 is fixed upstream.
  • Parser bundles now carry the pinned licence and NOTICE text for every grammar they contain, so redistributors can retain the applicable upstream notices (#191). Coverage is fail-closed: a grammar with no resolvable licence text fails the build.
  • A root-owned, non-writable parser cache directory is accepted, so a grammar cache baked into a read-only container image works without a chown (#202). Group- or other-writable directories are still rejected.
  • Python DocstringFormat, StructureKind and SymbolKind gain a from_other() factory, and the unit enums are hashable. WASM classes gain copyForTransfer().

Changed

  • Refresh 48 grammar pins to their latest upstream revisions. No grammar changed ABI or lost a query; F#, F# Signature and Protocol Buffers gained locals/tags queries. cuda stays held: its upstream parser.c is past the regeneration size threshold and would lose its injections and tags queries.
  • BREAKING (Java, C#): DocstringFormat, StructureKind and SymbolKind are sealed types, not enums. Java uses sealed interfaces with record variants and C# uses abstract records with sealed record variants, so StructureKind.FUNCTION / StructureKind.Function becomes new StructureKind.Function(). Other now carries its string payload, and Java's values(), getValue() and case-insensitive fromValue() are gone, so match with pattern matching or instanceof/is. The JSON wire format is unchanged. Java ErrorException now extends TreeSitterLanguagePackRsException.
  • BREAKING (Python): cache_dir, clean_cache, configure, download, download_all, download_group, init, manifest_groups, manifest_languages, prefetch and process raise the typed tree_sitter_language_pack.Error subclasses (DownloadError, LanguageNotFoundError, ...) instead of RuntimeError, matching get_language. except RuntimeError: no longer catches them. The .pyi stubs also drop the never-present type attribute and TypedDict variants on the kind types and tighten constructor parameter types.
  • BREAKING (WASM): the data and bodySpan setters no longer accept null/undefined. Use the new clearData() and clearBodySpan() instead.
  • BREAKING (PHP, Ruby type signatures): the PHP stubs describe the kind types as classes with a type_tag property, an other property and static factories, not as string constants. The Ruby RBS enum classes become enum_* type aliases. Kotlin Android unit enums now return the wire string from toString() ("Line", not "LINE").
  • Regenerate all bindings, fixtures, documentation and workflows with Alef 0.103.14 (was 0.87.1 at 1.20.0), which is the source of the changes above. The PHP extension now builds against ext-php-rs 0.16 and the Elixir package requires rustler_precompiled ~> 0.10. Ruby builds against magnus 0.9 and the MCP server against rmcp 3.5. libc is held at 0.2.189 because 0.2.190 breaks iOS builds rust-lang/libc#5601

Fixed

  • download([...]) fetches languages the manifest knows but the cache does not hold. It previously

... (truncated)

Commits
  • 09a3688 chore(swift): update Package.swift with checksum for v1.21.0
  • cfb486e ci(validate): pin Zig 0.16.0 for snippet validation
  • 225d6c5 docs(changelog): list the 1.21.0 binding API breaks
  • 7c7c226 fix(wasm): trap instead of importing env.exit from grammar scanners
  • 31aafde test(java): follow the sealed-interface kind types from the alef 0.103 regen
  • af651f2 fix(deps): hold libc at 0.2.189 for iOS builds
  • c09f7f1 chore(plugin): regenerate bundles with ai-rulez 4.24.2
  • 3a9d589 chore(release): 1.21.0
  • 21500cc refactor(build): split build.rs into build_support modules (#184)
  • dc41475 feat(grammars): add BAML grammar (#200)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Related to other python pypi packages used python Pull requests that update Python code labels Jul 30, 2026
@vercel

vercel Bot commented Jul 30, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
biscuit Ready Ready Preview Oct 12, 2026 5:42am UTC

@tomlin7

tomlin7 commented Oct 12, 2026

Copy link
Copy Markdown
Owner

@dependabot recreate

Bumps [tree-sitter-language-pack](https://github.com/xberg-io/tree-sitter-language-pack) from 1.12.5 to 1.21.0.
- [Release notes](https://github.com/xberg-io/tree-sitter-language-pack/releases)
- [Changelog](https://github.com/xberg-io/tree-sitter-language-pack/blob/main/CHANGELOG.md)
- [Commits](xberg-io/tree-sitter-language-pack@v1.12.5...v1.21.0)

---
updated-dependencies:
- dependency-name: tree-sitter-language-pack
  dependency-version: 1.13.5
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title chore(deps): bump tree-sitter-language-pack from 1.12.5 to 1.13.5 chore(deps): bump tree-sitter-language-pack from 1.12.5 to 1.21.0 Oct 12, 2026
@dependabot
dependabot Bot force-pushed the dependabot/pip/tree-sitter-language-pack-1.13.5 branch from 61be147 to 222849e Compare October 12, 2026 05:41
@dependabot @github

dependabot Bot commented on behalf of github Oct 13, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #671.

@dependabot dependabot Bot closed this Oct 13, 2026
@dependabot
dependabot Bot deleted the dependabot/pip/tree-sitter-language-pack-1.13.5 branch October 13, 2026 16:47

This branch was successfully deployed

1 active deployment
Preview — 222849ee Deployed Oct 12, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Related to other python pypi packages used python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant