diff options
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 2021-01-26 07:56:00 -0800 |
---|---|---|
committer | Google Java Core Libraries <java-core-libraries-team+copybara@google.com> | 2021-01-26 07:57:12 -0800 |
commit | ae106228383f53a4ee7c201ea940cf1e1d2d3913 (patch) | |
tree | 7a186893874c01b427a308356e2bc362596f8168 /common | |
parent | 0a9e45fe5bffef1cc04872d46d9d67cfc02fcf71 (diff) | |
download | auto-ae106228383f53a4ee7c201ea940cf1e1d2d3913.tar.gz |
Bump truth from 1.1 to 1.1.2 in /common
Bumps [truth](https://github.com/google/truth) from 1.1 to 1.1.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/google/truth/releases">truth's releases</a>.</em></p>
<blockquote>
<h2>1.1.2</h2>
<p>This release completes the feature that I got wrong in <a href="https://github.com/google/truth/releases/tag/release_1_1_1">1.1.1</a> -- the ability to exclude our JUnit 4 dependency and still use standard Truth assertions.</p>
<ul>
<li>Made it possible for users to exclude our JUnit 4 dependency and still use standard Truth assertions -- <em>really</em> this time, even in cases in which excluding the dependency failed under <a href="https://github.com/google/truth/releases/tag/release_1_1_1">1.1.1</a>. (JUnit 4 is still required for some advanced features, like <code>Expect</code>, <code>ExpectFailure</code>, and <code>TruthJUnit.assume()</code>.) (948f3edca)</li>
<li>When JUnit 4 is excluded from the classpath, the <code>AssertionError</code> Truth generates as a substitute for <code>ComparisonFailure</code> now includes the expected and actual values that were missing in <a href="https://github.com/google/truth/releases/tag/release_1_1_1">1.1.1</a>. (6b0140730)</li>
</ul>
<h2>1.1.1</h2>
<p><strong>We recommend not trying to exclude our JUnit dependency even under this release. We will release 1.1.2 with better handling for the missing dependency shortly.</strong></p>
<ul>
<li><del>Made it possible for users to exclude our JUnit 4 dependency and still use standard Truth assertions. (JUnit 4 is still required for some advanced features, like <code>Expect</code>, <code>ExpectFailure</code>, and <code>TruthJUnit.assume()</code>.) (2d65326ec)</del>
<ul>
<li><strong>Update:</strong> This appears to let users exclude the dependency in some cases <a href="https://github-redirect.dependabot.com/google/truth/issues/333#issuecomment-765616282">but not all</a>. We are working on <a href="https://github-redirect.dependabot.com/google/truth/pull/806">a fix</a>.</li>
<li><strong>Update 2:</strong> Also, even if you succeed in excluding the dependency in your environment, you will see failure messages that are missing information. We have <a href="https://github.com/google/truth/commit/6b0140730fa0e3ebb3056ddb0ae30863bbf95364">a fix</a> for this ready.</li>
</ul>
</li>
</ul>
<p>If you wish to exclude our JUnit dependency, you may wish to consider <a href="https://github-redirect.dependabot.com/google/truth/issues/333#issuecomment-765616282">this alternative approach</a>. That approach <a href="https://github-redirect.dependabot.com/google/truth/issues/333#issuecomment-765677646">may be worthwhile even after we fix the bugs described above</a>.</p>
<p>I apologize for the trouble.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/google/truth/commits">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.truth:truth&package-manager=maven&previous-version=1.1&new-version=1.1.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
Fixes #975
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/auto/pull/975 from google:dependabot/maven/common/com.google.truth-truth-1.1.2 bdf0d3843f38018a1340f9c38b0445d36a5a7530
PiperOrigin-RevId: 353866900
Diffstat (limited to 'common')
-rw-r--r-- | common/pom.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/pom.xml b/common/pom.xml index 4633043f..7d3a66df 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -37,7 +37,7 @@ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <java.version>1.8</java.version> <guava.version>30.1-jre</guava.version> - <truth.version>1.1</truth.version> + <truth.version>1.1.2</truth.version> </properties> <scm> |