v1.9.0-rc.52
Pre-release
Pre-release
[1.9.0-rc.52] - 2026-06-16
Changed
- Bumped
alefpin 0.25.15 → 0.25.18. Regenerated all bindings viatask 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_patternsallow at crate root, zig test sequencing to avoidclean_cacherace, node smoke timeout forvb. - 0.25.18 — swift cfg-gated extern blocks for
DownloadManager(#[cfg(feature = "download")]), dart absolutize env +Platform.scriptpaths in hardened runtime loader, node slow-grammar list extended (earthfile,perl), pyo3 + napi emit binding-side wrapper structs for[workspace.opaque_types]entries withoutcapsule_typesoverride, napi bindingCargo.toml[features]block (default = ["download"]), cleanup detection tightened from looseby alefsubstring to specificauto-generated by alef, cbindgenautogen_warningupdated so generated C headers are correctly identified as cbindgen-owned.
- 0.25.16 — drop cfg propagation on enum
Fixed
- Python
get_language/get_parserAPI consistency (#141). Both helpers now return the binding's own native types (Language,Parser) instead of the standalonetree_sitterpackage'sLanguage, matching every other binding (Java, Go, Swift, Ruby, C#, etc.). Droppedpip_dependencies = ["tree-sitter>=0.23"]from the Python package. Breaking change for callers that relied ontree_sitter.Parser(get_language(name))— useget_parser(name)directly, or importtree_sitteras a separate dependency. - Node
getLanguage/getParserAPI consistency. Same shape change as Python —getLanguagenow returns the nativeLanguageclass from@kreuzberg/tree-sitter-language-packrather than passing through to the upstreamtree-sitternpm package. Dropped thetree-sitterdevDependency from the e2e harness. - Swift
DownloadManagerbuild error. swift-bridge proc-macro previously failed withno 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
setUpAllwith "relative path not allowed in hardened program". Loader now absolutizes env-var andPlatform.script-derived paths before constructing search roots. - Node smoke timeouts on
earthfileandperl. Tree-sitter grammars with heavy scanner.c logic now receive the 90000ms slow-grammar timeout (previously onlyvbwas covered).
Removed
- Python: standalone
tree-sitterpackage dependency. No longer required bytree-sitter-language-pack. Install it separately if you need the upstream API. - Node:
e2e/node/tests/capsule_passthrough.test.tsandtree-sitterdevDependency. Obsolete now that nodegetLanguagereturns the native type.