Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency com.uber.nullaway:nullaway to v0.12.3 #32

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 20, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.uber.nullaway:nullaway 0.10.16 -> 0.12.3 age adoption passing confidence

Release Notes

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

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

  • Add library model for Apache Commons CollectionUtils.isNotEmpty (#​932) (#​1062)
  • Handle records in targetTypeMatches (#​1061)

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)

v0.11.2

  • JSpecify: add another bailout check for raw types (#​1021)
  • JSpecify: handle intersection type in one place (#​1015)
  • JSpecify: fix for crash with wildcard types (#​1020)
  • Maintenance:

v0.11.1

  • Fix issue 1008 (#​1009)
  • JSpecify: read upper bound annotations from bytecode and add tests (#​1004)
  • Fix crash with suggested suppressions in JSpecify mode (#​1001)
  • Update to JSpecify 1.0 and use JSpecify annotations in NullAway code (#​1000)
  • Expose @​EnsuresNonNull and @​RequiresNonNull in annotations package (#​999)
  • Don't report initializer warnings on @​NullUnmarked constructors / methods (#​997)
  • Strip annotations from MethodSymbol strings (#​993)
  • JSpecify: fix crashes where declared parameter / return types were raw (#​989)
  • JSpecify: Handle @​nullable elements for enhanced-for-loops on arrays (#​986)
  • Features/944 tidy stream nullability propagator (#​985)
  • Tests for loops over arrays (#​982)
  • Bug fixes for array subtyping at returns / parameter passing (#​980)
  • JSpecify: Handle @​nonnull elements in @​nullable content arrays (#​963)
  • Don't report @​nullable type argument errors for unmarked classes (#​958)
  • External Library Models: Adding support for Nullable upper bounds of Generic Type parameters (#​949)
  • Refactoring / code cleanups:
    • Test on JDK 22 (#​992)
    • Add test case for @​nullable Void with override in JSpecify mode (#​990)
    • Enable UnnecessaryFinal and PreferredInterfaceType EP checks (#​991)
    • Add missing @​test annotation (#​988)
    • Fix typo in variable name (#​987)
    • Remove AbstractConfig class (#​974)
    • Fix Javadoc for MethodRef (#​973)
    • Refactored data clumps with the help of LLMs (research project) (#​960)
  • Build / CI tooling maintenance:
    • Various cleanups enabled by bumping minimum Java and Error Prone versions (#​962)
    • Disable publishing of snapshot builds from CI (#​967)
    • Update Gradle action usage in CI workflow (#​969)
    • Update Gradle config to always compile Java code using JDK 17 (#​971)
    • Update JavaParser to 3.26.0 (#​970)
    • Reenable JMH benchmarking in a safer manner (#​975)
    • Updated JMH Benchmark Comment Action (#​976)
    • Update to Gradle 8.8 (#​981)
    • Update to Error Prone 2.28.0 (#​984)
    • Update to Gradle 8.9 (#​998)
    • Update to WALA 1.6.6 (#​1003)

v0.11.0

IMPORTANT: Support for JDK 8 is dropped and NullAway now requires 2.14.0 or higher.

  • Delete OptionalEmptinessHandler method that is no longer needed (#​954)
  • Refactor PreservedAnnotationTreeVisitor (#​955)
  • Update to Error Prone 2.27.1 (#​957)
  • JSpecify subtyping checks for arrays (#​956)
  • Bump to Checker Framework 3.43.0 (#​959)
  • Drop Java 8 support (#​961)

v0.10.26

  • External Library Models Integration (#​922)
  • Rename test classes (#​951)
  • Propagate more nullability info to lambdas known to be invoked synchronously (#​952)

v0.10.25

  • JSpecify: Handle @​nullable assignments to @​nonnull arrays (#​929)
  • Handle JDK 21 case operands in type refinement (#​928)
  • Track access paths of the form Foo.this.bar (#​937)
  • Add test for boolean contract with extra message argument (#​945)
  • Collectors.toMap handling for streams (#​938)
  • Handle methods that fail unconditionally in ContractHandler (#​946)
  • Build / CI tooling upgrades:
    • Update various dependencies (#​939)

v0.10.24

  • Add library model for Files.isDirectory (#​913)
  • JSpecify test case for generic methods (#​918)
  • Check dereference of qualifier expression in method reference (#​920)
  • JSpecify: skip checking when type is primitive (#​924)
  • Fix another JSpecify raw type issue (#​925)
  • Fix handling of references to methods of array types and type variables (#​926)
  • Build / CI / Documentation upgrades/fixes:
    • Fix lombok config example more correctly on README (#​911)
    • Update to Gradle 8.6 (#​914)
    • Update to Error Prone 2.25.0 (#​916)
    • Add codecov token (#​921)

v0.10.23

  • 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)

v0.10.22

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)

v0.10.21

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)

v0.10.20

  • 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)

v0.10.19

  • 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)

v0.10.18

  • Fix assertion check for structure of enhanced-for loop over a Map keySet (#​868)

v0.10.17

  • 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)

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 November 20, 2023 04:06
@renovate renovate bot changed the title fix(deps): update dependency com.uber.nullaway:nullaway to v0.10.17 fix(deps): update dependency com.uber.nullaway:nullaway to v0.10.18 Nov 30, 2023
@renovate renovate bot force-pushed the renovate/com.uber.nullaway-nullaway-0.x branch from 99eec2a to 641248f Compare November 30, 2023 21:32
@renovate renovate bot force-pushed the renovate/com.uber.nullaway-nullaway-0.x branch from 641248f to 6db2103 Compare December 27, 2023 21:55
@renovate renovate bot changed the title fix(deps): update dependency com.uber.nullaway:nullaway to v0.10.18 fix(deps): update dependency com.uber.nullaway:nullaway to v0.10.19 Dec 27, 2023
@renovate renovate bot changed the title fix(deps): update dependency com.uber.nullaway:nullaway to v0.10.19 fix(deps): update dependency com.uber.nullaway:nullaway to v0.10.20 Jan 12, 2024
@renovate renovate bot force-pushed the renovate/com.uber.nullaway-nullaway-0.x branch 2 times, most recently from 09b8c62 to d399360 Compare January 14, 2024 05:31
@renovate renovate bot changed the title fix(deps): update dependency com.uber.nullaway:nullaway to v0.10.20 fix(deps): update dependency com.uber.nullaway:nullaway to v0.10.21 Jan 14, 2024
@renovate renovate bot changed the title fix(deps): update dependency com.uber.nullaway:nullaway to v0.10.21 fix(deps): update dependency com.uber.nullaway:nullaway to v0.10.22 Jan 29, 2024
@renovate renovate bot force-pushed the renovate/com.uber.nullaway-nullaway-0.x branch from d399360 to 488622f Compare January 29, 2024 23:09
@renovate renovate bot force-pushed the renovate/com.uber.nullaway-nullaway-0.x branch from 488622f to a84430e Compare February 15, 2024 18:35
@renovate renovate bot changed the title fix(deps): update dependency com.uber.nullaway:nullaway to v0.10.22 fix(deps): update dependency com.uber.nullaway:nullaway to v0.10.23 Feb 15, 2024
@renovate renovate bot changed the title fix(deps): update dependency com.uber.nullaway:nullaway to v0.10.23 fix(deps): update dependency com.uber.nullaway:nullaway to v0.10.24 Mar 4, 2024
@renovate renovate bot force-pushed the renovate/com.uber.nullaway-nullaway-0.x branch from a84430e to 6c77cd8 Compare March 4, 2024 20:02
@renovate renovate bot changed the title fix(deps): update dependency com.uber.nullaway:nullaway to v0.10.24 fix(deps): update dependency com.uber.nullaway:nullaway to v0.10.25 Mar 29, 2024
@renovate renovate bot force-pushed the renovate/com.uber.nullaway-nullaway-0.x branch from 6c77cd8 to 4d3a70a Compare March 29, 2024 17:26
@renovate renovate bot force-pushed the renovate/com.uber.nullaway-nullaway-0.x branch from 4d3a70a to fc70a3b Compare May 3, 2024 15:15
@renovate renovate bot changed the title fix(deps): update dependency com.uber.nullaway:nullaway to v0.10.25 fix(deps): update dependency com.uber.nullaway:nullaway to v0.10.26 May 3, 2024
@renovate renovate bot force-pushed the renovate/com.uber.nullaway-nullaway-0.x branch from fc70a3b to 1aeed41 Compare June 1, 2024 03:26
@renovate renovate bot changed the title fix(deps): update dependency com.uber.nullaway:nullaway to v0.10.26 fix(deps): update dependency com.uber.nullaway:nullaway to v0.11.0 Jun 1, 2024
@renovate renovate bot force-pushed the renovate/com.uber.nullaway-nullaway-0.x branch from 1aeed41 to 52b1bb0 Compare July 29, 2024 21:20
@renovate renovate bot changed the title fix(deps): update dependency com.uber.nullaway:nullaway to v0.11.0 fix(deps): update dependency com.uber.nullaway:nullaway to v0.11.1 Jul 29, 2024
@renovate renovate bot force-pushed the renovate/com.uber.nullaway-nullaway-0.x branch from 52b1bb0 to 75903b3 Compare August 19, 2024 22:55
@renovate renovate bot changed the title fix(deps): update dependency com.uber.nullaway:nullaway to v0.11.1 fix(deps): update dependency com.uber.nullaway:nullaway to v0.11.2 Aug 19, 2024
@renovate renovate bot force-pushed the renovate/com.uber.nullaway-nullaway-0.x branch from 75903b3 to a51e98d Compare September 16, 2024 15:19
@renovate renovate bot changed the title fix(deps): update dependency com.uber.nullaway:nullaway to v0.11.2 fix(deps): update dependency com.uber.nullaway:nullaway to v0.11.3 Sep 16, 2024
@renovate renovate bot force-pushed the renovate/com.uber.nullaway-nullaway-0.x branch from a51e98d to 3beb577 Compare October 18, 2024 17:21
@renovate renovate bot changed the title fix(deps): update dependency com.uber.nullaway:nullaway to v0.11.3 fix(deps): update dependency com.uber.nullaway:nullaway to v0.12.0 Oct 18, 2024
@renovate renovate bot force-pushed the renovate/com.uber.nullaway-nullaway-0.x branch from 3beb577 to 8b4ca44 Compare October 28, 2024 17:44
@renovate renovate bot changed the title fix(deps): update dependency com.uber.nullaway:nullaway to v0.12.0 fix(deps): update dependency com.uber.nullaway:nullaway to v0.12.1 Oct 28, 2024
@renovate renovate bot force-pushed the renovate/com.uber.nullaway-nullaway-0.x branch from 8b4ca44 to 093c594 Compare December 13, 2024 20:04
@renovate renovate bot changed the title fix(deps): update dependency com.uber.nullaway:nullaway to v0.12.1 fix(deps): update dependency com.uber.nullaway:nullaway to v0.12.2 Dec 13, 2024
@renovate renovate bot force-pushed the renovate/com.uber.nullaway-nullaway-0.x branch from 093c594 to 79999f7 Compare January 6, 2025 17:07
@renovate renovate bot changed the title fix(deps): update dependency com.uber.nullaway:nullaway to v0.12.2 fix(deps): update dependency com.uber.nullaway:nullaway to v0.12.3 Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants