Skip to content

Releases: seart-group/java-tree-sitter

v1.12.0

15 Feb 17:01
5769e5d
Compare
Choose a tag to compare

What's Changed

  • Add "grammar" variants to some Node methods by @dabico in #121
  • Add new LookaheadIterator API by @dabico in #122
  • Add new traversal variants to TreeCursor by @dabico in #123
  • Add Language#nextState by @dabico in #124
  • Remove Language#_INVALID_ by @dabico in #125
  • Add Tree method for obtaining ranges of code changed in edits by @dabico in #126
  • Add API for specifying the included ranges of a Parser by @dabico in #127
  • Fix various memory leaks in native code by @dabico in #128
  • Move ABI versioning information from Parser to TreeSitter by @dabico in #129
  • Add Parser logging by @dabico in #130
  • Add the Predicate class by @dabico in #131
  • Language enum values now provide all field names by @dabico in #132
  • Add Quantifier enum by @dabico in #133
  • Add precise start and end offset byte values for Pattern by @dabico in #134

Dependencies Updated

Full Changelog: v1.11.0...v1.12.0

v1.11.0

02 Feb 19:58
b1cc7a3
Compare
Choose a tag to compare

What's Changed

  • Minor refactoring changes to build.py by @dabico in #103
  • Bump tree-sitter API from 0.20.8 to 0.20.9 by @dabico in #111
  • Add new methods for determining current and next Node parse state by @dabico in #112
  • Add new method for determining Node descendant count by @dabico in #113
  • Add new method for determining if Node is an ERROR by @dabico in #114
  • Add new method which returns if Node has been changed with Tree#edit by @dabico in #115
  • Add new method for getting the current relative depth of a TreeCursor by @dabico in #116
  • Add new method for resetting a TreeCursor state to that of another one by @dabico in #117
  • Add API and Library version information API by @dabico in #118
  • Add Metadata inner class for Language versioning by @dabico in #119

Dependencies Updated

  • Bump com.puppycrawl.tools:checkstyle from 10.12.5 to 10.12.6 by @dependabot in #98
  • Bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.2 to 3.2.3 by @dependabot in #100
  • Bump org.apache.maven.plugins:maven-compiler-plugin from 3.11.0 to 3.12.1 by @dependabot in #104
  • Bump com.puppycrawl.tools:checkstyle from 10.12.6 to 10.12.7 by @dependabot in #105
  • Bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.3 to 3.2.5 by @dependabot in #108
  • Bump com.puppycrawl.tools:checkstyle from 10.12.7 to 10.13.0 by @dependabot in #110

Full Changelog: v1.10.0...v1.11.0

v1.10.0

04 Dec 19:56
7f50b5e
Compare
Choose a tag to compare

What's Changed

  • Separate release-specific plugin executions into a dedicated profile by @dabico in #80
  • Add language binding: tree-sitter-gitattributes by @dabico in #83
  • Add language binding: tree-sitter-gitignore by @dabico in #84
  • Add language binding: tree-sitter-hcl by @dabico in #85
  • Add language binding: tree-sitter-thrift by @dabico in #86
  • Add language binding: tree-sitter-twig by @dabico in #87
  • Add language binding: tree-sitter-verilog by @dabico in #88
  • Add language bindings: tree-sitter-xml and tree-sitter-dtd by @dabico in #89
  • Add language binding: tree-sitter-zig by @dabico in #90
  • Small code maintenance changes by @dabico in #92
  • Removing deprecated members (<= 1.7.0) by @dabico in #93
  • Update existing language bindings by @dabico in #97

Dependencies Updated

  • Bump org.apache.commons:commons-lang3 from 3.13.0 to 3.14.0 by @dependabot in #94
  • Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.6.2 to 3.6.3 by @dependabot in #95
  • Bump commons-io:commons-io from 2.15.0 to 2.15.1 by @dependabot in #96

Full Changelog: v1.9.1...v1.10.0

v1.9.1

01 Dec 11:01
29799fc
Compare
Choose a tag to compare

What's Changed

  • Fix incorrect behaviour of Language#associatedWith when files have an empty name by @dabico in #81

Dependencies Updated

  • Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.6.0 to 3.6.2 by @dependabot in #75
  • Bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.1 to 3.2.2 by @dependabot in #76
  • Bump org.jetbrains:annotations from 24.0.1 to 24.1.0 by @dependabot in #77
  • Bump com.puppycrawl.tools:checkstyle from 10.12.4 to 10.12.5 by @dependabot in #78
  • Bump org.codehaus.mojo:exec-maven-plugin from 3.1.0 to 3.1.1 by @dependabot in #79

Full Changelog: v1.9.0...v1.9.1

v1.9.0

09 Nov 09:12
615efb6
Compare
Choose a tag to compare

