Skip to content

Releases: uber/NullAway

NullAway 0.10.23

15 Feb 16:10
Compare
Choose a tag to compare
  • Update for missing a couple possibly unsafe xml parser (#902)
  • Add foojay-resolver-convention plugin (#905)
  • JSpecify: Reason about nullability of reads from arrays (#875)
  • Fix handling of static imports from subclasses (#904)
  • Adding support for nullable type upper bounds considering Library models (#903)
  • Support for extra Futures classes (#909)
  • Build / CI tooling upgrades:
    • Bump various CI workflow versions (#906)

NullAway 0.10.22

29 Jan 19:17
Compare
Choose a tag to compare

IMPORTANT: The support for JDK 8 is deprecated in this release and will be removed in an upcoming release.

  • Fix bug with implicit equals() methods in interfaces (#898)
  • Fix crash with raw types in overrides in JSpecify mode (#899)
  • Docs fix: Update instructions for Android and our sample app (#900)

NullAway 0.10.21

14 Jan 03:36
Compare
Choose a tag to compare

IMPORTANT: This release fixes a crash when running against <2.24.0 release of Error Prone (see #894) introduced in NullAway v0.10.20 and another crash related to Checker Framework (see #895) introduced in NullAway v0.10.19.

  • Fix backwards-incompatible calls to ASTHelpers.hasDirectAnnotationWithSimpleName (#894)
  • Downgrade to Checker Framework 3.40.0 (#895)

NullAway 0.10.20

12 Jan 18:51
Compare
Choose a tag to compare
  • Fix JSpecify support on JDK 21 (#869)
  • Build / CI tooling upgrades for NullAway itself:
    • Update to WALA 1.6.3 (#887)
    • Update to Error Prone 2.24.1 (#888)

NullAway 0.10.19

27 Dec 20:15
Compare
Choose a tag to compare
  • Update to Checker Framework 3.41.0 (#873)
  • Extend library models to mark fields as nullable (#878)
    • Main use case is NullAwayAnnotator
  • Fix jarinfer cli output determinism (#884)
  • Add support for AssertJ as() and describedAs() in AssertionHandler (#885)
  • Support for JSpecify's 0.3.0 annotation [experimental]
    • JSpecify: In generics code, get rid of checks for ClassType (#863)
  • Update some dependencies (#883)

NullAway 0.10.18

30 Nov 20:01
Compare
Choose a tag to compare
  • Fix assertion check for structure of enhanced-for loop over a Map keySet (#868)

NullAway 0.10.17

20 Nov 01:15
Compare
Choose a tag to compare
  • Fix bug with computing direct type use annotations on parameters (#864)
  • Model Apache Flink's RichFunction.open as an @Initializer method (#862)
  • Support for JSpecify's 0.3.0 annotation [experimental]
    • JSpecify: adding com.google.common to annotated packages in build.gradle (#857)
    • JSpecify: handling the return of a diamond operator anonymous object method caller (#858)
    • Create com.uber.nullaway.generics package (#855)
    • Clarifications and small fixes for checking JSpecify @Nullable annotation (#859)
    • Apply minor cleanups suggested by IntelliJ in generics code (#860)

NullAway 0.10.16

01 Nov 21:51
Compare
Choose a tag to compare

NOTE: Maven Central signing key rotated for this release following a revocation.

  • Minor cleanup in AccessPathElement (#851)
  • Support for JSpecify's 0.3.0 annotation [experimental]
    • JSpecify: handle return types of method references in Java Generics (#847)
    • JSpecify: handle Nullability for lambda expression parameters for Generic Types (#852)
    • JSpecify: Modify Array Type Use Annotation Syntax (#850)
    • JSpecify: handle Nullability for return types of lambda expressions for Generic Types (#854)
  • Build / CI tooling for NullAway itself:
    • Update to Gradle 8.4 and Error Prone 2.23.0 (#849)

NullAway 0.10.15

19 Oct 04:16
Compare
Choose a tag to compare
  • [IMPORTANT] Update minimum Error Prone version and Guava version (#843)
    NullAway now requires Error Prone 2.10.0 or later
  • Add Spring mock/testing annotations to excluded field annotation list (#757)
  • Update to Checker Framework 3.39.0 (#839) [Support for JDK 21 constructs]
  • Support for JSpecify's 0.3.0 annotation [experimental]
    • Properly check generic method overriding in explicitly-typed anonymous classes (#808)
    • JSpecify: handle incorrect method parameter nullability for method reference (#845)
    • JSpecify: initial handling of generic enclosing types for inner classes (#837)
  • Build / CI tooling for NullAway itself:
    • Update Gradle and a couple of plugin versions (#832)
    • Run recent JDK tests on JDK 21 (#834)
    • Fix which JDKs are installed on CI (#835)
    • Update to Error Prone 2.22.0 (#833)
    • Ignore code coverage for method executed non-deterministically in tests (#838 and #844)
    • Build NullAway with JSpecify mode enabled (#841)

NullAway 0.10.14

07 Sep 18:55
Compare
Choose a tag to compare

IMPORTANT: This version introduces EXPERIMENTAL JDK 21 support.

  • Bump Checker Framework dependency to 3.38.0 (#819)
    • Note: Not just an internal implementation change. Needed to support JDK 21!
  • Treat parameter of generated Record.equals() methods as @Nullable (#825)
  • Build / CI tooling for NullAway itself:
    • Fixes Codecov Report Expired error (#821)
    • Updated Readme.md with Codecov link (#823)
    • Remove ASM-related hack in build config (#824)
    • Run tests on JDK 21 (#826)