dependabot[bot] opened a new pull request, #3689:
URL: https://github.com/apache/incubator-opendal/pull/3689

   Bumps [moka](https://github.com/moka-rs/moka) from 0.10.4 to 0.12.1.
   <details>
   <summary>Changelog</summary>
   <p><em>Sourced from <a 
href="https://github.com/moka-rs/moka/blob/main/CHANGELOG.md";>moka's 
changelog</a>.</em></p>
   <blockquote>
   <h2>Version 0.12.1</h2>
   <h3>Fixed</h3>
   <ul>
   <li>Fixed memory leak in <code>future::Cache</code> that occurred when 
<code>get_with()</code>,
   <code>entry().or_insert_with()</code>, and similar methods were used (<a 
href="https://redirect.github.com/moka-rs/moka/issues/329";>#329</a>[gh-issue-0329]).
   <ul>
   <li>This bug was introduced in <code>v0.12.0</code>. Versions prior to 
<code>v0.12.0</code> do not
   have this bug.</li>
   </ul>
   </li>
   </ul>
   <h3>Changed</h3>
   <ul>
   <li>(Performance)  Micro-optimize <code>ValueInitializer</code> (<a 
href="https://redirect.github.com/moka-rs/moka/issues/331";>#331</a>[gh-pull-0331],
 by
   [<a 
href="https://github.com/Swatinem";><code>@​Swatinem</code></a>][gh-Swatinem]).</li>
   </ul>
   <h2>Version 0.12.0</h2>
   <blockquote>
   <p><strong>Note</strong>
   <code>v0.12.0</code> has major breaking changes on the API and internal 
behavior.</p>
   </blockquote>
   <ul>
   <li>
   <p><strong><code>sync</code> caches are no longer enabled by 
default</strong>: Please use a crate feature
   <code>sync</code> to enable it.</p>
   </li>
   <li>
   <p><strong>No more background threads</strong>: All cache types 
<code>future::Cache</code>, <code>sync::Cache</code>, and
   <code>sync::SegmentedCache</code> no longer spawn background threads.</p>
   <ul>
   <li>The <code>scheduled-thread-pool</code> crate was removed from the 
dependency.</li>
   <li>Because of this change, many private methods and some public methods 
under the
   <code>future</code> module were converted to <code>async</code> methods. You 
may need to add <code>.await</code>
   to your code for those methods.</li>
   </ul>
   </li>
   <li>
   <p><strong>Immediate notification delivery</strong>: The 
<code>notification::DeliveryMode</code> enum for the
   eviction listener was removed. Now all cache types behave as if the 
<code>Immediate</code>
   delivery mode is specified.</p>
   </li>
   </ul>
   <p>Please read the <a 
href="https://github.com/moka-rs/moka/blob/main/MIGRATION-GUIDE.md#migrating-to-v0120-from-a-prior-version";>MIGRATION-GUIDE.md</a>
 for more details.</p>
   <h3>Changed</h3>
   <ul>
   <li>Removed the thread pool from <code>future</code> cache (<a 
href="https://redirect.github.com/moka-rs/moka/issues/294";>#294</a>[gh-pull-0294])
 and <code>sync</code>
   caches (<a 
href="https://redirect.github.com/moka-rs/moka/issues/316";>#316</a>[gh-pull-0316]).</li>
   <li>Improved async cancellation safety of <code>future::Cache</code>. (<a 
href="https://redirect.github.com/moka-rs/moka/issues/309";>#309</a>[gh-pull-0309])</li>
   </ul>
   <h3>Fixed</h3>
   <ul>
   <li>Fixed a bug that an internal <code>do_insert_with_hash</code> method 
gets the current
   <code>Instant</code> too early when eviction listener is enabled. (<a 
href="https://redirect.github.com/moka-rs/moka/issues/322";>#322</a>[gh-issue-0322])</li>
   </ul>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a 
href="https://github.com/moka-rs/moka/commit/5c9dea6941fce8bf0ef983b3e19ded1ebc4ccd72";><code>5c9dea6</code></a>
 Merge pull request <a 
href="https://redirect.github.com/moka-rs/moka/issues/332";>#332</a> from 
moka-rs/prepare-v0.12.1</li>
   <li><a 
href="https://github.com/moka-rs/moka/commit/616cb6cd72dbae30e510932664e5822586006295";><code>616cb6c</code></a>
 Merge pull request <a 
href="https://redirect.github.com/moka-rs/moka/issues/331";>#331</a> from 
Swatinem/opt-waiterguard</li>
   <li><a 
href="https://github.com/moka-rs/moka/commit/70f0132d7c94ce28a9fe2f9ff8b095376fb745ba";><code>70f0132</code></a>
 Make <code>invalidate_with_hash</code> private</li>
   <li><a 
href="https://github.com/moka-rs/moka/commit/546fcb2c1e81abe04ed392db0443e39eca72f0d9";><code>546fcb2</code></a>
 Update the change log</li>
   <li><a 
href="https://github.com/moka-rs/moka/commit/edcc240a969863d91c6ca285b1bc83facf4b1281";><code>edcc240</code></a>
 assert that all futures are Send</li>
   <li><a 
href="https://github.com/moka-rs/moka/commit/995070449e5f5c54da6725ef55449a686433a2b0";><code>9950704</code></a>
 Avoid a lock around <code>replace_if</code></li>
   <li><a 
href="https://github.com/moka-rs/moka/commit/d1aa41f43df4c453200c2a412f3fd179fd6aa80a";><code>d1aa41f</code></a>
 Also simplify sync implementation</li>
   <li><a 
href="https://github.com/moka-rs/moka/commit/f2bf79e77d2ba55e0f88d7597bb8a07d9390926e";><code>f2bf79e</code></a>
 Micro-optimize ValueInitializer</li>
   <li><a 
href="https://github.com/moka-rs/moka/commit/b3074fc8965a0386b6666a1c6b86bb87b67dd52c";><code>b3074fc</code></a>
 Merge pull request <a 
href="https://redirect.github.com/moka-rs/moka/issues/330";>#330</a> from 
moka-rs/fix-get-with-in-future-cache</li>
   <li><a 
href="https://github.com/moka-rs/moka/commit/233e53dbe797efd1ceaa719d3ca6a2275e6982ff";><code>233e53d</code></a>
 Update the change log</li>
   <li>Additional commits viewable in <a 
href="https://github.com/moka-rs/moka/compare/v0.10.4...v0.12.1";>compare 
view</a></li>
   </ul>
   </details>
   <br />
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=moka&package-manager=cargo&previous-version=0.10.4&new-version=0.12.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 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to