Repository navigation
Releases
Releases · realityforge/proton
v0.76
Changes in this release:
- Breaking: Remove
JsonUtiland 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_formatfor worker-backed Java formatting checks in the existing CI gate, and add
tools/java_format_watch.shto format source changes while editing. - Breaking: Recognize and generate JSpecify type-use nullability instead of
javax.annotationnullability.
Remove legacy nonnull helpers and preserve explicit annotations in generated generic, array and resolved override
signatures withGeneratorUtil.getTypeName(TypeMirror). Nonnull reference returns use the marked default. - Mark emitted types with
@NullMarkedand enforce NullAway JSpecify mode on owned code. Processor QA can supply
a checking compiler throughAbstractProcessorTest.javaCompiler()and the compiler-takingCompileTestUtil
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
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 fromjavax.annotationto JSpecify.
v0.74
Changes in this release:
- Add
NamesUtilto share Java identifier validation, derived-name helpers, and annotation name extraction behavior
across annotation processors. - Add narrow
ElementsUtilaccessibility 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
SuppressWarningsUtilread helpers for checking whether warnings are suppressed on an annotated
construct or element. - Add generic type-level
MemberCheckshelpers for class/interface, type parameter, and non-static nested type
validation.
v0.73
Changes in this release:
- Remove the unused
MemberChecks.mustBePublic(...),MemberChecks.mustBePrivate(...),
MemberChecks.shouldNotBeProtected(...), andMemberChecks.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
SuperficialValidationusing the standard element validation path, avoiding a
NullPointerExceptionwhen annotation processors recursively validate types containing enclosed records.
v0.72
Changes in this release:
Changes in this release:
- Change the default value of
<prefix>.format_generated_sourcetotrueso generated Java source is formatted unless
processors explicitly disable formatting.
v0.71
Changes in this release:
- Add the
<prefix>.format_generated_sourceoption toAbstractStandardProcessorso 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.jarunderorg.realityforge.proton.vendor, while
keeping formatter dependencies out of published transitive dependency metadata. - Extend
AbstractProcessorTest.assertSuccessfulCompile(...)to verify bothexpectedandexpectedFormatted
generated-source fixtures, with fixture regeneration support for both trees.
v0.70
Changes in this release:
Changes in this release:
- Make
SuperficialValidation.isTypeOf(...)fail closed forNullType/<nulltype>rather than throwingIllegalArgumentException, and add a regression test covering the behavior.
v0.69
Changes in this release:
- Breaking: Change
MemberChecksto accept aDiagnostic.Kindrather than hardcoding toWARNING.
v0.68
Changes in this release:
- Add
AbstractProcessorTest.assertCompilesWithSingleWarningThatCanBeUpgradedToError(...)support method.
v0.67
Changes in this release:
- Add a
warnings_as_errorsannotation processor option to enable warnings as errors. Downstream annotation processors should use the warning helper methods to ensure this option is used.