dependabot[bot] opened a new pull request, #406:
URL: https://github.com/apache/ws-axiom/pull/406

   Bumps [com.google.truth:truth](https://github.com/google/truth) from 1.2.0 
to 1.3.0.
   <details>
   <summary>Release notes</summary>
   <p><em>Sourced from <a 
href="https://github.com/google/truth/releases";>com.google.truth:truth's 
releases</a>.</em></p>
   <blockquote>
   <h2>1.3.0</h2>
   <p>In this release, our assertions on Java 8 types begin to move from the 
<code>truth-java8-extensions</code> artifact and the <code>Truth8</code> class 
to the main <code>truth</code> artifact and the <code>Truth</code> class. This 
change should not break compatibility for anyone, even users who test under old 
versions of Android without <a 
href="https://developer.android.com/studio/write/java8-support#library-desugaring";>API
 desugaring</a>. Additionally, we will never break binary compatibility, though 
some users will have to make changes to their source code in order for it to 
compile against newer versions.</p>
   <p>This change will be routine for most users, but we're providing as much 
information as we can for any users who do encounter problems.</p>
   <p>We will post fuller instructions for migration later on, once we've 
learned more from our internal migration efforts. For now, you may find that 
you need to make one kind of change, and you may elect to make others. (If we 
missed anything, please <a 
href="https://github.com/google/truth/issues/new";>open an issue</a> to report 
problems or request help.)</p>
   <p>The change you might need to make:</p>
   <ul>
   <li>By adding new overloads of <code>Truth.assertThat</code>, we cause some 
code to fail to compile because of an overload ambiguity. This is rare, but it 
can happen if you static import both <code>Truth.assertThat</code> and some 
other <code>assertThat</code> method that includes overloads for 
<code>Optional</code> or <code>Stream</code>. (It does <em>not</em> happen for 
<code>Truth8.assertThat</code>, though, except with the Eclipse compiler. Nor 
it does <em>necessarily</em> happen for other <code>assertThat(Stream)</code> 
and <code>assertThat(Optional)</code> methods.) If this happens to you, you'll 
need to remove one of the static imports, changing the corresponding call sites 
from &quot;<code>assertThat</code>&quot; to 
&quot;<code>FooSubject.assertThat</code>.&quot;
   <ul>
   <li>Alternatively, you may choose to wait until we make further changes to 
the new <code>Truth.assertThat</code> overloads. Once we make those further 
changes, you may be able to simultaneously replace all your imports of 
<code>Truth8.assertThat</code> with imports of <code>Truth.assertThat</code> as 
you upgrade to the new version, likely without introducing overload 
ambiguities.</li>
   </ul>
   </li>
   </ul>
   <p>The changes you might elect to make:</p>
   <ul>
   <li>
   <p>If you use <code>Truth8.assertThat(Stream)</code> or 
<code>Truth8.assertThat(Optional)</code>, you can migrate to the new overloads 
in <code>Truth</code>. If you static import <code>Truth8.assertThat</code>, you 
can usually make this change simply by replacing that static import with a 
static import of <code>Truth.assertThat</code>—or, if you already have an 
import of <code>Truth.assertThat</code>, by just removing the import of 
<code>Truth8.assertThat</code>. (If you additionally use less common assertion 
methods, like <code>assertThat(OptionalInt)</code>, you'll want to use 
<em>both</em> imports for now. Later, we'll move 
<code>assertThat(OptionalInt)</code> and friends, too.) We recommend making 
this change now, since your calls to <code>Truth8.assertThat</code> will fail 
to compile against some future version of Truth, unless you plan to wait to 
update your Truth dependency until we've made all our changes for Java 8 
types.</p>
   </li>
   <li>
   <p>If you use 
<code>assertWithMessage(...).about(streams()).that(...)</code>, 
<code>expect.about(optionals()).that(...)</code>, or similar, you can remove 
your call to <code>about</code>. This change will never be necessary; it is 
just a simplification.</p>
   </li>
   <li>
   <p>If you depend on <code>truth-java8-extension</code>, you may remove it. 
All its classes are now part of the main <code>truth</code> artifact. This 
change, too, is not necessary; it is just a simplification. (OK, if your build 
system has a concept of <a 
href="https://blog.bazel.build/2017/06/28/sjd-unused_deps.html";>strict 
deps</a>, there is a chance that you'll <em>need</em> to add deps on 
<code>truth</code> to replace your deps on 
<code>truth-java8-extension</code>.)</p>
   </li>
   </ul>
   <p>Finally, the changelog for this release:</p>
   <ul>
   <li>Made <code>StreamSubject</code> avoid collecting the <code>Stream</code> 
until necessary, and made its <code>isEqualTo</code> and 
<code>isNotEqualTo</code> methods no longer always throw. (f8ecaec69)</li>
   <li>Added <code>assertThat</code> overloads for <code>Optional</code> and 
<code>Stream</code> to the main <code>Truth</code> class. (37fd8bea9)</li>
   <li>Added <code>that</code> overloads to make it possible to write 
type-specific assertions when using <code>expect.that(optional)</code> and 
<code>expect.that(stream)</code>. (ca7e8f4c5)</li>
   <li>Moved the <code>truth-java8-extension</code> classes into the main 
<code>truth</code> artifact. There is no longer any need to depend on 
<code>truth-java8-extension</code>, which is now empty. (We've also removed the 
<code>Truth8</code> <a href="https://www.gwtproject.org/";>GWT</a> module.) 
(eb0426eb7)</li>
   </ul>
   <p>Again, if you have any problems, please <a 
href="https://github.com/google/truth/issues/new";>let us know</a>.</p>
   </blockquote>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a 
href="https://github.com/google/truth/commit/abf9e153848767c0da6460d9cc0739b20fcfdc85";><code>abf9e15</code></a>
 Set version number for truth-parent to 1.3.0.</li>
   <li><a 
href="https://github.com/google/truth/commit/93b4d93721ae84b10590963f8cf17364af8ce385";><code>93b4d93</code></a>
 Add <code>@since</code> tags for the first batch of Java-8-related APIs.</li>
   <li><a 
href="https://github.com/google/truth/commit/78d27dd4716c06afdd4df47485716cda1d8fe80a";><code>78d27dd</code></a>
 Remove stale suppressions.</li>
   <li><a 
href="https://github.com/google/truth/commit/7be930d21593375dbecbd39352fd38862f7a2cec";><code>7be930d</code></a>
 Bump actions/cache from 3.3.3 to 4.0.0</li>
   <li><a 
href="https://github.com/google/truth/commit/16db780c1a7228aaf7c13f9a06053453f727c386";><code>16db780</code></a>
 Make &quot;value of&quot; lines work with <code>StreamSubject</code>.</li>
   <li><a 
href="https://github.com/google/truth/commit/37fd8bea90c0ab4528c4c922c88fa176eb45f65b";><code>37fd8be</code></a>
 Copy <code>Truth8.assertThat</code> overloads for <code>Optional</code> and 
<code>Stream</code> to the main `T...</li>
   <li><a 
href="https://github.com/google/truth/commit/ca7e8f4c51742ec2e89d2e49e85f9cea3e3048cf";><code>ca7e8f4</code></a>
 Make it possible to write <code>expect.that(optional).isPresent()</code>, 
`assertWithMes...</li>
   <li><a 
href="https://github.com/google/truth/commit/f8ecaec69513c267aeb045be8297729cac520de7";><code>f8ecaec</code></a>
 Prepare <code>StreamSubject</code> for adding 
<code>Truth.assertThat(Stream)</code>.</li>
   <li><a 
href="https://github.com/google/truth/commit/795a9cf141faa688c1f09d8cbc86d8445eeb0135";><code>795a9cf</code></a>
 Bump actions/cache from 3.3.2 to 3.3.3</li>
   <li><a 
href="https://github.com/google/truth/commit/7dab78f4be663f33e821965313dfbe3f94623185";><code>7dab78f</code></a>
 Bump com.google.protobuf:protobuf-java from 3.25.1 to 3.25.2</li>
   <li>Additional commits viewable in <a 
href="https://github.com/google/truth/compare/v1.2.0...v1.3.0";>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.2.0&new-version=1.3.0)](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 show <dependency name> ignore conditions` will show all of 
the ignore conditions of the specified dependency
   - `@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>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@ws.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ws.apache.org
For additional commands, e-mail: dev-h...@ws.apache.org

Reply via email to