Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jul 2, 2024

This PR contains the following updates:

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

Release Notes

google/truth (com.google.truth.extensions:truth-java8-extension)

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

  • 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: Branch creation - "after 5pm on the 2nd day of the month" (UTC), 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.

@renovate renovate bot added the type: dependencies Pull requests that update a dependency file label Jul 2, 2024
@renovate renovate bot force-pushed the renovate/patch-release-dependency-changes branch from d6dd669 to 0057ab2 Compare July 12, 2024 22:47
@renovate renovate bot changed the title chore(deps): Update patch-release dependency changes chore(deps): Update patch-release dependency changes to v1.4.4 Aug 14, 2024
@renovate renovate bot force-pushed the renovate/patch-release-dependency-changes branch from 0057ab2 to 22ace21 Compare August 10, 2025 14:13
@renovate renovate bot force-pushed the renovate/patch-release-dependency-changes branch from 22ace21 to fea0bf0 Compare September 10, 2025 17:39
@renovate renovate bot changed the title chore(deps): Update patch-release dependency changes to v1.4.4 chore(deps): Update patch-release dependency changes to v1.4.5 Sep 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant