You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bval.apache.org by "dependabot[bot] (via GitHub)" <gi...@apache.org> on 2023/02/28 10:04:27 UTC

[GitHub] [bval] dependabot[bot] opened a new pull request, #33: Bump mockito-core from 1.10.19 to 5.1.1

dependabot[bot] opened a new pull request, #33:
URL: https://github.com/apache/bval/pull/33

   Bumps [mockito-core](https://github.com/mockito/mockito) from 1.10.19 to 5.1.1.
   <details>
   <summary>Release notes</summary>
   <p><em>Sourced from <a href="https://github.com/mockito/mockito/releases">mockito-core's releases</a>.</em></p>
   <blockquote>
   <h2>v5.1.1</h2>
   <p><!-- raw HTML omitted --><!-- raw HTML omitted --><em>Changelog generated by <a href="https://github.com/shipkit/shipkit-changelog">Shipkit Changelog Gradle Plugin</a></em><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
   <h4>5.1.1</h4>
   <ul>
   <li>2023-01-30 - <a href="https://github.com/mockito/mockito/compare/v5.1.0...v5.1.1">1 commit(s)</a> by Andriy Redko</li>
   <li>StackWalker.Option not found on Mockito 5.1.0 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2891">#2891</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2891">mockito/mockito#2891</a>)</li>
   <li>StackWalker.Option not found on Mockito 5.1.0 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2890">#2890</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2890">mockito/mockito#2890</a>)</li>
   </ul>
   <h2>v5.1.0</h2>
   <p><!-- raw HTML omitted --><!-- raw HTML omitted --><em>Changelog generated by <a href="https://github.com/shipkit/shipkit-changelog">Shipkit Changelog Gradle Plugin</a></em><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
   <h4>5.1.0</h4>
   <ul>
   <li>2023-01-29 - <a href="https://github.com/mockito/mockito/compare/v5.0.0...v5.1.0">12 commit(s)</a> by Andriy Redko, Ashley, Róbert Papp, Stephan Schroevers, Tim te Beek, dependabot[bot]</li>
   <li>Fixes some mistakes and missing details in documentation [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2889">#2889</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2889">mockito/mockito#2889</a>)</li>
   <li>Bump com.diffplug.spotless from 6.13.0 to 6.14.0 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2888">#2888</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2888">mockito/mockito#2888</a>)</li>
   <li>Clean up JDK-8 related code [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2883">#2883</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2883">mockito/mockito#2883</a>)</li>
   <li>Feat: reified mock overloads [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2882">#2882</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2882">mockito/mockito#2882</a>)</li>
   <li>Clean up JDK-8 related code [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2879">#2879</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2879">mockito/mockito#2879</a>)</li>
   <li>Bump assertj-core from 3.24.1 to 3.24.2 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2875">#2875</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2875">mockito/mockito#2875</a>)</li>
   <li>Make sure the tests use mock maker with intended member accessor [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2872">#2872</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2872">mockito/mockito#2872</a>)</li>
   <li>Bump com.diffplug.spotless from 6.12.1 to 6.13.0 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2871">#2871</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2871">mockito/mockito#2871</a>)</li>
   <li>Remove broken link from <code>CONTRIBUTING.md</code> [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2870">#2870</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2870">mockito/mockito#2870</a>)</li>
   <li>Update outdated badge 3.x to 5.x [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2869">#2869</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2869">mockito/mockito#2869</a>)</li>
   <li>Broken link in <code>CONTRIBUTING.md</code> [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2868">#2868</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2868">mockito/mockito#2868</a>)</li>
   <li>Set current version to 5.x in README and highlight changes [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2867">#2867</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2867">mockito/mockito#2867</a>)</li>
   <li>Annotate <code>Mockito#{mock,spy}(T... reified)</code> with <code>@SafeVarargs</code> [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2866">#2866</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2866">mockito/mockito#2866</a>)</li>
   <li>Make sure the tests use mock maker with intended member accessor [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2855">#2855</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2855">mockito/mockito#2855</a>)</li>
   <li>Improve examples for InOrder [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2843">#2843</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2843">mockito/mockito#2843</a>)</li>
   </ul>
   <h2>v5.0.0</h2>
   <h1>Mockito 5: prepare for future JDK versions</h1>
   <p>For a while now, we have seen an increase in problems/incompatibilities with recent versions of the JDK due to our usage of JVM-internal API.
   Most notably, JDK 17 made some changes which are incompatible with the current subclass mockmaker.
   Therefore, to prepare for the future of JDK, we are making some core changes to ensure Mockito keeps on working.</p>
   <h2>Switch the default mockmaker to <code>mockito-inline</code></h2>
   <p>Back in Mockito 2.7.6, we published a new mockmaker based on the &quot;inline bytecode&quot; principle.
   This mockmaker creates mocks manipulating bytecode equivalent within the original class such that its method implementations hook into the normal Mockito machinery.
   As a comparison, the subclass mockmaker generates &quot;real&quot; subclasses for mocks, to mimic the same behavior.
   While the approaches are similar, the inline mockmaker avoids certain restrictions that the JDK imposes.
   For example, it does not violate module boundaries (introduced in JDK 9, but more heavily used in JDK 17) and avoids the leaking of the creation of the subclass.</p>
   <p>Massive thanks to community member <a href="https://github.com/reta"><code>@​reta</code></a> who implemented this change.</p>
   <p>Note: this does not affect <code>mockito-android</code> nor testing on Android.</p>
   <h3>When should I still be using the subclass mockmaker?</h3>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a href="https://github.com/mockito/mockito/commit/50b21cf68b400a29369de58b9286d29e368212a7"><code>50b21cf</code></a> StackWalker.Option not found on Mockito 5.1.0 (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2891">#2891</a>)</li>
   <li><a href="https://github.com/mockito/mockito/commit/19ab3ea8389d215621b256e055987df204f400e4"><code>19ab3ea</code></a> Fixes some mistakes and missing details in documentation (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2889">#2889</a>)</li>
   <li><a href="https://github.com/mockito/mockito/commit/b47bab2970a7f9c782527ed90da2a6668f25409c"><code>b47bab2</code></a> Bump com.diffplug.spotless from 6.13.0 to 6.14.0 (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2888">#2888</a>)</li>
   <li><a href="https://github.com/mockito/mockito/commit/4775c67fe3569bbb735877e101b5f8a7889788f9"><code>4775c67</code></a> Clean up JDK-8 related code (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2883">#2883</a>)</li>
   <li><a href="https://github.com/mockito/mockito/commit/91223f830552ce3bb5daf7095f4f30767e072b96"><code>91223f8</code></a> Feat: reified mock overloads (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2882">#2882</a>)</li>
   <li><a href="https://github.com/mockito/mockito/commit/96452fa7fb1a297323dfd998953489deeca64e28"><code>96452fa</code></a> Make sure the tests use mock maker with intended member accessor (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2872">#2872</a>)</li>
   <li><a href="https://github.com/mockito/mockito/commit/1418769a9f89060f7035a48094d0bb2eba1e0ec5"><code>1418769</code></a> Bump assertj-core from 3.24.1 to 3.24.2 (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2875">#2875</a>)</li>
   <li><a href="https://github.com/mockito/mockito/commit/f4d7c346b1783c4a14aa8905ec96aa16f9f2fdd5"><code>f4d7c34</code></a> Bump com.diffplug.spotless from 6.12.1 to 6.13.0 (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2871">#2871</a>)</li>
   <li><a href="https://github.com/mockito/mockito/commit/23e344ec7b7c11743331ace30f26c21da12767ba"><code>23e344e</code></a> Remove broken link from <code>CONTRIBUTING.md</code> (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2870">#2870</a>)</li>
   <li><a href="https://github.com/mockito/mockito/commit/f2a47c35b8b16a8b1c560b9d93bc3cce62a3e310"><code>f2a47c3</code></a> Improve examples for InOrder (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2843">#2843</a>)</li>
   <li>Additional commits viewable in <a href="https://github.com/mockito/mockito/compare/v1.10.19...v5.1.1">compare view</a></li>
   </ul>
   </details>
   <br />
   
   
   [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.mockito:mockito-core&package-manager=maven&previous-version=1.10.19&new-version=5.1.1)](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>


-- 
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-unsubscribe@bval.apache.org

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


[GitHub] [bval] tandraschko closed pull request #33: Bump mockito-core from 1.10.19 to 5.1.1

Posted by "tandraschko (via GitHub)" <gi...@apache.org>.
tandraschko closed pull request #33: Bump mockito-core from 1.10.19 to 5.1.1
URL: https://github.com/apache/bval/pull/33


-- 
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-unsubscribe@bval.apache.org

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


[GitHub] [bval] dependabot[bot] commented on pull request #33: Bump mockito-core from 1.10.19 to 5.1.1

Posted by "dependabot[bot] (via GitHub)" <gi...@apache.org>.
dependabot[bot] commented on PR #33:
URL: https://github.com/apache/bval/pull/33#issuecomment-1451626899

   OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting `@dependabot ignore this major version` or `@dependabot ignore this minor version`. You can also ignore all major, minor, or patch releases for a dependency by adding an [`ignore` condition](https://docs.github.com/en/code-security/supply-chain-security/configuration-options-for-dependency-updates#ignore) with the desired `update_types` to your config file.
   
   If you change your mind, just re-open this PR and I'll resolve any conflicts on it.


-- 
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-unsubscribe@bval.apache.org

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


[GitHub] [bval] tandraschko commented on pull request #33: Bump mockito-core from 1.10.19 to 5.1.1

Posted by "tandraschko (via GitHub)" <gi...@apache.org>.
tandraschko commented on PR #33:
URL: https://github.com/apache/bval/pull/33#issuecomment-1451626813

   updated manually and fixed method call


-- 
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-unsubscribe@bval.apache.org

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