Skip to content

Update dependency tree-sitter to ^0.22.0

renovate requested to merge renovate/tree-sitter-0.x into main

This MR contains the following updates:

Package Type Update Change
tree-sitter dependencies minor ^0.20.4 -> ^0.22.0

Release Notes

tree-sitter/py-tree-sitter (tree-sitter)

v0.22.3

Compare Source

Full Changelog: https://github.com/tree-sitter/py-tree-sitter/compare/v0.22.2...v0.22.3

v0.22.2

Compare Source

Full Changelog: https://github.com/tree-sitter/py-tree-sitter/compare/v0.22.1...v0.22.2

v0.22.1

Compare Source

Full Changelog: https://github.com/tree-sitter/py-tree-sitter/compare/v0.22.0...v0.22.1

v0.22.0

Compare Source

Breaking changes are marked with !.

Additions:
  • LANGUAGE_VERSION
  • MIN_COMPATIBLE_LANGUAGE_VERSION
  • Point(row, column)
  • Language.__repr__()
  • Language.__eq__(): checks ptr
  • Language.__int__(): returns ptr
  • Language.__index__(): returns ptr
  • Language.__hash__(): returns ptr
  • Node.__str__(): returns the S-expression
  • TreeCursor.goto_first_child_for_point(point)
  • TreeCursor.__copy__(): returns copy()
  • Query(language, source)
  • Parser(language, included_ranges, timeout_micros)
  • Parser.language (getter + setter)
  • Parser.included_ranges (getter + setter)
  • Parser.timeout_micros (getter + setter)
  • Range.__hash__()
Deprecations:
  • Node.sexp(): use str()
  • Tree.text: use root_node.text
  • TreeCursor.goto_first_child_for_point(row, column): use goto_first_child_for_point(point)
  • LookaheadIterator.reset(language, state): use reset_state(state, language)
  • Parser.set_language(language): use Parser(language) or language setter
  • Parser.set_included_ranges(ranges): use included_ranges setter
  • Parser.set_timeout_micros(timeout): use timeout_micros setter
Removals:
  • Language(path, name) !
  • Language.build_library(...) !
  • Language.name !
  • Language.lib
  • Language.language_id: use int()
Changes:
  • Language() only accepts a single integer argument. !
  • Parser.parse(...) accepts an optional encoding argument. !
  • TreeCursor.descendant_index is changed to a property. !
  • LookaheadIterator.language returns a Language instance. !
  • LookaheadIterator.reset_state(...) accepts an optional language argument.
  • Query.captures(...) arguments must be keywords (except for node).
  • Query.matches(...) arguments must be keywords (except for node).
  • Range.__repr__() prints attributes in the same order as the Range() arguments.
  • Range() arguments are no longer considered optional.

v0.21.3

Compare Source

Full Changelog: https://github.com/tree-sitter/py-tree-sitter/compare/v0.21.2...v0.21.3

v0.21.2

Compare Source

Full Changelog: https://github.com/tree-sitter/py-tree-sitter/compare/v0.21.1...v0.21.2

v0.21.1

Compare Source

Full Changelog: https://github.com/tree-sitter/py-tree-sitter/compare/v0.21.0...v0.21.1

v0.21.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/tree-sitter/py-tree-sitter/compare/v0.20.4...v0.21.0


Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Edited by renovate

Merge request reports

Loading