Skip to content

[Snyk] Upgrade web-tree-sitter from 0.25.10 to 0.27.1 - #146

Open
peterj wants to merge 1 commit into
mainfrom
snyk-upgrade-869a8b9cbeef7ebd1b487883092ec7f0
Open

peterj wants to merge 1 commit into
mainfrom
snyk-upgrade-869a8b9cbeef7ebd1b487883092ec7f0

Conversation

@peterj

@peterj peterj commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

snyk-top-banner

Snyk has created this PR to upgrade web-tree-sitter from 0.25.10 to 0.27.1.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 14 versions ahead of your current version.

  • The recommended version was released a month ago.

Breaking Change Risk

Merge Risk: High

Notice: This assessment is enhanced by AI.

Release notes
Package name: web-tree-sitter
  • 0.27.1 - 2026-10-08

    What's Changed

    • fix: decode UTF-16 surrogate pairs with input endianness by @ tree-sitter-ci-bot[bot] in #5913
    • fix(cli)!: fix query test capture range matching across lines by @ tree-sitter-ci-bot[bot] in #5918
    • fix(rust): address new nightly lints by @ tree-sitter-ci-bot[bot] in #5921
    • fix(generate): resolve token names in debug output by @ WillLillis in #5941
    • fix(generate): keep GCC jump tables enabled for large lexers by @ tree-sitter-ci-bot[bot] in #5985
    • fix(generate): exclude external word tokens from keyword extraction by @ WillLillis in #5989
    • fix(lib): check shifted stack versions during error recovery by @ tree-sitter-ci-bot[bot] in #5998
    • fix(generate): detect indirect recursion in flattened productions by @ WillLillis in #6003
    • fix: preserve column dependency when balancing repeat nodes by @ tree-sitter-ci-bot[bot] in #6006
    • perf(lib): acquire capture lists from a free stack instead of scanning by @ tree-sitter-ci-bot[bot] in #6012
    • fix(build): don't compile the Wasm stdlib into Emscripten builds by @ tree-sitter-ci-bot[bot] in #6015
    • fix: various query issues by @ tree-sitter-ci-bot[bot] in #6017
    • fix(rust): ban std::fs::canonicalize by @ tree-sitter-ci-bot[bot] in #6018
    • fix(bindings): load Node bindings under Bun again by @ tree-sitter-ci-bot[bot] in #6021
    • release v0.27.1 by @ clason in #6024

    Full Changelog: v0.27.0...v0.27.1

  • 0.27.0 - 2026-08-30

    What's Changed

Snyk has created this PR to upgrade web-tree-sitter from 0.25.10 to 0.27.1.

See this package in npm:
web-tree-sitter

See this project in Snyk:
https://app.snyk.io/org/kagent/project/59d13508-dc88-4e32-80ef-cc59cc4840ea?utm_source=github&utm_medium=referral&page=upgrade-pr
@peterj

peterj commented Nov 13, 2026

Copy link
Copy Markdown
Contributor Author

Merge Risk: High

This upgrade crosses a significant breaking change boundary introduced in version 0.26.0.

Breaking Change: ABI Incompatibility

The core breaking change is an update to the Application Binary Interface (ABI). As a result, web-tree-sitter versions 0.26.0 and newer are incompatible with WebAssembly (.wasm) language parsers that were built using older versions of the tree-sitter-cli.

If your project uses pre-compiled .wasm language files, they will fail to load after this upgrade unless they are updated or rebuilt.

Recommendation:
Before merging, you must verify that all .wasm language parsers used in your application are compatible with the new ABI. This typically involves:

  • Rebuilding your .wasm files using a recent version of tree-sitter-cli (0.26.x or later).
  • Or, obtaining updated .wasm files from your provider (e.g., tree-sitter-wasms).

Failure to update the .wasm parsers will result in runtime errors.

Source: GitHub Issue Discussion

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants