Skip to content

Bump tree-sitter-ocaml from 0.24.2 to 0.25.0#43

Merged
harehare merged 1 commit into
mainfrom
dependabot/cargo/tree-sitter-ocaml-0.25.0
May 21, 2026
Merged

Bump tree-sitter-ocaml from 0.24.2 to 0.25.0#43
harehare merged 1 commit into
mainfrom
dependabot/cargo/tree-sitter-ocaml-0.25.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 12, 2026

Copy link
Copy Markdown
Contributor

Bumps tree-sitter-ocaml from 0.24.2 to 0.25.0.

Release notes

Sourced from tree-sitter-ocaml's releases.

v0.25.0

Upgrade to tree-sitter ABI 15

Applications that do not support ABI 15 can regenerate the grammar with tree-sitter generate --abi 14 or use the abi-14 branch.

Grammar changes

OCaml 5.5 (#130)

External types

  • There is a new external_declaration node.

Arbitrary structure items in let expressions

  • The let_module_expression, let_open_expression and let_exception_expression nodes are replaced by variants of the already existing let_expression node, with a module_definition/open_module/exception_definition instead of value_definition as first child.
  • The other structure items external, type_definition, module_type_definition, class_definition, class_type_definition and floating_attribute are allowed too in let expressions.

Modular explicits

  • The package_type node can have both a module and module_type field.

Polymorphic parameters (#132)

  • The type field of the parameter and labeled_argument_type nodes, and the domain field of the function_type and class_function_type nodes, can be a polymorphic_type node.

Bug fixes (#131 and #135)

  • The coercion_expression node is replaced by the already existing typed_expression node with a new coercion field. The labeled_tuple_element, field_expression and labeled_argument nodes can have a coercion field too.
  • The compilation_unit, structure and attribute_payload nodes can contain value_specification nodes.
  • The for_expression node can have any pattern in its name field.
  • The unit node can contain an attribute_id.
  • The external node can have quoted_string children.
  • The equation field of the type_binding node was renamed to body to be consistent with other binding nodes, and there is a new synonym field.
  • The tuple_pattern node can have the .. literal as child.

Local opens (#136)

  • The local_open_expression node can only have delimited expressions in the expression field. Other expressions will be wrapped in a parenthesized_expression node.
  • The local_open_pattern node can only have delimited patterns in the pattern field. Other patterns will be wrapped in a parenthesized_pattern node.
  • The local_open_type node can only have delimited types in the type field. Other types will be wrapped in a parenthesized_type node.

Other changes

  • Add reserved words (#117)
  • Update bindings and dependencies (#129)
  • Fix empty list constructor declaration (#133)
  • Fix and test CMake (#134)
  • Refactor sequence expressions and patterns (#137)

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels May 12, 2026
Bumps [tree-sitter-ocaml](https://github.com/tree-sitter/tree-sitter-ocaml) from 0.24.2 to 0.25.0.
- [Release notes](https://github.com/tree-sitter/tree-sitter-ocaml/releases)
- [Commits](tree-sitter/tree-sitter-ocaml@v0.24.2...v0.25.0)

---
updated-dependencies:
- dependency-name: tree-sitter-ocaml
  dependency-version: 0.25.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/cargo/tree-sitter-ocaml-0.25.0 branch from 7f00cc7 to f924b83 Compare May 16, 2026 07:33
@harehare harehare merged commit 632e705 into main May 21, 2026
1 check passed
@dependabot dependabot Bot deleted the dependabot/cargo/tree-sitter-ocaml-0.25.0 branch May 21, 2026 11:17
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 rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant