Skip to content

deps: update dependency com.google.errorprone:error_prone_annotations to v2.38.0 #3773

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

Merged

Conversation

renovate-bot
Copy link
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.google.errorprone:error_prone_annotations (source) 2.36.0 -> 2.38.0 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

google/error-prone (com.google.errorprone:error_prone_annotations)

v2.38.0: Error Prone 2.38.0

New checks:

Closed issues: #​4924, #​4897, #​4995

Full changelog: google/error-prone@v2.37.0...v2.38.0

v2.37.0: Error Prone 2.37.0

Compare Source

Changes:

  • The annotations that were previously in error_prone_type_annotations have been been merged into error_prone_annotations. error_prone_type_annotations is now deprecated, and will be removed in a future release.

New checks:

  • AssignmentExpression - The use of an assignment expression can be surprising and hard to read; consider factoring out the assignment to a separate statement.
  • IntFloatConversion - Detect calls to scalb that should be using the double overload instead
  • InvalidSnippet - Detects snippets which omit the : required for inline code.
  • JUnit4EmptyMethods - Detects empty JUnit4 @Before, @After, @BeforeClass, and @AfterClass methods.
  • MockIllegalThrows - Detects cases where Mockito is configured to throw checked exception types which are impossible.
  • NegativeBoolean - Prefer positive boolean names.
  • RuleNotRun - Detects TestRules not annotated with @Rule, that won't be run.
  • StringConcatToTextBlock - Replaces concatenated multiline strings with text blocks.
  • TimeInStaticInitializer - Detects accesses of the system time in static contexts.

Closed issues:

  • Propagate check flags in patch mode (#​4699)
  • Fixes a crash in ComputeIfAbsentAmbiguousReference (#​4736)
  • Show the field name in HidingField diagnostics (#​4775)
  • Add support for jakarta annotations to some checks (#​4782)
  • FloatingPointAssertionWithinEpsilonTest depends on default locale (#​4815)
  • @InlineMe patching of Strings.repeat produces broken code (#​4819)
  • Fix a crash in IdentifierName on unnamed (_) variables (#​4847)
  • Fix a crash in ArgumentParameterSwap (#​490)

Full changelog: google/error-prone@v2.36.0...v2.37.0


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 these updates again.


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

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

@product-auto-label product-auto-label bot added the size: xs Pull request size is extra small. label May 2, 2025
@trusted-contributions-gcf trusted-contributions-gcf bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 2, 2025
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 2, 2025
@lqiu96
Copy link
Contributor

lqiu96 commented May 2, 2025

/gcbrun

@lqiu96
Copy link
Contributor

lqiu96 commented May 2, 2025

Merging this one deps PR due to CI failures in the Auth-Library PR: #3772:

Error:  Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.5.0:enforce (enforce) on project gax: 
Error:  Rule 2: org.apache.maven.enforcer.rules.dependency.RequireUpperBoundDeps failed with message:
Error:  Failed while enforcing RequireUpperBoundDeps. The error(s) are [
Error:  Require upper bound dependencies error for com.google.errorprone:error_prone_annotations:2.36.0 paths to dependency are:
Error:  +-com.google.api:gax:2.64.2
Error:    +-com.google.api:api-common:2.47.2
Error:      +-com.google.errorprone:error_prone_annotations:2.36.0
Error:  and
Error:  +-com.google.api:gax:2.64.2
Error:    +-com.google.protobuf:protobuf-java-util:3.25.5
Error:      +-com.google.errorprone:error_prone_annotations:2.18.0
Error:  and
Error:  +-com.google.api:gax:2.64.2
Error:    +-com.google.auth:google-auth-library-oauth2-http:1.34.0
Error:      +-com.google.errorprone:error_prone_annotations:2.37.0
Error:  and
Error:  +-com.google.api:gax:2.64.2
Error:    +-com.google.protobuf:protobuf-java-util:3.25.5
Error:      +-com.google.code.gson:gson:2.12.1 (managed) <-- com.google.code.gson:gson:2.8.9
Error:        +-com.google.errorprone:error_prone_annotations:2.36.0
Error:  and
Error:  +-com.google.api:gax:2.64.2
Error:    +-com.google.auth:google-auth-library-oauth2-http:1.34.0
Error:      +-com.google.http-client:google-http-client:1.46.3 (managed) <-- com.google.http-client:google-http-client:1.46.3
Error:        +-com.google.errorprone:error_prone_annotations:2.36.0
Error:  ]

Bumping the Auth Library PR for the latest X.509 changes.

@lqiu96 lqiu96 merged commit e16fe65 into googleapis:main May 2, 2025
67 of 71 checks passed
@renovate-bot renovate-bot deleted the renovate/error-prone-dependencies branch May 2, 2025 17:11
lqiu96 added a commit that referenced this pull request May 2, 2025
🤖 I have created a release *beep* *boop*
---


<details><summary>2.56.3</summary>

##
[2.56.3](v2.56.2...v2.56.3)
(2025-05-02)


### Bug Fixes

* Only send mtlsEndpoint if it is non-null
([#3767](#3767))
([8f8df7b](8f8df7b))
* subscribe Airlock Docker image definition to GRPC updates
([#3765](#3765))
([d0f43e3](d0f43e3))


### Dependencies

* update dependency com.google.errorprone:error_prone_annotations to
v2.38.0
([#3773](#3773))
([e16fe65](e16fe65))
* update gapic-showcase to 36.2
([#3771](#3771))
([15b2577](15b2577))
* update google auth library dependencies to v1.34.0
([#3772](#3772))
([406a180](406a180))
* Update maven-shared-utils to v3.2.1
([#3768](#3768))
([7ec93c3](7ec93c3))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Lawrence Qiu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: xs Pull request size is extra small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants