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

  • 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 - 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 is behind base branch, 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 added the dependencies Pull requests that update a dependency file label Jun 27, 2024
@github-actions
Copy link

github-actions bot commented Jun 27, 2024

Test Results

 88 files  ±0   88 suites  ±0   12s ⏱️ +2s
430 tests ±0  430 ✅ ±0  0 💤 ±0  0 ❌ ±0 
475 runs  ±0  475 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 7fab8e4. ± Comparison against base commit 123af3b.

♻️ This comment has been updated with latest results.

@renovate renovate bot force-pushed the renovate/truth branch from b99b3d9 to 333e4af Compare June 29, 2024 07:05
@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 13, 2024
@renovate renovate bot force-pushed the renovate/truth branch from 333e4af to 2a82dde Compare July 13, 2024 01:13
@renovate renovate bot force-pushed the renovate/truth branch from 2a82dde to d601d05 Compare July 22, 2024 16:24
@renovate renovate bot force-pushed the renovate/truth branch 3 times, most recently from 3f94d65 to 35eae25 Compare August 13, 2024 17:41
@renovate renovate bot force-pushed the renovate/truth branch 2 times, most recently from 0579fe2 to 94f64f2 Compare August 25, 2024 06:27
@renovate renovate bot force-pushed the renovate/truth branch 6 times, most recently from 19d5de5 to ac5f128 Compare September 11, 2024 04:09
@renovate renovate bot force-pushed the renovate/truth branch from ac5f128 to 09d5540 Compare July 14, 2025 20:06
@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 2 times, most recently from e59281a to 65c06a7 Compare October 18, 2025 07:36
@renovate
Copy link
Contributor Author

renovate bot commented Oct 18, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

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.

2 participants