Skip to content

Commit 6a3ef7b

Browse files
committed
chore(release): bump to 1.10.8, regen bindings
Ship the wasm32 oversized-grammar OOM gate (build.rs skips any grammar whose generated parser.c exceeds TSLP_WASM_MAX_PARSER_BYTES, default 40 MB) and sync all binding manifests, e2e suites, and test-apps to 1.10.8 via alef 0.26.8.
1 parent 3471a50 commit 6a3ef7b

590 files changed

Lines changed: 784 additions & 652 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.cargo/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This file is auto-generated by alef. DO NOT EDIT.
2-
# alef:hash:fac0bd795b516381257c10b27a86279c82639b79d31e15965a37bcc80fa7ed48
2+
# alef:hash:cea39f27c7b86439ba4384f63c1434154e6c1b7e45a9ac9f165d495df848c358
33
# Re-generate with: alef scaffold
44

55
[build]

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Generated by alef scaffold.
2-
# alef:hash:fac0bd795b516381257c10b27a86279c82639b79d31e15965a37bcc80fa7ed48
2+
# alef:hash:cea39f27c7b86439ba4384f63c1434154e6c1b7e45a9ac9f165d495df848c358
33
crates/tree-sitter-language-pack-ffi/** linguist-generated=true
44
crates/tree-sitter-language-pack-jni/** linguist-generated=true
55
crates/tree-sitter-language-pack-php/** linguist-generated=true

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,9 @@ e2e/zig/.zig-cache/
150150
test_apps/zig/.zig-cache/
151151
test_apps/zig/zig-pkg/
152152
test_apps/swift_e2e/Package.resolved
153+
# Root Package.resolved is a local SPM resolution artifact for the published root
154+
# manifest — not consumed downstream (SPM ignores a dependency's Package.resolved).
155+
/Package.resolved
153156
# swift-bridge generated sources MUST be tracked: SPM consumers checking out
154157
# the git tag don't run cargo build, so without these files in the tree the
155158
# RustString type defined here is missing → ZSwiftPluginHelpers.swift won't

CHANGELOG.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,22 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [Unreleased]
8+
## [1.10.8] - 2026-06-24
99

1010
### Fixed
1111

12+
- **wasm32 builds no longer OOM on pathologically large grammars.** Compiling the bundled grammars
13+
to `wasm32` previously included every `parser.c`, but a few are huge *generated* sources (e.g.
14+
`abl` at ~130 MB) that need 18-25 GB+ of clang RAM at *any* optimization level — a single one
15+
OOMs standard ≤16 GB CI runners (serialization via `CARGO_BUILD_JOBS=1` cannot help when one file
16+
alone exceeds the budget). `build.rs` now skips any grammar whose `parser.c` exceeds a size limit
17+
on wasm32 (default 40 MB, configurable via `TSLP_WASM_MAX_PARSER_BYTES`; `0` disables the gate),
18+
emitting a `cargo:warning` per skipped grammar plus a summary. Skipped grammars are absent from
19+
`STATIC_LANGUAGES` (no dangling FFI symbol) and degrade gracefully at runtime. The 40 MB default
20+
keeps every common language (including the ~40 MB `sql` grammar) and excludes only the handful of
21+
unbuildable outliers (`abl`, `systemverilog`, `razor`, `fsharp`, `verilog`, `gnuplot`, `latex`).
22+
(`crates/ts-pack-core/build.rs`)
23+
1224
- **Swift publish now creates the `release/swift/<version>` branch carrying the substituted
1325
XCFramework checksum.** The alef-generated Swift e2e/test-app pins
1426
`.package(url: …, branch: "release/swift/<version>")` (the non-destructive layout shared with the

CITATION.cff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ authors:
1212
repository-code: "https://github.com/kreuzberg-dev/tree-sitter-language-pack"
1313
url: "https://kreuzberg.dev"
1414
license: MIT
15-
version: 1.10.7
15+
version: 1.10.8
1616
date-released: 2026-05-17

Cargo.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ exclude = [
1515
resolver = "2"
1616

1717
[workspace.package]
18-
version = "1.10.7"
18+
version = "1.10.8"
1919
edition = "2024"
2020
license = "MIT"
2121
repository = "https://github.com/kreuzberg-dev/tree-sitter-language-pack"

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ let package = Package(
3636
// sibling RustBridge target below and link against this binary.
3737
.binaryTarget(
3838
name: "RustBridgeBinary",
39-
url: "https://github.com/kreuzberg-dev/tree-sitter-language-pack/releases/download/v1.10.7/TreeSitterLanguagePack-rs.artifactbundle.zip",
39+
url: "https://github.com/kreuzberg-dev/tree-sitter-language-pack/releases/download/v1.10.8/TreeSitterLanguagePack-rs.artifactbundle.zip",
4040
checksum: "__ALEF_SWIFT_CHECKSUM__"
4141
),
4242
// RustBridge: Swift wrapper module owning the swift-bridge generated

alef.toml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1152,52 +1152,52 @@ github_repo = "https://github.com/kreuzberg-dev/tree-sitter-language-pack"
11521152

11531153
[crates.e2e.registry.packages.rust]
11541154
name = "tree-sitter-language-pack"
1155-
version = "1.10.7"
1155+
version = "1.10.8"
11561156

11571157
[crates.e2e.registry.packages.python]
11581158
name = "tree-sitter-language-pack"
1159-
version = "1.10.7"
1159+
version = "1.10.8"
11601160

11611161
[crates.e2e.registry.packages.node]
11621162
name = "@kreuzberg/tree-sitter-language-pack"
1163-
version = "1.10.7"
1163+
version = "1.10.8"
11641164

11651165
[crates.e2e.registry.packages.go]
11661166
module = "github.com/kreuzberg-dev/tree-sitter-language-pack/packages/go"
1167-
version = "v1.10.7"
1167+
version = "v1.10.8"
11681168

11691169
[crates.e2e.registry.packages.java]
11701170
group_id = "dev.kreuzberg.treesitterlanguagepack"
11711171
artifact_id = "tree-sitter-language-pack"
1172-
version = "1.10.7"
1172+
version = "1.10.8"
11731173

11741174
[crates.e2e.registry.packages.csharp]
11751175
name = "TreeSitterLanguagePack"
1176-
version = "1.10.7"
1176+
version = "1.10.8"
11771177

11781178
[crates.e2e.registry.packages.ruby]
11791179
name = "tree_sitter_language_pack"
1180-
version = "1.10.7"
1180+
version = "1.10.8"
11811181

11821182
[crates.e2e.registry.packages.c]
11831183
name = "tree-sitter-language-pack-ffi"
1184-
version = "1.10.7"
1184+
version = "1.10.8"
11851185

11861186
[crates.e2e.registry.packages.wasm]
11871187
name = "@kreuzberg/tree-sitter-language-pack-wasm"
1188-
version = "1.10.7"
1188+
version = "1.10.8"
11891189

11901190
[crates.e2e.registry.packages.elixir]
11911191
name = "tree_sitter_language_pack"
1192-
version = "1.10.7"
1192+
version = "1.10.8"
11931193

11941194
[crates.e2e.registry.packages.php]
11951195
name = "kreuzberg-dev/tree-sitter-language-pack"
1196-
version = "1.10.7"
1196+
version = "1.10.8"
11971197

11981198
[crates.e2e.registry.packages.zig]
11991199
name = "tree_sitter_language_pack"
1200-
version = "1.10.7"
1200+
version = "1.10.8"
12011201
# Per-platform hashes — alef publish only produces per-platform zig tarballs
12021202
# (no generic-name tarball). Placeholders trigger network auto-fetch at regen
12031203
# time via `zig fetch <url>`, resolving to the real published hash.
@@ -1211,15 +1211,15 @@ version = "1.10.7"
12111211

12121212
[crates.e2e.registry.packages.swift]
12131213
name = "TreeSitterLanguagePack"
1214-
version = "1.10.7"
1214+
version = "1.10.8"
12151215

12161216
[crates.e2e.registry.packages.dart]
12171217
name = "tree_sitter_language_pack"
1218-
version = "1.10.7"
1218+
version = "1.10.8"
12191219

12201220
[crates.e2e.registry.packages.kotlin_android]
12211221
name = "dev.kreuzberg:tree-sitter-language-pack-android"
1222-
version = "1.10.7"
1222+
version = "1.10.8"
12231223

12241224
# JNI test app reuses the kotlin_android Gradle scaffold (`buildHostJni` +
12251225
# `copyHostJni` → JUnit tests loading the JNI cdylib via JNA on the host JVM).

crates/tree-sitter-language-pack-jni/Cargo.toml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)