Skip to content

Commit 8ddaf8b

Browse files
Bump com.uber.nullaway:nullaway from 0.12.15 to 0.13.0 (#406)
Bumps [com.uber.nullaway:nullaway](https://github.com/uber/NullAway) from 0.12.15 to 0.13.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/uber/NullAway/releases">com.uber.nullaway:nullaway's releases</a>.</em></p> <blockquote> <h2>NullAway 0.13.0</h2> <p>NullAway now requires a minimum of JDK 17 and Error Prone 2.36.0 to run; we bump the version to 0.13.0 to reflect these updated requirements. There are also many improvements to JSpecify mode support, and several nice changes and improvements from first-time contributors.</p> <ul> <li>Support added for JUnit's <a href="https://github.com/TempDir"><code>@​TempDir</code></a> by <a href="https://github.com/romainmoreau"><code>@​romainmoreau</code></a> (<a href="https://redirect.github.com/uber/NullAway/issues/1387">#1387</a>)</li> <li>Use OptimizedLibraryModels for method type variable upper bounds (<a href="https://redirect.github.com/uber/NullAway/issues/1388">#1388</a>)</li> <li>Add <a href="https://github.com/InjectWireMock"><code>@​InjectWireMock</code></a> as known excluded field annotation (<a href="https://redirect.github.com/uber/NullAway/issues/1391">#1391</a>)</li> <li>Require JDK 17 to run NullAway (<a href="https://redirect.github.com/uber/NullAway/issues/1394">#1394</a>)</li> <li>Support adding nested nullability annotations in library models (<a href="https://redirect.github.com/uber/NullAway/issues/1407">#1407</a>)</li> <li>Add library model for AtomicReferenceFieldUpdater (<a href="https://redirect.github.com/uber/NullAway/issues/1409">#1409</a>)</li> <li>Correctly get parameter types for a lambda whose type was inferred (<a href="https://redirect.github.com/uber/NullAway/issues/1348">#1348</a>)</li> <li>Add Mockito annotations to default excluded field annotations by <a href="https://github.com/murdos"><code>@​murdos</code></a> (<a href="https://redirect.github.com/uber/NullAway/issues/1418">#1418</a>)</li> <li>Properly identify annotations directly on the array element type of a Symbol (<a href="https://redirect.github.com/uber/NullAway/issues/1419">#1419</a>)</li> <li>Update to Checker Framework 3.53.0 (<a href="https://redirect.github.com/uber/NullAway/issues/1429">#1429</a>)</li> <li>JSpecify: Apply annotations on type variables to lambdas in more cases (<a href="https://redirect.github.com/uber/NullAway/issues/1428">#1428</a>)</li> <li>Migrate AutoValue to Records by <a href="https://github.com/rishikraj990"><code>@​rishikraj990</code></a> (<a href="https://redirect.github.com/uber/NullAway/issues/1415">#1415</a>)</li> <li>Bump minimum Error Prone version to 2.36.0, and add detection of nullable dereference by switch expressions (<a href="https://redirect.github.com/uber/NullAway/issues/1427">#1427</a>)</li> <li>JSpecify: Improve handling of method references (<a href="https://redirect.github.com/uber/NullAway/issues/1430">#1430</a>)</li> <li>Allow suppressing nullaway on individual parameters by <a href="https://github.com/jackwickham"><code>@​jackwickham</code></a> (<a href="https://redirect.github.com/uber/NullAway/issues/1436">#1436</a>)</li> <li>Update jdk-javac-plugin to contain nested annotations by <a href="https://github.com/haewiful"><code>@​haewiful</code></a> (<a href="https://redirect.github.com/uber/NullAway/issues/1432">#1432</a>)</li> <li>Maintenance <ul> <li>Delete code to generate library models from source (<a href="https://redirect.github.com/uber/NullAway/issues/1385">#1385</a>)</li> <li>Refactor: Migration to Version Catalog completed by <a href="https://github.com/vitinh0z"><code>@​vitinh0z</code></a> (<a href="https://redirect.github.com/uber/NullAway/issues/1386">#1386</a>)</li> <li>Bump Gradle to 9.2.1 (<a href="https://redirect.github.com/uber/NullAway/issues/1392">#1392</a>)</li> <li>Update to Error Prone 2.45.0 (<a href="https://redirect.github.com/uber/NullAway/issues/1401">#1401</a>)</li> <li>Stop matching switch expression kind using strings (<a href="https://redirect.github.com/uber/NullAway/issues/1404">#1404</a>)</li> <li>Refactoring: clarify docs and naming for RestoreNullnessAnnotationsVisitor (<a href="https://redirect.github.com/uber/NullAway/issues/1406">#1406</a>)</li> <li>Refactoring: rename method and field (<a href="https://redirect.github.com/uber/NullAway/issues/1405">#1405</a>)</li> <li>Run NullAway on jdk-javac-plugin code (<a href="https://redirect.github.com/uber/NullAway/issues/1408">#1408</a>)</li> <li>Clarify comment in test (<a href="https://redirect.github.com/uber/NullAway/issues/1411">#1411</a>)</li> <li>Enable PatternMatchingInstanceOf check and fix all warnings (<a href="https://redirect.github.com/uber/NullAway/issues/1412">#1412</a>)</li> <li>Enable StatementSwitchToExpressionSwitch check and fix all warnings (<a href="https://redirect.github.com/uber/NullAway/issues/1413">#1413</a>)</li> <li>bump and remove some dependencies (<a href="https://redirect.github.com/uber/NullAway/issues/1414">#1414</a>)</li> <li>Update minimum supported Error Prone version to 2.25.0 (<a href="https://redirect.github.com/uber/NullAway/issues/1421">#1421</a>)</li> <li>Update CI to run builds on JDK 25 (<a href="https://redirect.github.com/uber/NullAway/issues/1422">#1422</a>)</li> <li>Various cleanups suggested by IntelliJ (<a href="https://redirect.github.com/uber/NullAway/issues/1423">#1423</a>)</li> <li>Convert test data in main NullAway tests to use text blocks (<a href="https://redirect.github.com/uber/NullAway/issues/1424">#1424</a>)</li> <li>Refactor CoreTests and UnannotatedTests to use addSourceLines and inline test data by <a href="https://github.com/cobayo"><code>@​cobayo</code></a> (<a href="https://redirect.github.com/uber/NullAway/issues/1426">#1426</a>)</li> <li>Refactor ContractsTests to use Java text blocks by <a href="https://github.com/cobayo"><code>@​cobayo</code></a> (<a href="https://redirect.github.com/uber/NullAway/issues/1435">#1435</a>)</li> <li>Update Error Prone and errorprone-plugin versions (<a href="https://redirect.github.com/uber/NullAway/issues/1434">#1434</a>)</li> </ul> </li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/uber/NullAway/blob/master/CHANGELOG.md">com.uber.nullaway:nullaway's changelog</a>.</em></p> <blockquote> <h2>Version 0.13.0</h2> <p>NullAway now requires a minimum of JDK 17 and Error Prone 2.36.0 to run; we bump the version to 0.13.0 to reflect these updated requirements. There are also many improvements to JSpecify mode support, and several nice changes and improvements from first-time contributors.</p> <ul> <li>Support added for JUnit's <a href="https://github.com/TempDir"><code>@​TempDir</code></a> by <a href="https://github.com/romainmoreau"><code>@​romainmoreau</code></a> (<a href="https://redirect.github.com/uber/NullAway/issues/1387">#1387</a>)</li> <li>Use OptimizedLibraryModels for method type variable upper bounds (<a href="https://redirect.github.com/uber/NullAway/issues/1388">#1388</a>)</li> <li>Add <a href="https://github.com/InjectWireMock"><code>@​InjectWireMock</code></a> as known excluded field annotation (<a href="https://redirect.github.com/uber/NullAway/issues/1391">#1391</a>)</li> <li>Require JDK 17 to run NullAway (<a href="https://redirect.github.com/uber/NullAway/issues/1394">#1394</a>)</li> <li>Support adding nested nullability annotations in library models (<a href="https://redirect.github.com/uber/NullAway/issues/1407">#1407</a>)</li> <li>Add library model for AtomicReferenceFieldUpdater (<a href="https://redirect.github.com/uber/NullAway/issues/1409">#1409</a>)</li> <li>Correctly get parameter types for a lambda whose type was inferred (<a href="https://redirect.github.com/uber/NullAway/issues/1348">#1348</a>)</li> <li>Add Mockito annotations to default excluded field annotations by <a href="https://github.com/murdos"><code>@​murdos</code></a> (<a href="https://redirect.github.com/uber/NullAway/issues/1418">#1418</a>)</li> <li>Properly identify annotations directly on the array element type of a Symbol (<a href="https://redirect.github.com/uber/NullAway/issues/1419">#1419</a>)</li> <li>Update to Checker Framework 3.53.0 (<a href="https://redirect.github.com/uber/NullAway/issues/1429">#1429</a>)</li> <li>JSpecify: Apply annotations on type variables to lambdas in more cases (<a href="https://redirect.github.com/uber/NullAway/issues/1428">#1428</a>)</li> <li>Migrate AutoValue to Records by <a href="https://github.com/rishikraj990"><code>@​rishikraj990</code></a> (<a href="https://redirect.github.com/uber/NullAway/issues/1415">#1415</a>)</li> <li>Bump minimum Error Prone version to 2.36.0, and add detection of nullable dereference by switch expressions (<a href="https://redirect.github.com/uber/NullAway/issues/1427">#1427</a>)</li> <li>JSpecify: Improve handling of method references (<a href="https://redirect.github.com/uber/NullAway/issues/1430">#1430</a>)</li> <li>Allow suppressing nullaway on individual parameters by <a href="https://github.com/jackwickham"><code>@​jackwickham</code></a> (<a href="https://redirect.github.com/uber/NullAway/issues/1436">#1436</a>)</li> <li>Update jdk-javac-plugin to contain nested annotations by <a href="https://github.com/haewiful"><code>@​haewiful</code></a> (<a href="https://redirect.github.com/uber/NullAway/issues/1432">#1432</a>)</li> <li>Maintenance <ul> <li>Delete code to generate library models from source (<a href="https://redirect.github.com/uber/NullAway/issues/1385">#1385</a>)</li> <li>Refactor: Migration to Version Catalog completed by <a href="https://github.com/vitinh0z"><code>@​vitinh0z</code></a> (<a href="https://redirect.github.com/uber/NullAway/issues/1386">#1386</a>)</li> <li>Bump Gradle to 9.2.1 (<a href="https://redirect.github.com/uber/NullAway/issues/1392">#1392</a>)</li> <li>Update to Error Prone 2.45.0 (<a href="https://redirect.github.com/uber/NullAway/issues/1401">#1401</a>)</li> <li>Stop matching switch expression kind using strings (<a href="https://redirect.github.com/uber/NullAway/issues/1404">#1404</a>)</li> <li>Refactoring: clarify docs and naming for RestoreNullnessAnnotationsVisitor (<a href="https://redirect.github.com/uber/NullAway/issues/1406">#1406</a>)</li> <li>Refactoring: rename method and field (<a href="https://redirect.github.com/uber/NullAway/issues/1405">#1405</a>)</li> <li>Run NullAway on jdk-javac-plugin code (<a href="https://redirect.github.com/uber/NullAway/issues/1408">#1408</a>)</li> <li>Clarify comment in test (<a href="https://redirect.github.com/uber/NullAway/issues/1411">#1411</a>)</li> <li>Enable PatternMatchingInstanceOf check and fix all warnings (<a href="https://redirect.github.com/uber/NullAway/issues/1412">#1412</a>)</li> <li>Enable StatementSwitchToExpressionSwitch check and fix all warnings (<a href="https://redirect.github.com/uber/NullAway/issues/1413">#1413</a>)</li> <li>bump and remove some dependencies (<a href="https://redirect.github.com/uber/NullAway/issues/1414">#1414</a>)</li> <li>Update minimum supported Error Prone version to 2.25.0 (<a href="https://redirect.github.com/uber/NullAway/issues/1421">#1421</a>)</li> <li>Update CI to run builds on JDK 25 (<a href="https://redirect.github.com/uber/NullAway/issues/1422">#1422</a>)</li> <li>Various cleanups suggested by IntelliJ (<a href="https://redirect.github.com/uber/NullAway/issues/1423">#1423</a>)</li> <li>Convert test data in main NullAway tests to use text blocks (<a href="https://redirect.github.com/uber/NullAway/issues/1424">#1424</a>)</li> <li>Refactor CoreTests and UnannotatedTests to use addSourceLines and inline test data by <a href="https://github.com/cobayo"><code>@​cobayo</code></a> (<a href="https://redirect.github.com/uber/NullAway/issues/1426">#1426</a>)</li> <li>Refactor ContractsTests to use Java text blocks by <a href="https://github.com/cobayo"><code>@​cobayo</code></a> (<a href="https://redirect.github.com/uber/NullAway/issues/1435">#1435</a>)</li> <li>Update Error Prone and errorprone-plugin versions (<a href="https://redirect.github.com/uber/NullAway/issues/1434">#1434</a>)</li> </ul> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/uber/NullAway/commit/36403f3515f732016dee9460ca6273ae5b25ba38"><code>36403f3</code></a> Prepare for release 0.13.0.</li> <li><a href="https://github.com/uber/NullAway/commit/12fe2a127415ae33182b3b90959c5f74e6942f32"><code>12fe2a1</code></a> Changelog for release 0.13.0 (<a href="https://redirect.github.com/uber/NullAway/issues/1439">#1439</a>)</li> <li><a href="https://github.com/uber/NullAway/commit/32febbd4846e2e396946b0772c9510e717b4a1d8"><code>32febbd</code></a> Update jdk-javac-plugin to contain nested annotations (<a href="https://redirect.github.com/uber/NullAway/issues/1432">#1432</a>)</li> <li><a href="https://github.com/uber/NullAway/commit/1ca1b257402c0de7503cf0efdf035f2006e39e33"><code>1ca1b25</code></a> Allow suppressing nullaway on individual parameters (<a href="https://redirect.github.com/uber/NullAway/issues/1436">#1436</a>)</li> <li><a href="https://github.com/uber/NullAway/commit/d594809addd6bd707707e3f8fb2e26821488eb67"><code>d594809</code></a> JSpecify: Improve handling of method references (<a href="https://redirect.github.com/uber/NullAway/issues/1430">#1430</a>)</li> <li><a href="https://github.com/uber/NullAway/commit/0b4156bd2033da2cedcf225cfdacbe7abd51e849"><code>0b4156b</code></a> Bump minimum Error Prone version to 2.36.0, and add detection of nullable der...</li> <li><a href="https://github.com/uber/NullAway/commit/c9278a1a3304bdedadcc32bb487213c4a6d0d39a"><code>c9278a1</code></a> Migrate AutoValue to Records (<a href="https://redirect.github.com/uber/NullAway/issues/1415">#1415</a>)</li> <li><a href="https://github.com/uber/NullAway/commit/2e04fb55bf82225369a854df23a5ce9285438303"><code>2e04fb5</code></a> Update Error Prone and errorprone-plugin versions (<a href="https://redirect.github.com/uber/NullAway/issues/1434">#1434</a>)</li> <li><a href="https://github.com/uber/NullAway/commit/80fbdc9aa22e6a737a50d10206d88d9111e5c01c"><code>80fbdc9</code></a> Refactor ContractsTests to use Java text blocks (<a href="https://redirect.github.com/uber/NullAway/issues/1435">#1435</a>)</li> <li><a href="https://github.com/uber/NullAway/commit/4b4d1e85ec182764d46c5cc46856542da5fde86e"><code>4b4d1e8</code></a> JSpecify: Apply annotations on type variables to lambdas in more cases (<a href="https://redirect.github.com/uber/NullAway/issues/1428">#1428</a>)</li> <li>Additional commits viewable in <a href="https://github.com/uber/NullAway/compare/v0.12.15...v0.13.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.uber.nullaway:nullaway&package-manager=gradle&previous-version=0.12.15&new-version=0.13.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 9854534 commit 8ddaf8b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ grpc-protobuf = { module = "io.grpc:grpc-protobuf", version = "1.78.0" }
1717
jspecify = { module ="org.jspecify:jspecify", version = "1.0.0" }
1818
junit-bom = { module = "org.junit:junit-bom", version.ref = "junit" }
1919
maven-plugin = { module = "com.vanniktech:gradle-maven-publish-plugin", version.ref = "maven-publish" }
20-
nullaway = { module = "com.uber.nullaway:nullaway", version = "0.12.15" }
20+
nullaway = { module = "com.uber.nullaway:nullaway", version = "0.13.0" }
2121
protobuf-java = { module = "com.google.protobuf:protobuf-java", version.ref = "protobuf" }
2222
spotless = { module = "com.diffplug.spotless:spotless-plugin-gradle", version = "8.1.0" }
2323

0 commit comments

Comments
 (0)