Skip to content

fix(deps-dev): bump tree-sitter-language-pack from 1.20.0 to 1.21.0 - #258

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

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 9, 2026

Copy link
Copy Markdown
Contributor

Bumps tree-sitter-language-pack from 1.20.0 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

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 compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [tree-sitter-language-pack](https://github.com/xberg-io/tree-sitter-language-pack) from 1.20.0 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.20.0...v1.21.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from Coding-Dev-Tools as a code owner October 9, 2026 19:30
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Oct 9, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants