Skip to content

Commit ba050b0

Browse files
chore(deps): update dependency com.uber.nullaway:nullaway to v0.14.2 (#2500)
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [com.uber.nullaway:nullaway](https://redirect.github.com/uber/NullAway) | `0.14.1` → `0.14.2` | ![age](https://developer.mend.io/api/mc/badges/age/maven/com.uber.nullaway:nullaway/0.14.2?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.uber.nullaway:nullaway/0.14.1/0.14.2?slim=true) | --- ### Release Notes <details> <summary>uber/NullAway (com.uber.nullaway:nullaway)</summary> ### [`v0.14.2`](https://redirect.github.com/uber/NullAway/blob/HEAD/CHANGELOG.md#Version-0142) [Compare Source](https://redirect.github.com/uber/NullAway/compare/v0.14.1...v0.14.2) This release adds `JSpecifyUnrecognizedAnnotationLocation`, an opt-in check that reports nullness annotations in locations JSpecify does not recognize. See further documentation on the wiki: <https://github.com/uber/NullAway/wiki/JSpecify-Support#jspecifyunrecognizedannotationlocation-checker> Not packaged in the release, but we have also added a script to remove unnecessary NullAway suppressions to the repo: <https://github.com/uber/NullAway/tree/master/scripts/nullaway-suppression-remover> We expect this to be a useful script to run after NullAway updates, to check if NullAway improvements make some suppressions unnecessary. Also of note, NullAway now more precisely detects whether the JDK used for the build properly supports reading type use annotations from bytecode, particularly important for JSpecify mode. This may lead NullAway to crash on certain build configurations that were unsupported before but we were not detecting precisely. Beyond the above, this release includes further fixes for JSpecify mode and JSpecifyExperimental, especially for wildcard bounds and multi-dimensional arrays, along with other bug fixes. Finally, we have re-enabled pushing snapshot builds to the Sonatype snapshots repository, which should ease testing NullAway versions between releases. - Small optimization for stream handlers ([#&#8203;1774](https://redirect.github.com/uber/NullAway/issues/1774)) - Check wildcard generics handling flag for enhanced for loops ([#&#8203;1786](https://redirect.github.com/uber/NullAway/issues/1786)) - Cover anonymous class type arguments and modeled call-site returns by [@&#8203;vlsi](https://redirect.github.com/vlsi) ([#&#8203;1777](https://redirect.github.com/uber/NullAway/issues/1777)) - Write the full encoded byte array when serializing TSV/XML rows [#&#8203;1788](https://redirect.github.com/uber/NullAway/issues/1788) by [@&#8203;AzazelSensei](https://redirect.github.com/AzazelSensei) ([#&#8203;1798](https://redirect.github.com/uber/NullAway/issues/1798)) - Fix [@&#8203;RequiresNonNull](https://redirect.github.com/RequiresNonNull) override error message to list the extra fields added by the child method by [@&#8203;Beluomini](https://redirect.github.com/Beluomini) ([#&#8203;1751](https://redirect.github.com/uber/NullAway/issues/1751)) - Model Stream.takeWhile (+ reactive equivalents) like .filter by [@&#8203;jeffrey-easyesi](https://redirect.github.com/jeffrey-easyesi) ([#&#8203;1809](https://redirect.github.com/uber/NullAway/issues/1809)) - Add `JSpecifyUnrecognizedAnnotationLocation`, an opt-in check that reports nullness annotations in locations JSpecify does not recognize by [@&#8203;vlsi](https://redirect.github.com/vlsi) ([#&#8203;1787](https://redirect.github.com/uber/NullAway/issues/1787)) - Detect support for the addTypeAnnotationsToSymbol flag on JDK 17 / 21 ([#&#8203;1794](https://redirect.github.com/uber/NullAway/issues/1794)) - Fix `RequireExplicitNullMarking` diagnostics repeating the check name, so a report no longer begins with `[RequireExplicitNullMarking] [RequireExplicitNullMarking]` by [@&#8203;vlsi](https://redirect.github.com/vlsi) ([#&#8203;1815](https://redirect.github.com/uber/NullAway/issues/1815)) - Less conservative handling of raw array types ([#&#8203;1807](https://redirect.github.com/uber/NullAway/issues/1807)) - Fix crasher example from Caffeine ([#&#8203;1820](https://redirect.github.com/uber/NullAway/issues/1820)) - Add a script to remove unnecessary NullAway suppressions ([#&#8203;1803](https://redirect.github.com/uber/NullAway/issues/1803)) - Use LinkedHashMap / LinkedHashSet for determinism ([#&#8203;1796](https://redirect.github.com/uber/NullAway/issues/1796)) - Prevent classloader closure from interrupting stubx reads ([#&#8203;1830](https://redirect.github.com/uber/NullAway/issues/1830)) - Preserve non-null type variables through wildcard capture ([#&#8203;1837](https://redirect.github.com/uber/NullAway/issues/1837)) - Treat Maven plugin parameters as externally initialized by [@&#8203;ZedingZhang](https://redirect.github.com/ZedingZhang) ([#&#8203;1848](https://redirect.github.com/uber/NullAway/issues/1848)) - Do not treat type variables from the caller as inference variables ([#&#8203;1824](https://redirect.github.com/uber/NullAway/issues/1824)) - Prevent recursion on self-referential wildcard bounds during inference by [@&#8203;adityaanikam](https://redirect.github.com/adityaanikam) ([#&#8203;1843](https://redirect.github.com/uber/NullAway/issues/1843)) - Avoid stale wildcard bounds after javac supertype inspection ([#&#8203;1849](https://redirect.github.com/uber/NullAway/issues/1849)) - Preserve contextual bounds for recursive wildcard captures ([#&#8203;1853](https://redirect.github.com/uber/NullAway/issues/1853)) - Restore effective wildcard upper bounds for invocation types ([#&#8203;1855](https://redirect.github.com/uber/NullAway/issues/1855)) - Preserve wildcard component types for array element assignments ([#&#8203;1857](https://redirect.github.com/uber/NullAway/issues/1857)) - Lazily allocate maps to detect wildcard cycles ([#&#8203;1888](https://redirect.github.com/uber/NullAway/issues/1888)) - Preserve all dimensions of multi-dimensional array creation expressions in JSpecify mode by [@&#8203;dbwiddis](https://redirect.github.com/dbwiddis) ([#&#8203;1711](https://redirect.github.com/uber/NullAway/issues/1711)) - Fix false positives for Spring SpEL expressions using `null` in comparisons by [@&#8203;Beluomini](https://redirect.github.com/Beluomini) ([#&#8203;1750](https://redirect.github.com/uber/NullAway/issues/1750)) - Apply covariant array subtyping at every dimension by [@&#8203;dbwiddis](https://redirect.github.com/dbwiddis) ([#&#8203;1889](https://redirect.github.com/uber/NullAway/issues/1889)) - Maintenance - Remove outdated Spark test ([#&#8203;1772](https://redirect.github.com/uber/NullAway/issues/1772)) - Disable Jacoco by default ([#&#8203;1773](https://redirect.github.com/uber/NullAway/issues/1773)) - Document MethodRef overload signatures in the sample library model [#&#8203;1016](https://redirect.github.com/uber/NullAway/issues/1016) by [@&#8203;AzazelSensei](https://redirect.github.com/AzazelSensei) ([#&#8203;1779](https://redirect.github.com/uber/NullAway/issues/1779)) - Migrate CoreTests to addSourceLines by [@&#8203;abdeltaehass](https://redirect.github.com/abdeltaehass) ([#&#8203;1765](https://redirect.github.com/uber/NullAway/issues/1765)) - Fix builds from a linked git worktree by skipping installGitHooks by [@&#8203;vlsi](https://redirect.github.com/vlsi) ([#&#8203;1776](https://redirect.github.com/uber/NullAway/issues/1776)) - Add tests for JPA mixed access type and anonymous-class callbacks in Map.forEach by [@&#8203;Beluomini](https://redirect.github.com/Beluomini) ([#&#8203;1752](https://redirect.github.com/uber/NullAway/issues/1752)) - Add test case for issue [#&#8203;1799](https://redirect.github.com/uber/NullAway/issues/1799) ([#&#8203;1806](https://redirect.github.com/uber/NullAway/issues/1806)) - Document PR squash merging and commit headline style in AGENTS.md by [@&#8203;vlsi](https://redirect.github.com/vlsi) ([#&#8203;1810](https://redirect.github.com/uber/NullAway/issues/1810)) - Require an `Assisted-by:` commit trailer for AI-assisted work by [@&#8203;vlsi](https://redirect.github.com/vlsi) ([#&#8203;1811](https://redirect.github.com/uber/NullAway/issues/1811)) - Set up zizmor-action by [@&#8203;ZedingZhang](https://redirect.github.com/ZedingZhang) ([#&#8203;1816](https://redirect.github.com/uber/NullAway/issues/1816)) - Tweak CI configuration to prepare for enabling merge queue ([#&#8203;1818](https://redirect.github.com/uber/NullAway/issues/1818)) - Set up Renovate and validate its configuration in CI by [@&#8203;vlsi](https://redirect.github.com/vlsi) ([#&#8203;1827](https://redirect.github.com/uber/NullAway/issues/1827)) - Move compilation-unit cleanup out of class matching ([#&#8203;1831](https://redirect.github.com/uber/NullAway/issues/1831)) - Store the nullness analysis in a NullAway field instead of the javac context by [@&#8203;abdeltaehass](https://redirect.github.com/abdeltaehass) ([#&#8203;1832](https://redirect.github.com/uber/NullAway/issues/1832)) - Print the failure message and stack trace for a failing test ([#&#8203;1835](https://redirect.github.com/uber/NullAway/issues/1835)) - Add `Assisted-by:` text to the PR template and CONTRIBUTING.md ([#&#8203;1838](https://redirect.github.com/uber/NullAway/issues/1838)) - Remove code using `getRawTypeAttributes` in `GenericsChecks` ([#&#8203;1844](https://redirect.github.com/uber/NullAway/issues/1844)) - Replace deprecated `addSourceFile` calls in AndroidTest by [@&#8203;jabrailkhalil](https://redirect.github.com/jabrailkhalil) ([#&#8203;1839](https://redirect.github.com/uber/NullAway/issues/1839)) - Test NullAway on JDK 27 ([#&#8203;1852](https://redirect.github.com/uber/NullAway/issues/1852)) - Update to Gradle 9.7.1 ([#&#8203;1858](https://redirect.github.com/uber/NullAway/issues/1858)) - Harden GCP benchmark workspace handling ([#&#8203;1865](https://redirect.github.com/uber/NullAway/issues/1865)) - Update GitHub Actions and zizmor-action ([#&#8203;1860](https://redirect.github.com/uber/NullAway/issues/1860), [#&#8203;1861](https://redirect.github.com/uber/NullAway/issues/1861)) - Update Checker Framework dependencies ([#&#8203;1863](https://redirect.github.com/uber/NullAway/issues/1863), [#&#8203;1869](https://redirect.github.com/uber/NullAway/issues/1869)) - Update build plugins ([#&#8203;1864](https://redirect.github.com/uber/NullAway/issues/1864), [#&#8203;1868](https://redirect.github.com/uber/NullAway/issues/1868), [#&#8203;1873](https://redirect.github.com/uber/NullAway/issues/1873), [#&#8203;1874](https://redirect.github.com/uber/NullAway/issues/1874)) - Update library and test dependencies ([#&#8203;1866](https://redirect.github.com/uber/NullAway/issues/1866), [#&#8203;1867](https://redirect.github.com/uber/NullAway/issues/1867), [#&#8203;1870](https://redirect.github.com/uber/NullAway/issues/1870), [#&#8203;1871](https://redirect.github.com/uber/NullAway/issues/1871), [#&#8203;1872](https://redirect.github.com/uber/NullAway/issues/1872), [#&#8203;1876](https://redirect.github.com/uber/NullAway/issues/1876), [#&#8203;1877](https://redirect.github.com/uber/NullAway/issues/1877), [#&#8203;1879](https://redirect.github.com/uber/NullAway/issues/1879), [#&#8203;1880](https://redirect.github.com/uber/NullAway/issues/1880), [#&#8203;1881](https://redirect.github.com/uber/NullAway/issues/1881), [#&#8203;1882](https://redirect.github.com/uber/NullAway/issues/1882), [#&#8203;1883](https://redirect.github.com/uber/NullAway/issues/1883)) - Remove the versions plugin ([#&#8203;1886](https://redirect.github.com/uber/NullAway/issues/1886)) - Update the Caffeine JMH benchmark to 3.3.0 and re-enable its compilation test by [@&#8203;abdeltaehass](https://redirect.github.com/abdeltaehass) ([#&#8203;1887](https://redirect.github.com/uber/NullAway/issues/1887)) - Publish snapshots to Maven Central ([#&#8203;1890](https://redirect.github.com/uber/NullAway/issues/1890)) - Add missing dependencies for the Maven Central shadow publication task ([#&#8203;1891](https://redirect.github.com/uber/NullAway/issues/1891)) - Add a workflow for cutting releases ([#&#8203;1892](https://redirect.github.com/uber/NullAway/issues/1892)) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/prometheus/client_java). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMTIuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjExMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent c99d85a commit ba050b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@
482482
<path>
483483
<groupId>com.uber.nullaway</groupId>
484484
<artifactId>nullaway</artifactId>
485-
<version>0.14.1</version>
485+
<version>0.14.2</version>
486486
</path>
487487
</annotationProcessorPaths>
488488
</configuration>

0 commit comments

Comments
 (0)