Skip to content

v1.9.0-rc.52

Pre-release
Pre-release

Choose a tag to compare

@Goldziher Goldziher released this 16 Jun 06:33

[1.9.0-rc.52] - 2026-06-16

Changed

  • Bumped alef pin 0.25.15 → 0.25.18. Regenerated all bindings via task alef:generate + task alef:sync. Picks up:
    • 0.25.16 — drop cfg propagation on enum From-impl match arms, API reference docs improvements.
    • 0.25.17 — dart unreachable_patterns allow at crate root, zig test sequencing to avoid clean_cache race, node smoke timeout for vb.
    • 0.25.18 — swift cfg-gated extern blocks for DownloadManager (#[cfg(feature = "download")]), dart absolutize env + Platform.script paths in hardened runtime loader, node slow-grammar list extended (earthfile, perl), pyo3 + napi emit binding-side wrapper structs for [workspace.opaque_types] entries without capsule_types override, napi binding Cargo.toml [features] block (default = ["download"]), cleanup detection tightened from loose by alef substring to specific auto-generated by alef, cbindgen autogen_warning updated so generated C headers are correctly identified as cbindgen-owned.

Fixed

  • Python get_language / get_parser API consistency (#141). Both helpers now return the binding's own native types (Language, Parser) instead of the standalone tree_sitter package's Language, matching every other binding (Java, Go, Swift, Ruby, C#, etc.). Dropped pip_dependencies = ["tree-sitter>=0.23"] from the Python package. Breaking change for callers that relied on tree_sitter.Parser(get_language(name)) — use get_parser(name) directly, or import tree_sitter as a separate dependency.
  • Node getLanguage / getParser API consistency. Same shape change as Python — getLanguage now returns the native Language class from @kreuzberg/tree-sitter-language-pack rather than passing through to the upstream tree-sitter npm package. Dropped the tree-sitter devDependency from the e2e harness.
  • Swift DownloadManager build error. swift-bridge proc-macro previously failed with no type named 'DownloadManager' in module 'RustBridge' (and 9 related missing-member errors) because cfg-gated extern blocks were emitted unconditionally. Now wrapped in #[cfg(feature = "download")] so disabled-feature compile correctly elides the bridge surface.
  • Dart hardened-runtime dlopen failures. All 9 dart e2e tests previously failed at setUpAll with "relative path not allowed in hardened program". Loader now absolutizes env-var and Platform.script-derived paths before constructing search roots.
  • Node smoke timeouts on earthfile and perl. Tree-sitter grammars with heavy scanner.c logic now receive the 90000ms slow-grammar timeout (previously only vb was covered).

Removed

  • Python: standalone tree-sitter package dependency. No longer required by tree-sitter-language-pack. Install it separately if you need the upstream API.
  • Node: e2e/node/tests/capsule_passthrough.test.ts and tree-sitter devDependency. Obsolete now that node getLanguage returns the native type.

[1.9.0-rc.51] - 2026-06-15