What's Changed

  • Introducing TreeCursor#gotoNode by @dabico in #60
  • Improvements to QueryCursor by @dabico in #61
  • Removing deprecated members (<= 1.6.0) by @dabico in #62
  • Add "null" variants of Node and TreeCursor by @dabico in #63
  • Improved singleton design of origin Point by @dabico in #64
  • Added missing clone implementation to OffsetTreeCursor by @dabico in #65
  • Enhance JavaDoc for various classes by @dabico in #66
  • Introducing new "named" instance methods to Node by @dabico in #67
  • Add method for obtaining the Language of a Node by @dabico in #68
  • Simplified native implementation for getPrevSibling and getNextSibling of Node by @dabico in #69

Dependencies Updated

  • Bump org.junit:junit-bom from 5.10.0 to 5.10.1 by @dependabot in #58

Full Changelog: v1.8.1...v1.9.0

v1.8.1

03 Nov 21:54
a652e8b
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.8.0...v1.8.1

v1.8.0

02 Nov 14:37
2a081d5
Compare
Choose a tag to compare

What's Changed

  • Removing deprecated members (<= 1.5.0) by @dabico in #47
  • Enhancements to Parser.Builder API by @dabico in #48
  • Enhancements to Query.Builder API by @dabico in #49
  • Added missing documentation for Builder of Parser and Query by @dabico in #53
  • Removing some redundant toString implementations by @dabico in #50
  • Fixing rare cases of segmentation faults in OffsetTreeCursor$OffsetNode by @dabico in #51
  • Adding package-info.java to all packages by @dabico in #52

Dependencies Updated

  • Bump org.jacoco:jacoco-maven-plugin from 0.8.10 to 0.8.11 by @dependabot in #43
  • Bump org.apache.maven.plugins:maven-checkstyle-plugin from 3.3.0 to 3.3.1 by @dependabot in #44
  • Bump org.apache.maven.plugins:maven-surefire-plugin from 3.1.2 to 3.2.1 by @dependabot in #45
  • Bump org.apache.maven.plugins:maven-clean-plugin from 3.3.1 to 3.3.2 by @dependabot in #46

Full Changelog: v1.7.0...v1.8.0

v1.7.0

02 Oct 10:55
8de7ff2
Compare
Choose a tag to compare

What's Changed

  • Added new overloaded variants of gotoFirstChild to TreeCursor by @dabico in #22
  • External now makes use of java.lang.ref.Cleaner by @dabico in #24
  • Refactoring Parser to use the builder pattern by @dabico in #23
  • Refactoring Query to use the builder pattern by @dabico in #25
  • isExecuted of QueryCursor no longer relegated to native code by @dabico in #38
  • Refactoring Query and QueryMatch by @dabico in #37
  • Added NodeRangeBoundaryException hierarchy by @dabico in #39
  • Merging native implementations of getFirstChildForByte variants by @dabico in #40
  • Removing deprecated members (<= 1.4.0) by @dabico in #41

Dependencies Updated

  • Bump com.mycila:license-maven-plugin from 4.2 to 4.3 by @dependabot in #26
  • Bump org.apache.maven.plugins:maven-gpg-plugin from 1.6 to 3.1.0 by @dependabot in #30
  • Bump org.apache.maven.plugins:maven-release-plugin from 3.0.0-M1 to 3.0.1 by @dependabot in #29
  • Bump org.apache.maven.plugins:maven-deploy-plugin from 3.0.0-M1 to 3.1.1 by @dependabot in #28
  • Bump org.apache.maven.plugins:maven-install-plugin from 3.0.0-M1 to 3.1.1 by @dependabot in #27
  • Bump org.apache.maven.plugins:maven-enforcer-plugin from 3.3.0 to 3.4.1 by @dependabot in #33
  • Bump org.apache.maven.plugins:maven-source-plugin from 3.2.1 to 3.3.0 by @dependabot in #32
  • Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.2.0 to 3.6.0 by @dependabot in #34
  • Bump org.apache.maven.plugins:maven-jar-plugin from 3.2.2 to 3.3.0 by @dependabot in #36
  • Bump org.projectlombok:lombok from 1.18.28 to 1.18.30 by @dependabot in #31
  • Bump com.puppycrawl.tools:checkstyle from 10.9.3 to 10.12.3 by @dependabot in #35
  • Bump com.puppycrawl.tools:checkstyle from 10.12.3 to 10.12.4 by @dependabot in #42

New Contributors

Full Changelog: v1.6.0...v1.7.0

v1.6.0

26 Sep 07:48
8380afa
Compare
Choose a tag to compare

What's Changed

  • Adding a lot of new language bindings by @dabico in #17
  • Minor Parser refactoring by @dabico in #18
  • Tree class is now Cloneable by @dabico in #19
  • Native redefinition of compareTo for Point by @dabico in #20
  • Adding new and improving existing member methods of Node by @dabico in #21

Full Changelog: v1.5.1...v1.6.0

v1.5.1

21 Sep 14:56
f553fe2
Compare
Choose a tag to compare

What's Changed

  • TreeCursor class is now Cloneable by @dabico in #13
  • Point class is now Comparable by @dabico in #14
  • Added Point arithmetic by @dabico in #15
  • Fixed a bug in getContent with non-ASCII characters by @dabico in #16

Full Changelog: v1.5.0...v1.5.1