Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 16, 2024

This PR contains the following updates:

Package Change Age Confidence
com.uber.nullaway:nullaway 0.11.2 -> 0.12.10 age confidence

Release Notes

uber/NullAway (com.uber.nullaway:nullaway)

v0.12.10

This release contains significant improvements to inference support for generic method calls in JSpecify mode (#​1075).
We expect that many more valid calls will pass NullAway, but that some new bugs may have been introduced. Please report
any issues that you see. There is also a new flag, -XepOpt:NullAway:WarnOnGenericInferenceFailure to make NullAway
report a warning when inference fails, to help identify any issues.

  • Improved inference for generic method calls (#​1244)
  • Suppress CastToNonNull warnings for @NullUnmarked method calls by @​raccoonback (#​1258)
  • JSpecify: Fix crash when overriding with raw types (#​1265)
  • Better handle calls to super constructors and superclass methods in JSpecify mode (#​1248)
  • issue-1250 pattern matching for instanceof in switch case by @​dhruv-agr (#​1259)
  • Account for annotations in extends / implements when computing view as supertype (#​1266)
  • Bug fix with type substitutions after inference (#​1277)
  • JSpecify: Improve error messages for type incompatibility at pseudo-assignments (#​1279)
  • Support java.util.Objects.toString() by @​gulikoza (#​1283)
  • Record when generic method inference fails (#​1280)
  • issue 1275 - report unboxing warning for for-each loop by @​dhruv-agr (#​1281)
  • Abstract iterating over invocation arguments (#​1284)
  • Invoke generic method inference in more places (#​1286)
  • Maintenance
    • Build Spring with snapshot build as a CI job (#​1251)
    • Add more instance fields to GenericsChecks (#​1256)
    • remove unneeded checkNotCall call (#​1257)
    • Fail build on JDK 21 versions before 21.0.8 (#​1261)
    • Clarify JDK version to use for best JSpecify support (#​1269)
    • Simplified set of CI jobs (#​1271)
    • Build: upgrade to Gradle 9 + AGP 8.7.2 (#​1270)
    • Compile with JDK 24 (#​1276)
    • Don't use deprecated buildDir by @​mernst (#​1278)

v0.12.9

  • Add a case in our inference for generic method calls (#​1240)
  • Add library model for Apache Commons CollectionUtils.isNotEmpty, Amazon CollectionUtils.IsNullOrEmpty, and a couple Amazon StringUtils methods (#​1242)
  • Maintenance

v0.12.8

  • Document interactions between Guava and JSpecify mode in README (#​1208)
  • JSpecify: handle nullness annotations from extends / inherits clauses (#​1211)
  • Allowing NewClassTree to be passed into getGenericParameterNullnessAtInvocation (#​1210)
  • Support @​NullMarked on modules (#​1216)
  • Handle NewClassTree in compareGenericTypeParameterNullabilityForCall(#​1212) (#​1217)
  • More flexible handling of AssertJ isNotNull methods (#​1221)
  • Support AssertJ hasSize() (#​1229)
  • Inference of generic method type arguments based on returns and parameter passing (#​1226)
  • Prototype implementation of javac plugin to serialize nullness annotations (#​1225)
  • Add AdditionalSuppressionNames configuration option (#​1231)
  • Updates to deploy releases to Central Portal (#​1234)
  • Fix to handling of case null (#​1235)
  • Maintenance
    • Update to Gradle 8.14 (#​1213)
    • Update to Error Prone 2.39.0 (#​1228)
    • Fix broken link to Eradicate in README.md (#​1227)

v0.12.7

  • Update to Checker Framework 3.49.2 (#​1183)
  • Don't check synchronized blocks within unannotated code (#​1185)
  • Test on JDK 24 (#​1187)
  • Fix multiple issues with NewClassTrees that have enclosing expressions (#​1191)
  • Ensure classes null-marked by library model detected in all places (#​1197)
  • JSpecify: handle varargs whose element type is a type variable (#​1200)
  • Update to Error Prone 2.38.0 (#​1203)
  • Optimization to annotation stripping in library model matching (#​1204)
  • Make arg position nullness array contents nullable (#​1207)
  • Properly handle method references to null-unmarked methods (#​1205)

v0.12.6

  • JSpecify: view type as super in generic method inference (#​1177)
  • Infer @​Nullable type arguments for type variables from unmarked code (#​1181)
  • Convert android-jar.py to Python 3 (#​1175)
  • Suggest castToNonNull fix for unboxing error (#​1182)

v0.12.5

v0.12.4

  • Better @MonotonicNonNull support (#​1149)
  • Add support for local variables for arrays. (#​1146)
  • Ignore Spring Framework 6.2 @MockitoBean, @MockitoSpyBean fields (#​1147)
  • JSpecify: preserve explicit nullability annotations on type variables when performing substitutions (#​1143)
  • Always acknowledge restrictive annotations in JSpecify mode (#​1144)
  • Fix printing of array types in JSpecify errors (#​1145)
  • Remove need to use JSpecify's @​Nullable annotation (#​1142)
  • Handle calls to generic constructors in JSpecify mode (#​1141)
  • Properly handle conditional expression within parens as RHS of assignment (#​1140)
  • Skip checks involving wildcard generic type arguments (#​1137)
  • Update to Gradle 8.12.1 (#​1133)

v0.12.3

  • Remove InferredJARModelsHandler (#​1079)
  • Fix crash with annotation on enum (#​1097)
  • Handle case null in switch statements (#​1100)
  • Don't report errors for writes to @​NullUnmarked fields (#​1102)
  • Support primitive static final fields as constant args in access paths (#​1105)
  • Fix issue with annotations in module-info.java files (#​1109)
  • Report error for @​nullable synchronized block expression (#​1106)
  • Add support for parameter types with wildcards for JarInfer (#​1107)
  • Properly handle nested generics and multiple wildcard type args in JarInfer (#​1114)
  • Proper checking of vararg overrides with JSpecify annotations (#​1116)
  • Add flag to indicate only @​NullMarked code should be checked (#​1117)
  • Add support for static fields in contracts (#​1118)
  • Maintenance
    • Fix comment positions (#​1098)
    • [refactoring] Wrap calls to Types.subst and Types.memberType (#​1115)
    • Build latest Caffeine on CI (#​1111)

v0.12.2

  • Fix reading of JSpecify @​nullable annotations from varargs parameter in bytecode (#​1089)
  • Fix JarInfer handling of generic types (#​1078)
  • Fix another JSpecify mode crash involving raw types (#​1086)
  • Fix bugs in handling of valueOf calls for map keys (#​1085)
  • Suggest correct fix when array component of non-nullable array is made null. (#​1087)
  • Substitute type arguments when checking type parameter nullability at call site (#​1070)
  • Fix JarInfer parameter indexes for instance methods (#​1071)
  • JSpecify mode: initial support for generic methods (with explicit type arguments at calls) (#​1053)
  • Maintenance
    • Update to latest Error Prone and Error Prone Gradle plugin (#​1064)
    • Refactor serialization adapter retrieval by version (#​1066)
    • Remove fixes.tsv serialization from NullAway serialization service (#​1063)
    • Enable javac -parameters flag (#​1069)
    • Update to Gradle 8.11 (#​1073)
    • Add test for issue 1035 (#​1074)
    • remove use of deprecated Gradle API (#​1076)
    • Update to Error Prone 2.36.0 (#​1077)

v0.12.1

This release contains significant improvements to inference support for generic method calls in JSpecify mode (#​1075).
We expect that many more valid calls will pass NullAway, but that some new bugs may have been introduced. Please report
any issues that you see. There is also a new flag, -XepOpt:NullAway:WarnOnGenericInferenceFailure to make NullAway
report a warning when inference fails, to help identify any issues.

  • Improved inference for generic method calls (#​1244)
  • Suppress CastToNonNull warnings for @NullUnmarked method calls by @​raccoonback (#​1258)
  • JSpecify: Fix crash when overriding with raw types (#​1265)
  • Better handle calls to super constructors and superclass methods in JSpecify mode (#​1248)
  • issue-1250 pattern matching for instanceof in switch case by @​dhruv-agr (#​1259)
  • Account for annotations in extends / implements when computing view as supertype (#​1266)
  • Bug fix with type substitutions after inference (#​1277)
  • JSpecify: Improve error messages for type incompatibility at pseudo-assignments (#​1279)
  • Support java.util.Objects.toString() by @​gulikoza (#​1283)
  • Record when generic method inference fails (#​1280)
  • issue 1275 - report unboxing warning for for-each loop by @​dhruv-agr (#​1281)
  • Abstract iterating over invocation arguments (#​1284)
  • Invoke generic method inference in more places (#​1286)
  • Maintenance
    • Build Spring with snapshot build as a CI job (#​1251)
    • Add more instance fields to GenericsChecks (#​1256)
    • remove unneeded checkNotCall call (#​1257)
    • Fail build on JDK 21 versions before 21.0.8 (#​1261)
    • Clarify JDK version to use for best JSpecify support (#​1269)
    • Simplified set of CI jobs (#​1271)
    • Build: upgrade to Gradle 9 + AGP 8.7.2 (#​1270)
    • Compile with JDK 24 (#​1276)
    • Don't use deprecated buildDir by @​mernst (#​1278)

v0.12.0

IMPORTANT:

  • We now by default check/enforce that pure type-use annotations from JSpecify are written in the "right place" on array types, varargs types, and nested types. More
    details can be found in the wiki.
    We also expose -XepOpt:NullAway:LegacyAnnotationLocations flag to disable this new
    behavior for now to ease the migration. We expect to remove this flag in a future version
    of NullAway.
  • We now support writing @​EnsuresNonNullIf on methods to capture cases where a method conditionally ensures that a field is @​NonNull. Thanks @​mauricioaniche for the contributions!

(The changelog below contains all changes from version 0.11.2, since version 0.11.3
contains only one cherry-picked PR from master).

  • Enforce Strict Interpretation Of Type Use Annotation Locations Outside of JSpecify mode (#​1010)
  • Update handling of annotations on varargs argument (#​1025)
  • Create basic unit tests for library model generation (#​1031)
  • Partial handling for restrictive annotations on varargs in unannotated code (#​1029)
  • Add missing source files in android-jarinfer-models-sdk modules (#​1033)
  • External Library Models: Adding support for @​nullable Method parameters (#​1006)
  • JDK 23 support (#​1034)
  • Support @​EnsuresNonNullIf (#​1044)
  • Update some Android astubx models (#​1052)
  • Remove unused or unneeded JarInfer flags (#​1050)
  • Enforce correct type-use annotation locations for nested types (#​1045)
  • Update Android SDK 31 astubx models (#​1054)
  • Fix bugs in reading varargs annotations from bytecodes (#​1055)
  • General maintenance:
    • Update to Gradle 8.10 (#​1023)
    • Update to Gradle 8.10.1 (#​1036)
    • Update to Error Prone 2.32.0 (#​1037)
    • Typo fix in README.md (#​1041)
    • Fix Gradle config instructions (#​1039)
    • Update to v4 of setup-gradle GitHub action (#​1043)
    • Add extra JVM args needed for JMH on recent JDK versions (#​1049)
    • Use HTTP instead of SSH for cloning repo for JMH Benchmarks (#​1056)
    • Various version updates (#​1051)
    • Update to Checker Framework 3.48.0 (#​1030)

v0.11.3

IMPORTANT: We have cherry-picked one PR in master since 0.11.2 for this release, it
does not contain all changes in master!

  • Add missing source files in android-jarinfer-models-sdk modules (#​1033)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from joshuasing as a code owner September 16, 2024 15:35
@renovate renovate bot added the type: dependencies This involves updating, adding or removing a dependency label Sep 16, 2024
@renovate renovate bot requested a review from LooFifteen as a code owner September 16, 2024 15:35
@renovate renovate bot changed the title chore(deps): update com.uber.nullaway:nullaway to v0.11.3 chore(deps): update com.uber.nullaway:nullaway to v0.12.0 Oct 18, 2024
@renovate renovate bot force-pushed the renovate/nullaway branch from 89c6b0a to e0fd0f8 Compare October 18, 2024 20:09
@renovate renovate bot force-pushed the renovate/nullaway branch 3 times, most recently from cb6fef8 to b309d02 Compare October 28, 2024 19:33
@renovate renovate bot changed the title chore(deps): update com.uber.nullaway:nullaway to v0.12.0 chore(deps): update com.uber.nullaway:nullaway to v0.12.1 Oct 28, 2024
@renovate renovate bot force-pushed the renovate/nullaway branch from b309d02 to 8402aac Compare December 2, 2024 10:06
@renovate renovate bot changed the title chore(deps): update com.uber.nullaway:nullaway to v0.12.1 chore(deps): update com.uber.nullaway:nullaway to v0.12.2 Dec 13, 2024
@renovate renovate bot force-pushed the renovate/nullaway branch from 8402aac to bfcfe54 Compare December 13, 2024 17:18
@renovate renovate bot force-pushed the renovate/nullaway branch from bfcfe54 to 8f0feea Compare January 6, 2025 17:37
@renovate renovate bot changed the title chore(deps): update com.uber.nullaway:nullaway to v0.12.2 chore(deps): update com.uber.nullaway:nullaway to v0.12.3 Jan 6, 2025
@renovate renovate bot force-pushed the renovate/nullaway branch from 8f0feea to b997687 Compare February 10, 2025 07:31
@renovate renovate bot force-pushed the renovate/nullaway branch from b997687 to ce5dcc6 Compare February 27, 2025 23:36
@renovate renovate bot changed the title chore(deps): update com.uber.nullaway:nullaway to v0.12.3 chore(deps): update com.uber.nullaway:nullaway to v0.12.4 Feb 27, 2025
@renovate renovate bot force-pushed the renovate/nullaway branch from ce5dcc6 to 3b5013c Compare March 26, 2025 07:37
@renovate renovate bot changed the title chore(deps): update com.uber.nullaway:nullaway to v0.12.4 chore(deps): update com.uber.nullaway:nullaway to v0.12.5 Mar 26, 2025
@renovate renovate bot changed the title chore(deps): update com.uber.nullaway:nullaway to v0.12.5 chore(deps): update com.uber.nullaway:nullaway to v0.12.6 Mar 27, 2025
@renovate renovate bot force-pushed the renovate/nullaway branch from 3b5013c to 3b62ddd Compare March 27, 2025 23:16
@renovate renovate bot force-pushed the renovate/nullaway branch from 3b62ddd to 4a3b516 Compare April 30, 2025 06:46
@renovate renovate bot changed the title chore(deps): update com.uber.nullaway:nullaway to v0.12.6 chore(deps): update com.uber.nullaway:nullaway to v0.12.7 Apr 30, 2025
@renovate renovate bot force-pushed the renovate/nullaway branch from 4a3b516 to e9f5ab9 Compare August 6, 2025 16:29
@renovate renovate bot changed the title chore(deps): update com.uber.nullaway:nullaway to v0.12.7 chore(deps): update com.uber.nullaway:nullaway to v0.12.8 Aug 6, 2025
@renovate renovate bot changed the title chore(deps): update com.uber.nullaway:nullaway to v0.12.8 chore(deps): update com.uber.nullaway:nullaway to v0.12.9 Aug 18, 2025
@renovate renovate bot force-pushed the renovate/nullaway branch from e9f5ab9 to 3582ff1 Compare August 18, 2025 20:36
@renovate renovate bot force-pushed the renovate/nullaway branch from 3582ff1 to 8dd0e0f Compare September 16, 2025 21:48
@renovate renovate bot changed the title chore(deps): update com.uber.nullaway:nullaway to v0.12.9 chore(deps): update com.uber.nullaway:nullaway to v0.12.10 Sep 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: dependencies This involves updating, adding or removing a dependency

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants