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

chore(deps): update dependency com.google.truth:truth to v1.4.2 #2611

Conversation

renovate-bot
Copy link
Contributor

@renovate-bot renovate-bot commented Feb 16, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.google.truth:truth 1.4.0 -> 1.4.2 age adoption passing confidence

Warning

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


Release Notes

google/truth (com.google.truth:truth)

v1.4.2: 1.4.2

This release is the final step of copying all our methods from Truth8 to Truth. If you have not already migrated your usages from Truth8 to Truth, you may see build errors:

OptionalSubjectTest.java:39: error: reference to assertThat is ambiguous
    assertThat(Optional.of("foo")).isPresent();
    ^
  both method assertThat(@&#8203;org.checkerframework.checker.nullness.qual.Nullable Optional<?>) in Truth8 and method assertThat(@&#8203;org.checkerframework.checker.nullness.qual.Nullable Optional<?>) in Truth match

In most cases, you can migrate your whole project mechanically: git grep -l Truth8 | xargs perl -pi -e 's/\bTruth8\b/Truth/g;'. (You can make that change before upgrading to Truth 1.4.2 or as part of the same commit.)

If you instead need to migrate your project incrementally (for example, because it is very large), you may want to upgrade your version of Truth incrementally, too, following our instructions for 1.3.0 and 1.4.0.

For help

Please feel welcome to open an issue to report problems or request help.

Changelog

  • Removed temporary type parameters from Truth.assertThat(Stream) and Truth.assertThat(Optional). This can create build errors, which you can fix by replacing all your references to Truth8 with references to Truth. (45782bd)

v1.4.1: 1.4.1

This release deprecates Truth8.

All its methods have become available on the main Truth class. In most cases, you can migrate your whole project mechanically: git grep -l Truth8 | xargs perl -pi -e 's/\bTruth8\b/Truth/g;'

While we do not plan to delete Truth8, we recommend migrating off it, at least if you static import assertThat: If you do not migrate, such static imports will become ambiguous in Truth 1.4.2, breaking your build.


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 has been generated by Mend Renovate. View repository job log here.

@renovate-bot renovate-bot requested a review from a team as a code owner February 16, 2024 19:11
@forking-renovate forking-renovate bot added the dependencies Pull requests that update a dependency file label Feb 16, 2024
@alicejli
Copy link
Contributor

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for GAPIC Showcase Client Core Parent 0.0.1-SNAPSHOT:
[INFO] 
[INFO] GAPIC Showcase Client Core Parent .................. SUCCESS [  3.087 s]
[INFO] proto-gapic-showcase-v1beta1 ....................... SUCCESS [  5.019 s]
[INFO] grpc-gapic-showcase-v1beta1 ........................ SUCCESS [  1.017 s]
[INFO] GAPIC Showcase Client .............................. SUCCESS [  8.964 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  23.499 s
[INFO] Finished at: 2024-02-16T19:17:47Z
[INFO] ------------------------------------------------------------------------
fixed /home/runner/work/spring-cloud-gcp/spring-cloud-gcp/spring-cloud-generator/sdk-platform-java/WORKSPACE
fixed /home/runner/work/spring-cloud-gcp/spring-cloud-gcp/spring-cloud-generator/sdk-platform-java/WORKSPACE
fixed /home/runner/work/spring-cloud-gcp/spring-cloud-gcp/spring-cloud-generator/sdk-platform-java/WORKSPACE
/home/runner/work/spring-cloud-gcp/spring-cloud-gcp/spring-cloud-generator/sdk-platform-java/showcase/BUILD.bazel/BUILD: file not found or not readable
Error: Process completed with exit code 2.

Work to fix this test being tracked: #2214

@renovate-bot renovate-bot changed the title chore(deps): update dependency com.google.truth:truth to v1.4.1 chore(deps): update dependency com.google.truth:truth to v1.4.2 Mar 1, 2024
@renovate-bot renovate-bot force-pushed the renovate/com.google.truth-truth-1.x branch from c9f0a46 to 729e287 Compare March 1, 2024 02:16
Copy link

sonarqubecloud bot commented Mar 1, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@renovate-bot renovate-bot force-pushed the renovate/com.google.truth-truth-1.x branch from 729e287 to e3f0163 Compare April 30, 2024 16:32
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@lqiu96 lqiu96 merged commit f7c3710 into GoogleCloudPlatform:main Apr 30, 2024
9 checks passed
@renovate-bot renovate-bot deleted the renovate/com.google.truth-truth-1.x branch April 30, 2024 18:56
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants