Skip to content

Bump ruby_tree_sitter from 2.0.0 to 2.1.0#9

Merged
pboling merged 1 commit intomainfrom
dependabot/bundler/ruby_tree_sitter-2.1.0
Mar 3, 2026
Merged

Bump ruby_tree_sitter from 2.0.0 to 2.1.0#9
pboling merged 1 commit intomainfrom
dependabot/bundler/ruby_tree_sitter-2.1.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 2, 2026

Bumps ruby_tree_sitter from 2.0.0 to 2.1.0.

Release notes

Sourced from ruby_tree_sitter's releases.

v2.1.0

API Changes for tree-sitter 0.26 compatibility

  • Updated to tree-sitter v0.26.5
  • Breaking Changes in tree-sitter 0.26.x API:
    • ts_language_version renamed to ts_language_abi_version
    • TSInputEncodingUTF16 split into TSInputEncodingUTF16LE and TSInputEncodingUTF16BE (now using UTF16LE as default for backward compatibility)
    • Cancellation flag API (ts_parser_cancellation_flag, ts_parser_set_cancellation_flag) removed
      • Parser#cancellation_flag and Parser#cancellation_flag= are now no-ops for backward compatibility
    • Timeout API (ts_parser_timeout_micros, ts_parser_set_timeout_micros) removed
      • Parser#timeout_micros and Parser#timeout_micros= are now no-ops for backward compatibility
    • Use TSParseOptions with progress_callback for cancellation/timeout functionality in 0.26+
  • TREE_SITTER_LANGUAGE_VERSION is now 15 (was 14)
  • TREE_SITTER_MIN_COMPATIBLE_LANGUAGE_VERSION is now 13 (was 6)
  • Grammar files (.so) must be built against tree-sitter 0.26+ to work with this version

Bug Fixes

  • Fixed duplicate method definition in QueryCursor (#100 by yancya)
  • Fixed a use-after-free in the logger (#100 by yancya)
  • Fixed a potential buffer overflow when loading parsers.
Changelog

Sourced from ruby_tree_sitter's changelog.

v2.1.0 (19-02-2026)

API Changes for tree-sitter 0.26 compatibility

  • Updated to tree-sitter v0.26.5
  • Breaking Changes in tree-sitter 0.26.x API:
    • ts_language_version renamed to ts_language_abi_version
    • TSInputEncodingUTF16 split into TSInputEncodingUTF16LE and TSInputEncodingUTF16BE (now using UTF16LE as default for backward compatibility)
    • Cancellation flag API (ts_parser_cancellation_flag, ts_parser_set_cancellation_flag) removed
      • Parser#cancellation_flag and Parser#cancellation_flag= are now no-ops for backward compatibility
    • Timeout API (ts_parser_timeout_micros, ts_parser_set_timeout_micros) removed
      • Parser#timeout_micros and Parser#timeout_micros= are now no-ops for backward compatibility
    • Use TSParseOptions with progress_callback for cancellation/timeout functionality in 0.26+
  • TREE_SITTER_LANGUAGE_VERSION is now 15 (was 14)
  • TREE_SITTER_MIN_COMPATIBLE_LANGUAGE_VERSION is now 13 (was 6)
  • Grammar files (.so) must be built against tree-sitter 0.26+ to work with this version

Bug Fixes

  • Fixed duplicate method definition in QueryCursor (#100 by yancya)
  • Fixed a use-after-free in the logger (#100 by yancya)
  • Fixed a potential buffer overflow when loading parsers.
Commits
  • 7905b77 bump: tree-sitter: v0.26.5
  • 549dc10 bump: v2.1.0
  • 5698383 language: avoid a potential buffer overflow
  • bfd19f8 fix: mark Logger in Parser GC to prevent use-after-free
  • 2cc3388 fix: Remove duplicate method definitions in QueryCursor to eliminate warnings
  • 3c3ef84 bump: ci: add ruby 4.0
  • 125204a bump: ruby: minimum required is 3.2
  • 20012f4 ext: language: lang is now a const TSLanguage *
  • 24bccc2 refactor: rubofix
  • 5442b3f refactor: justfile
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels Mar 2, 2026
@github-actions github-actions bot requested a review from pboling March 2, 2026 18:50
@codecov-commenter
Copy link

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment

Thanks for integrating Codecov - We've got you covered ☂️

@pboling
Copy link
Member

pboling commented Mar 3, 2026

@dependabot rebase

Bumps [ruby_tree_sitter](https://github.com/Faveod/ruby-tree-sitter) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/Faveod/ruby-tree-sitter/releases)
- [Changelog](https://github.com/Faveod/ruby-tree-sitter/blob/master/News.md)
- [Commits](Faveod/ruby-tree-sitter@v2.0.0...v2.1.0)

---
updated-dependencies:
- dependency-name: ruby_tree_sitter
  dependency-version: 2.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/bundler/ruby_tree_sitter-2.1.0 branch from 5e43a48 to dbb9385 Compare March 3, 2026 21:49
@github-actions
Copy link

github-actions bot commented Mar 3, 2026

Code Coverage

Package Line Rate Branch Rate Health
rbs-merge 28% 1%
Summary 28% (222 / 800) 1% (3 / 435)

Minimum allowed line rate is 72%

@pboling pboling merged commit 80c085f into main Mar 3, 2026
15 of 18 checks passed
@pboling pboling deleted the dependabot/bundler/ruby_tree_sitter-2.1.0 branch March 3, 2026 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants