Skip to content
This repository was archived by the owner on Jul 19, 2026. It is now read-only.

Bump ruby_tree_sitter from 2.0.0 to 2.1.0 - #7

Merged
pboling merged 1 commit into
mainfrom
dependabot/bundler/ruby_tree_sitter-2.1.0
Mar 4, 2026
Merged

Bump ruby_tree_sitter from 2.0.0 to 2.1.0#7
pboling merged 1 commit into
mainfrom
dependabot/bundler/ruby_tree_sitter-2.1.0

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

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 05:52
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@pboling

pboling commented Mar 3, 2026

Copy link
Copy Markdown
Contributor

@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 c1ff20b to 9be2c91 Compare March 3, 2026 23:59
@github-actions

github-actions Bot commented Mar 4, 2026

Copy link
Copy Markdown

Code Coverage

Package Line Rate Branch Rate Health
toml-merge 89% 65%
Summary 89% (583 / 653) 65% (183 / 280)

Minimum allowed line rate is 89%

@pboling
pboling merged commit d2b9596 into main Mar 4, 2026
19 of 21 checks passed
@pboling
pboling deleted the dependabot/bundler/ruby_tree_sitter-2.1.0 branch March 4, 2026 08:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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