Skip to content

Releases: xberg-io/tree-sitter-language-pack

v1.12.3

Choose a tag to compare

@Goldziher Goldziher released this 02 Jul 14:27
v1.12.3
04c768c

Fixed

  • python: get_parser() now returns the installed tree_sitter.Parser instead of a vendored parser class. On Python 3.14 the vendored parser produced unusable trees (nodes exposed no type/children; parse(bytes) raised TypeError) with nothing failing at construction, so the breakage was silent. get_parser(name) now builds tree_sitter.Parser(get_language(name)), mirroring get_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, getrandom moves to 0.4 with the wasm_js feature.
  • Regenerated all bindings with alef 0.30.10, which corrects the generated Python get_parser return annotation (previously an invalid _rust.Parser that broke import on Python < 3.14).

v1.12.2

Choose a tag to compare

@Goldziher Goldziher released this 02 Jul 04:37

Fixed

  • wasm: skip the tmux grammar on wasm32. Its generated parser.c is ~30MB — under TSLP_WASM_MAX_PARSER_BYTES (40MB) so the size gate doesn't catch it, but it still overruns the clang wasm backend during codegen. Added to DEFAULT_WASM_SKIP_GRAMMARS so the wasm build is clean; it degrades gracefully (absent from STATIC_LANGUAGES).
  • wasm: enable the getrandom js feature for wasm32-unknown-unknown. Build-dependencies (ureq) transitively depend on getrandom, which requires the js feature on that target; without it wasm32 builds failed with "the wasm*-unknown-unknown targets are not supported by default".
  • build: build.rs now reports failed_languages.txt write 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

Choose a tag to compare

@xberg-dev-publisher xberg-dev-publisher released this 01 Jul 06:06

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 ecosystem page 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

Full Changelog: v0.17.10...v1.12.1

v1.12.0

Choose a tag to compare

@Goldziher Goldziher released this 29 Jun 16:32

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 of has_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 .scm query once and caches the Arc<Query> process-wide. Rust-only; bindings keep the raw query-string accessors.
  • indents & folds queries: get_indents_query / get_folds_query expose the bundled indents.scm / folds.scm; QueryKind gains Indents and Folds.

Changed

  • performance: get_language now 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

Choose a tag to compare

@Goldziher Goldziher released this 29 Jun 15:04

Fixed

  • python: get_language() and other download failures now surface the public exception type in tracebacks — tree_sitter_language_pack.DownloadError instead of _native.DownloadError (#147).
  • java: generate ByteArraySerializer.java so the generated ObjectMapper compiles for every package.
  • docs: correct stale "300+" language counts to "306".

Regenerated against alef 0.30.1.

v1.11.0

Choose a tag to compare

@Goldziher Goldziher released this 27 Jun 11:39

tree-sitter-language-pack 1.11.0 — stable release. Tree-sitter grammars + code-intelligence primitives. Promotes 1.11.0-rc.2.

v1.11.0-rc.2

v1.11.0-rc.2 Pre-release
Pre-release

Choose a tag to compare

@Goldziher Goldziher released this 27 Jun 06:10

Release candidate 1.11.0-rc.2. Regenerated with alef 0.29.3; corrected Homebrew tap path and CLI install docs.

v1.10.9

Choose a tag to compare

@Goldziher Goldziher released this 24 Jun 16:04

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 ecosystem page 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

Full Changelog: v0.17.10...v1.10.9

v1.10.8

Choose a tag to compare

@Goldziher Goldziher released this 24 Jun 13:26

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 ecosystem page 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

Full Changelog: v0.17.10...v1.10.8

v1.10.7

Choose a tag to compare

@Goldziher Goldziher released this 23 Jun 19:05

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 ecosystem page 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

Full Changelog: v0.17.10...v1.10.7