Skip to content

Releases: google/turbine

Turbine 0.13.1

05 Dec 16:37

Choose a tag to compare

This release fixes a regression in 0.13.0 with handling of fields in records (bazelbuild/bazel#27862).

Full changelog: v0.13.0...v0.13.1

Turbine 0.13.0

01 Dec 09:25

Choose a tag to compare

The minimum supported JDK version to run Turbine is now JDK 21.

Changes:

  • Include fields in elements returned by Element#getEnclosedElements for record elements (c86723d)
  • Fix handling of unnamed packages in getPackageElement (61e9980)
  • Optimize the construction of strings for zip entry names (07d173b)

Full changelog: v0.12.0...v0.13.0

Turbine 0.12.0

12 Nov 15:29

Choose a tag to compare

The minimum supported JDK version to run Turbine is now JDK 21.

Changes:

  • Stop including transitive outputs in the regular output jar if a separate header compilation output is being emitted. Depends on Bazel's --experimental_java_header_compilation_direct_deps feature. (474faa1)
  • Support javadoc comments in Elements#getDocComment (da5d1fd)
  • Record the position of javadoc comments (b660ca2)
  • Include type name in expected/unexpected interface diagnostics (e567a7b)
  • Report diagnostics less eagerly for fields that can't be resolved (c58cef8)

Full changelog: v0.11.0...v0.12.0

Turbine 0.11.0

09 Jul 23:17

Choose a tag to compare

Changes:

  • Fixes to constant expression handling (7d09f86, 1c3f454)
  • Improvements to reduced classpath logic for enum constants (aa33851)
  • Add --header_compilation_output option, to support Bazel --experimental_java_header_compilation_direct_deps experiment

Full changelog: v0.10.0...v0.11.0

Turbine 0.10.0

03 Mar 22:35

Choose a tag to compare

Changes:

  • Improve diagnostic reporting for repeated annotations (11aed5b)
  • Support TypeMirror#getAnnotation (93b273e)
  • Always emit paths with forward slashes into deps proto (a2aa5be)

Full changelog: v0.9.0...v0.10.0

Turbine 0.9.0

30 Jan 18:50

Choose a tag to compare

Changes:

  • Support record components when reading records from the classpath (#356)
  • Skip ErrorTypes in Types#directSupertypes for compatibility with javac (#358)
  • getLowerBound() should return NULL instead of NONE for variables without a lower bound (#357)
  • Type tests should return true for error types, for compatibility with javac (#359)
  • TypeMirror#toString should include type annotations for primitive types (#360)
  • Optimize SimpleTopLevelIndex (#353)

Full changelog: v0.8.0...v0.9.0

Turbine 0.8.0

29 Oct 22:31

Choose a tag to compare

Changes:

  • Handle sealed types with implicitly permitted types (0c6eb49)
  • Fix a bug in where java.base was added to the module graph of java.base itself (ffafaff)
  • Improve modeling of parameterized erroneous types, similar to improvements made to javac in JDK-8338678 (99442e8)
  • Implement TypeElement#getPermittedSubclasses
  • Support sealed and non-sealed modifiers in Element#getModifiers
  • Fix parsing of module-info require directives that are both static and transitive (e1ea3c5)

Full changelog: v0.7.0...v0.8.0

Turbine 0.7.0

26 Aug 21:03

Choose a tag to compare

Changes:

Full changelog: v0.6.0...v0.7.0

Turbine 0.6.0

24 Apr 19:42

Choose a tag to compare

Changes:

  • Fix parsing of open module ... {} module declarations
  • Check ct.sym first before falling back to jrt, to improve support for --release in native images (bazelbuild/bazel#21895)
  • Don't emit duplicate record component getters (bazelbuild/bazel#22105)

Full changelog: v0.5.0...v0.6.0

Turbine 0.5.0

06 Mar 20:34

Choose a tag to compare

Changes:

  • Consider visibility when resolving wildcard imports (bazelbuild/bazel#21509)
  • Update ASM version to 9.6 to support JDK 22 class files (76cff37)
  • Write META-INF/MANIFEST.MF entries at the beginning of jars (3a9d792)

Full changelog: v0.4.0...v0.5.0