Skip to content

Releases

v0.76

v0.76 Pre-release
Pre-release

Choose a tag to compare

@realityforge realityforge released this 14 Oct 00:13

Changes in this release:

  • Breaking: Remove JsonUtil and the JSON-P dependency from core, QA and Maven metadata.
  • Add Ahab 0.4.0 hermeticity analysis with report, check, update and explain targets. The full verification gate checks
    an empty baseline, with reproducibility specifications for the formatter, release builders and singlejar's fixed
    redacted build metadata.
  • Make release JARs reproducible by fixing manifest entry timestamps and omitting Javadoc generation timestamps.
  • Breaking: Require Java 21 to run Proton and processor QA. Generated code remains compatible with Java 17,
    verified by compiling processor fixtures with --release 17. QA reuses Bazel's bundled Error Prone.
  • Upgrade NullAway to 0.14.2 and enforce JSpecify mode and recognized nullness annotation locations in Bazel Java compilation.
    Correct name-extraction callback types to allow the nullable results already handled by the utilities.
  • Upgrade the pinned Bazel version to 9.3.0.
  • Use Bazel's default output symlink and repository cache locations, and ignore workspace output symlinks in Git.
  • Clean Bazel output and shut down its server when a Codex environment is cleaned up.
  • Adopt rules_palantir_java_format for worker-backed Java formatting checks in the existing CI gate, and add
    tools/java_format_watch.sh to format source changes while editing.
  • Breaking: Recognize and generate JSpecify type-use nullability instead of javax.annotation nullability.
    Remove legacy nonnull helpers and preserve explicit annotations in generated generic, array and resolved override
    signatures with GeneratorUtil.getTypeName(TypeMirror). Nonnull reference returns use the marked default.
  • Mark emitted types with @NullMarked and enforce NullAway JSpecify mode on owned code. Processor QA can supply
    a checking compiler through AbstractProcessorTest.javaCompiler() and the compiler-taking CompileTestUtil
    overloads; generated-source checking is verified with a failing control. Java 17 output remains supported.
  • Remove the direct legacy annotation dependency from core, QA and Maven metadata.

v0.75

v0.75 Pre-release
Pre-release

Choose a tag to compare

@realityforge realityforge released this 07 Jul 05:37

Changes in this release:

  • Move the project from Buildr/Rake to Bazel, including bazel-depgen managed dependencies, GitHub Actions CI,
    Palantir Java Format automation, Buildifier checks, coverage enforcement, IntelliJ project view generation, and the
    Maven Central release workflow.
  • Enforce the strict Error Prone and NullAway rule set used by bazel-depgen, and migrate Proton's own nullness
    annotations from javax.annotation to JSpecify.

v0.74

v0.74 Pre-release
Pre-release

Choose a tag to compare

@realityforge realityforge released this 06 Jul 13:58

Changes in this release:

  • Add NamesUtil to share Java identifier validation, derived-name helpers, and annotation name extraction behavior
    across annotation processors.
  • Add narrow ElementsUtil accessibility and type helpers for processor checks that need owning type, package access,
    type accessibility, assignability, and accessible no-arg constructor detection.
  • Add a GeneratorUtil.refMethod(...) overload that accepts additional warning suppressions.
  • Add focused SuppressWarningsUtil read helpers for checking whether warnings are suppressed on an annotated
    construct or element.
  • Add generic type-level MemberChecks helpers for class/interface, type parameter, and non-static nested type
    validation.

v0.73

v0.73 Pre-release
Pre-release

Choose a tag to compare

@realityforge realityforge released this 06 Jul 13:37

Changes in this release:

  • Remove the unused MemberChecks.mustBePublic(...), MemberChecks.mustBePrivate(...),
    MemberChecks.shouldNotBeProtected(...), and MemberChecks.shouldBeInternalMethod(...) helpers.
  • Remove the deprecated ElementsUtil.isElementDeprecated(...) helper.
  • Remove the unused GeneratorUtil.emitJavaType(...) helper.
  • Remove the unused AnnotationsUtil.getTypeElementsAnnotationParameter(...) helper.
  • Remove the unused IOUtil.readFully(...) helper.
  • Validate Java record components in SuperficialValidation using the standard element validation path, avoiding a
    NullPointerException when annotation processors recursively validate types containing enclosed records.

v0.72

v0.72 Pre-release
Pre-release

Choose a tag to compare

@realityforge realityforge released this 13 Jun 09:59

Changes in this release:

Changes in this release:

  • Change the default value of <prefix>.format_generated_source to true so generated Java source is formatted unless
    processors explicitly disable formatting.

v0.71

v0.71 Pre-release
Pre-release

Choose a tag to compare

@realityforge realityforge released this 13 Jun 04:33

Changes in this release:

  • Add the <prefix>.format_generated_source option to AbstractStandardProcessor so generated Java source can be
    formatted before it is written, defaulting to the existing unformatted behavior.
  • Bundle a shaded palantir-java-format fallback in proton-core.jar under org.realityforge.proton.vendor, while
    keeping formatter dependencies out of published transitive dependency metadata.
  • Extend AbstractProcessorTest.assertSuccessfulCompile(...) to verify both expected and expectedFormatted
    generated-source fixtures, with fixture regeneration support for both trees.

v0.70

v0.70 Pre-release
Pre-release

Choose a tag to compare

@realityforge realityforge released this 06 May 06:15

Changes in this release:

Changes in this release:

  • Make SuperficialValidation.isTypeOf(...) fail closed for NullType / <nulltype> rather than throwing IllegalArgumentException, and add a regression test covering the behavior.

v0.69

v0.69 Pre-release
Pre-release

Choose a tag to compare

@realityforge realityforge released this 29 Apr 04:05

Changes in this release:

  • Breaking: Change MemberChecks to accept a Diagnostic.Kind rather than hardcoding to WARNING.

v0.68

v0.68 Pre-release
Pre-release

Choose a tag to compare

@realityforge realityforge released this 29 Apr 03:33

Changes in this release:

  • Add AbstractProcessorTest.assertCompilesWithSingleWarningThatCanBeUpgradedToError(...) support method.

v0.67

v0.67 Pre-release
Pre-release

Choose a tag to compare

@realityforge realityforge released this 29 Apr 03:04

Changes in this release:

  • Add a warnings_as_errors annotation processor option to enable warnings as errors. Downstream annotation processors should use the warning helper methods to ensure this option is used.