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

Update dependency com.google.truth:truth to v1.4.2 - autoclosed #181

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 2, 2024

Mend Renovate

This PR contains the following updates:

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

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)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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.

Copy link

github-actions bot commented Mar 2, 2024

Aar size:

Aar size change: +0.0B (210.2KiB -> 210.2KiB)

Diffuse output:

OLD: diffuse-source-file-release
NEW: lazythreetenbp-release.aar

 AAR      │ old      │ new      │ diff 
──────────┼──────────┼──────────┼──────
      jar │ 21.3 KiB │ 21.3 KiB │  0 B 
 manifest │    203 B │    203 B │  0 B 
    other │    156 B │    156 B │  0 B 
──────────┼──────────┼──────────┼──────
    total │  165 KiB │  165 KiB │  0 B 

 JAR     │ old │ new │ diff      
─────────┼─────┼─────┼───────────
 classes │   6 │   6 │ 0 (+0 -0) 
 methods │  65 │  65 │ 0 (+0 -0) 
  fields │  10 │  10 │ 0 (+0 -0)

@renovate renovate bot force-pushed the renovate/maven.truth branch from df08e41 to 62cf1f2 Compare March 3, 2024 05:37
@renovate renovate bot changed the title Update dependency com.google.truth:truth to v1.4.2 Update dependency com.google.truth:truth to v1.4.2 - autoclosed Mar 3, 2024
@renovate renovate bot closed this Mar 3, 2024
@renovate renovate bot deleted the renovate/maven.truth branch March 3, 2024 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant