Skip to content

test(deps): update dependency com.google.truth:truth to v1.4.5#359

Open
renovate-bot wants to merge 1 commit into
googleapis:mainfrom
renovate-bot:renovate/com.google.truth-truth-1.x
Open

test(deps): update dependency com.google.truth:truth to v1.4.5#359
renovate-bot wants to merge 1 commit into
googleapis:mainfrom
renovate-bot:renovate/com.google.truth-truth-1.x

Conversation

@renovate-bot
Copy link
Copy Markdown
Contributor

@renovate-bot renovate-bot commented Nov 6, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.google.truth:truth 1.4.21.4.5 age adoption passing confidence

Release Notes

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

v1.4.5: 1.4.5

Compare Source

  • Changed assertions like assertThat(nullMap).isEmpty() to fail with a useful failure message instead of throwing NullPointerException (and similarly for other "bogus" values, such as negative sizes). (da5d6e9)
  • Made Kotlin's isInstanceOf(Int::class.java) (and Java's isInstanceOf(int.class)) a valid way to check for Int/Integer instances. (974ef19)
  • Improved isWithin to pretty-print numbers in its failure messages. (de78553, 07318c2)
  • Improved some assertions that print class names to print simpler names (e.g., Integer instead of java.lang.Integer). (0ba72d6)
  • Changed ExpectFailure to never generate "value of" lines based on bytecode. This slightly simplifies writing new tests with ExpectFailure and prevents future behavior changes in some ExpectFailure tests that already exist. However, it may also require changes to other existing ExpectFailure tests to remove or change any assertions about the "value of" line. (3caa0e8)
  • Our Android minSdkVersion is now 23 (Marshmallow). This follows the minimum of Google's foundational Android libraries, and we expect it to have no practical impact on users. (c85c75c)
  • Changed our GWT/J2CL artifact to omit usages of @NullMarked. This was making all our types non-null in those environments, since we don't yet use @Nullable in the GWT/J2CL artifact. (6392d37)

v1.4.4

  • Annotated the rest of the main package for nullness, and moved the @NullMarked annotation from individual classes up to the package to avoid a warning under --release 8. (e107aea)
  • Improved the failure message for matches to conditionally suggest using containsMatch. (7e9fc7a)

v1.4.3: 1.4.3

Known Issue for at least some builds targeting Java 8, fixed in 1.4.4: "unknown enum constant ElementType.MODULE": #​1320. As far as we know, this is only a warning, so it should cause practical problems only if you use -Werror or you perform reflection on @NullMarked under a Java 8 runtime.

  • Added more nullness information to our APIs (in the form of JSpecify annotations). This could lead to additional warnings (or even errors) for users of Kotlin and other nullness checkers. Please report any problems. (ee680cb)
  • Deprecated Subject.Factory methods for Java 8 types. We won't remove them, but you can simplify your code by migrating off them: Just replace assertAbout(foos()).that(foo) with assertThat(foo) (or about(foos()).that(foo) with that(foo)). (59e7a50)

Configuration

📅 Schedule: (UTC)

  • 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 was generated by Mend Renovate. View the repository job log.

@renovate-bot renovate-bot requested review from a team November 6, 2024 01:25
@trusted-contributions-gcf trusted-contributions-gcf Bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 6, 2024
@product-auto-label product-auto-label Bot added the size: xs Pull request size is extra small. label Nov 6, 2024
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 6, 2024
@renovate-bot renovate-bot changed the title test(deps): update dependency com.google.truth:truth to v1.4.4 test(deps): update dependency com.google.truth:truth to v1.4.5 Sep 10, 2025
@renovate-bot renovate-bot force-pushed the renovate/com.google.truth-truth-1.x branch from b1fcc95 to 5791a8c Compare September 10, 2025 18:30
@trusted-contributions-gcf trusted-contributions-gcf Bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 10, 2025
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 10, 2025
@renovate-bot renovate-bot force-pushed the renovate/com.google.truth-truth-1.x branch from 5791a8c to 962e7b3 Compare October 21, 2025 11:01
@trusted-contributions-gcf trusted-contributions-gcf Bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 21, 2025
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 21, 2025
@renovate-bot renovate-bot force-pushed the renovate/com.google.truth-truth-1.x branch from 962e7b3 to 0266988 Compare November 10, 2025 19:11
@trusted-contributions-gcf trusted-contributions-gcf Bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 10, 2025
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 10, 2025
@renovate-bot renovate-bot force-pushed the renovate/com.google.truth-truth-1.x branch from 0266988 to 3991f38 Compare February 2, 2026 21:36
@trusted-contributions-gcf trusted-contributions-gcf Bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Feb 2, 2026
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Feb 2, 2026
@renovate-bot renovate-bot force-pushed the renovate/com.google.truth-truth-1.x branch from 3991f38 to 164792b Compare February 12, 2026 15:38
@renovate-bot renovate-bot requested a review from a team as a code owner February 12, 2026 15:38
@trusted-contributions-gcf trusted-contributions-gcf Bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Feb 12, 2026
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Feb 12, 2026
@renovate-bot renovate-bot force-pushed the renovate/com.google.truth-truth-1.x branch from 164792b to 449826d Compare April 1, 2026 21:13
@renovate-bot renovate-bot requested a review from a team as a code owner April 1, 2026 21:13
@trusted-contributions-gcf trusted-contributions-gcf Bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 1, 2026
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 1, 2026
@renovate-bot renovate-bot force-pushed the renovate/com.google.truth-truth-1.x branch from 449826d to 52fe40d Compare May 14, 2026 18:42
@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 14, 2026
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 14, 2026
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.

2 participants