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

Bump versions.errorprone from 2.21.1 to 2.22.0 #3122

Merged
merged 1 commit into from Sep 22, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 22, 2023

Bumps versions.errorprone from 2.21.1 to 2.22.0.
Updates com.google.errorprone:error_prone_core from 2.21.1 to 2.22.0

Release notes

Sourced from com.google.errorprone:error_prone_core's releases.

Error Prone 2.22.0

We are considering raising the minimum supported JDK from JDK 11 to JDK 17 in a future release of Error Prone, see #3803. Note that using a newer JDK version to run javac during the build doesn't prevent building code that is deployed to earlier versions, for example it's supported to use the JDK 17 javac and pass --release 11 to compile Java 11 code that is deployed to a JDK 11 runtime. If you have feedback, please comment on #3803.

New checks:

Bug fixes and improvements:

  • Don't complain about literal IP addresses in AddressSelection (google/error-prone@44b6552)
  • Prevent SuggestedFixes#renameMethod from modifying return type declaration (#4043)
  • Fix UnusedVariable false positives for private record parameters (#2713)
  • When running in conservative mode, no longer assume that implementations of Map.get, etc. return null (#2910)
  • CanIgnoreReturnValueSuggester: Support additional exempting method annotations (#4009)
  • UnusedVariable: exclude junit5's @RegisterExtension (#3892)
  • Support running all available patch checks (#947)
  • Upgrade java-diff-utils 4.0 -> 4.12 (#4081)
  • Flag unused Refaster template parameters (#4060)
  • Support @SuppressWarnings("all") (#4065)
  • Prevent Refaster UMemberSelect from matching method parameters (#2456)
  • MissingDefault : Don't require // fall out comments on expression switches (#2709)
  • Skip UnnecessaryLambda findings for usages in enhanced for loops (#2518)
  • Fix bug where nested MissingBraces violations' suggested fixes result in broken code (#3797)
  • Add support for specifying exemptPrefixes/exemptNames for UnusedVariable via flags (#2753)
  • UnusedMethod: Added exempting variable annotations (#2881)

Full Changelog: google/error-prone@v2.21.1...v2.22.0

Commits
  • 7114c31 Release Error Prone 2.22.0
  • c94d74d Update release.yml - temporarily disable sonatype deployments
  • 080411e Added exempting variable annotations
  • 737dec0 Remove DiffNotApplicableException
  • f3a2bf8 Update ci.yml for JDK 21 release
  • 1d2bc93 Introduce ErrorProneFlags.get{Set,List}OrEmpty, because basically every cal...
  • 1bec842 Fix a crash in UnnecessaryAsync
  • d2ee28e Fix a crash in TimeUnitConversionChecker
  • ac424d0 Tighten the return types in Fix.
  • 58e5bb8 Update and wordsmith the @CompileTimeConstant documentation to reflect chan...
  • Additional commits viewable in compare view

Updates com.google.errorprone:error_prone_test_helpers from 2.21.1 to 2.22.0

Release notes

Sourced from com.google.errorprone:error_prone_test_helpers's releases.

Error Prone 2.22.0

We are considering raising the minimum supported JDK from JDK 11 to JDK 17 in a future release of Error Prone, see #3803. Note that using a newer JDK version to run javac during the build doesn't prevent building code that is deployed to earlier versions, for example it's supported to use the JDK 17 javac and pass --release 11 to compile Java 11 code that is deployed to a JDK 11 runtime. If you have feedback, please comment on #3803.

New checks:

Bug fixes and improvements:

  • Don't complain about literal IP addresses in AddressSelection (google/error-prone@44b6552)
  • Prevent SuggestedFixes#renameMethod from modifying return type declaration (#4043)
  • Fix UnusedVariable false positives for private record parameters (#2713)
  • When running in conservative mode, no longer assume that implementations of Map.get, etc. return null (#2910)
  • CanIgnoreReturnValueSuggester: Support additional exempting method annotations (#4009)
  • UnusedVariable: exclude junit5's @RegisterExtension (#3892)
  • Support running all available patch checks (#947)
  • Upgrade java-diff-utils 4.0 -> 4.12 (#4081)
  • Flag unused Refaster template parameters (#4060)
  • Support @SuppressWarnings("all") (#4065)
  • Prevent Refaster UMemberSelect from matching method parameters (#2456)
  • MissingDefault : Don't require // fall out comments on expression switches (#2709)
  • Skip UnnecessaryLambda findings for usages in enhanced for loops (#2518)
  • Fix bug where nested MissingBraces violations' suggested fixes result in broken code (#3797)
  • Add support for specifying exemptPrefixes/exemptNames for UnusedVariable via flags (#2753)
  • UnusedMethod: Added exempting variable annotations (#2881)

Full Changelog: google/error-prone@v2.21.1...v2.22.0

Commits
  • 7114c31 Release Error Prone 2.22.0
  • c94d74d Update release.yml - temporarily disable sonatype deployments
  • 080411e Added exempting variable annotations
  • 737dec0 Remove DiffNotApplicableException
  • f3a2bf8 Update ci.yml for JDK 21 release
  • 1d2bc93 Introduce ErrorProneFlags.get{Set,List}OrEmpty, because basically every cal...
  • 1bec842 Fix a crash in UnnecessaryAsync
  • d2ee28e Fix a crash in TimeUnitConversionChecker
  • ac424d0 Tighten the return types in Fix.
  • 58e5bb8 Update and wordsmith the @CompileTimeConstant documentation to reflect chan...
  • Additional commits viewable in compare view

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 commands and options

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)

Bumps `versions.errorprone` from 2.21.1 to 2.22.0.

Updates `com.google.errorprone:error_prone_core` from 2.21.1 to 2.22.0
- [Release notes](https://github.com/google/error-prone/releases)
- [Commits](google/error-prone@v2.21.1...v2.22.0)

Updates `com.google.errorprone:error_prone_test_helpers` from 2.21.1 to 2.22.0
- [Release notes](https://github.com/google/error-prone/releases)
- [Commits](google/error-prone@v2.21.1...v2.22.0)

---
updated-dependencies:
- dependency-name: com.google.errorprone:error_prone_core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.errorprone:error_prone_test_helpers
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Sep 22, 2023
@codecov-commenter
Copy link

codecov-commenter commented Sep 22, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.47% 🎉

Comparison is base (20e878f) 85.01% compared to head (39dfc69) 85.48%.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #3122      +/-   ##
============================================
+ Coverage     85.01%   85.48%   +0.47%     
- Complexity     2878     2892      +14     
============================================
  Files           329      329              
  Lines          8826     8826              
  Branches       1095     1095              
============================================
+ Hits           7503     7545      +42     
+ Misses         1047      994      -53     
- Partials        276      287      +11     

see 8 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@TimvdLippe TimvdLippe merged commit 5d946b4 into main Sep 22, 2023
13 checks passed
@TimvdLippe TimvdLippe deleted the dependabot/gradle/versions.errorprone-2.22.0 branch September 22, 2023 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants