Releases: xberg-io/tree-sitter-language-pack
Releases · xberg-io/tree-sitter-language-pack
Release list
v1.12.3
Fixed
- python:
get_parser()now returns the installedtree_sitter.Parserinstead of a vendored parser class. On Python 3.14 the vendored parser produced unusable trees (nodes exposed notype/children;parse(bytes)raisedTypeError) with nothing failing at construction, so the breakage was silent.get_parser(name)now buildstree_sitter.Parser(get_language(name)), mirroringget_language()and working across Python versions. Fixes #157.
Changed
- deps: upgrade dependencies to their latest versions across every language binding (Rust, Python, Node, Ruby, PHP, Go, Java, C#, Elixir, WASM, Dart, Swift, Zig, Kotlin-Android); refresh grammar revisions and GitHub Actions pins. On
wasm32,getrandommoves to 0.4 with thewasm_jsfeature. - Regenerated all bindings with alef 0.30.10, which corrects the generated Python
get_parserreturn annotation (previously an invalid_rust.Parserthat broke import on Python < 3.14).
v1.12.2
Fixed
- wasm: skip the
tmuxgrammar onwasm32. Its generatedparser.cis ~30MB — underTSLP_WASM_MAX_PARSER_BYTES(40MB) so the size gate doesn't catch it, but it still overruns the clang wasm backend during codegen. Added toDEFAULT_WASM_SKIP_GRAMMARSso the wasm build is clean; it degrades gracefully (absent fromSTATIC_LANGUAGES). - wasm: enable the
getrandomjsfeature forwasm32-unknown-unknown. Build-dependencies (ureq) transitively depend ongetrandom, which requires thejsfeature on that target; without it wasm32 builds failed with "the wasm*-unknown-unknown targets are not supported by default". - build:
build.rsnow reportsfailed_languages.txtwrite errors separately and always surfaces the underlying grammar compilation error even when the write fails.
Full Changelog: v1.12.1...v1.12.2
Release v1.12.1
What's Changed
- fix(intel): include Ruby namespaces in structure by @pboling in #129
- chore: add .gitattributes marking generated dirs as linguist-generated by @kh3rld in #130
- feat(gherkin): add support for Gherkin language with detection and smoke tests by @sahalsaad in #132
- docs(nav): add
ecosystempage cross-linking the sibling docs sites by @v-tan in #135 - chore(docs): add robots.txt with Sitemap directive by @v-tan in #134
- fix(download): honor proxy env vars when fetching grammars by @wolgy in #139
- docs: update stale 300+ language references to 306 by @kh3rld in #140
- chore: upgrade dependencies and grammar revisions by @Goldziher in #152
- fix(ci): unblock Clone vendors (revert lean rev, swap, generate timeout) by @Goldziher in #153
- fix(docs): correct webmanifest name to tree-sitter-language-pack by @v-tan in #155
- test(e2e/java): regression for kind() and toSexp() raw-string returns by @kh3rld in #154
- feat(intel): extract Elixir structure and imports by @robertsfeir in #150
New Contributors
- @sahalsaad made their first contribution in #132
- @v-tan made their first contribution in #135
- @wolgy made their first contribution in #139
- @robertsfeir made their first contribution in #150
Full Changelog: v0.17.10...v1.12.1
v1.12.0
Added
- prefetch:
prefetch(&[&str])downloads (if needed) and loads every requested grammar in one pass, so a parallel workload only parses. Probes real on-disk loadability instead ofhas_language, fixing a short-circuit where known-but-not-downloaded grammars were skipped. - query cache (Rust):
get_query(language, QueryKind) -> Result<Option<Arc<Query>>>compiles a bundled.scmquery once and caches theArc<Query>process-wide. Rust-only; bindings keep the raw query-string accessors. - indents & folds queries:
get_indents_query/get_folds_queryexpose the bundledindents.scm/folds.scm;QueryKindgainsIndentsandFolds.
Changed
- performance:
get_languagenow takes a lock-free fast path for static and already-loaded dynamic grammars; the global load mutex guards only the not-yet-loaded dynamic path.
v1.11.1
Fixed
- python:
get_language()and other download failures now surface the public exception type in tracebacks —tree_sitter_language_pack.DownloadErrorinstead of_native.DownloadError(#147). - java: generate
ByteArraySerializer.javaso the generated ObjectMapper compiles for every package. - docs: correct stale "300+" language counts to "306".
Regenerated against alef 0.30.1.
v1.11.0
v1.11.0-rc.2
Release candidate 1.11.0-rc.2. Regenerated with alef 0.29.3; corrected Homebrew tap path and CLI install docs.
v1.10.9
What's Changed
- fix(intel): include Ruby namespaces in structure by @pboling in #129
- chore: add .gitattributes marking generated dirs as linguist-generated by @kh3rld in #130
- feat(gherkin): add support for Gherkin language with detection and smoke tests by @sahalsaad in #132
- docs(nav): add
ecosystempage cross-linking the sibling docs sites by @v-tan in #135 - chore(docs): add robots.txt with Sitemap directive by @v-tan in #134
- fix(download): honor proxy env vars when fetching grammars by @wolgy in #139
- docs: update stale 300+ language references to 306 by @kh3rld in #140
New Contributors
- @sahalsaad made their first contribution in #132
- @v-tan made their first contribution in #135
- @wolgy made their first contribution in #139
Full Changelog: v0.17.10...v1.10.9
v1.10.8
What's Changed
- fix(intel): include Ruby namespaces in structure by @pboling in #129
- chore: add .gitattributes marking generated dirs as linguist-generated by @kh3rld in #130
- feat(gherkin): add support for Gherkin language with detection and smoke tests by @sahalsaad in #132
- docs(nav): add
ecosystempage cross-linking the sibling docs sites by @v-tan in #135 - chore(docs): add robots.txt with Sitemap directive by @v-tan in #134
- fix(download): honor proxy env vars when fetching grammars by @wolgy in #139
- docs: update stale 300+ language references to 306 by @kh3rld in #140
New Contributors
- @sahalsaad made their first contribution in #132
- @v-tan made their first contribution in #135
- @wolgy made their first contribution in #139
Full Changelog: v0.17.10...v1.10.8
v1.10.7
What's Changed
- fix(intel): include Ruby namespaces in structure by @pboling in #129
- chore: add .gitattributes marking generated dirs as linguist-generated by @kh3rld in #130
- feat(gherkin): add support for Gherkin language with detection and smoke tests by @sahalsaad in #132
- docs(nav): add
ecosystempage cross-linking the sibling docs sites by @v-tan in #135 - chore(docs): add robots.txt with Sitemap directive by @v-tan in #134
- fix(download): honor proxy env vars when fetching grammars by @wolgy in #139
- docs: update stale 300+ language references to 306 by @kh3rld in #140
New Contributors
- @sahalsaad made their first contribution in #132
- @v-tan made their first contribution in #135
- @wolgy made their first contribution in #139
Full Changelog: v0.17.10...v1.10.7