Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jun 27, 2024

This PR contains the following updates:

Package Change Age Confidence
com.google.truth:truth 1.4.2 -> 1.4.5 age confidence

Release Notes

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

v1.4.5: 1.4.5

  • 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

Compare Source

  • 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

Compare Source

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: 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 renovate bot force-pushed the renovate/truth branch from 4ce1785 to ec3eac9 Compare July 12, 2024 22:37
@renovate renovate bot changed the title chore(deps): Update dependency com.google.truth:truth to v1.4.3 chore(deps): Update dependency com.google.truth:truth to v1.4.4 Jul 12, 2024
@renovate renovate bot force-pushed the renovate/truth branch from 8b84c2d to 16f2ebb Compare August 10, 2025 13:12
@renovate renovate bot changed the title chore(deps): Update dependency com.google.truth:truth to v1.4.4 chore(deps): Update dependency com.google.truth:truth to v1.4.5 Sep 10, 2025
@renovate renovate bot force-pushed the renovate/truth branch from a2144ac to d3ca7b4 Compare October 9, 2025 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant