Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): update moka requirement from 0.11.2 to 0.12.8 #670

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 8, 2024

Updates the requirements on moka to permit the latest version.

Changelog

Sourced from moka's changelog.

Version 0.12.8

Fixed

  • Avoid to use recent versions (v0.1.12 or newer) of triomphe crate to keep our MSRV (Minimum Supported Rust Version) at Rust 1.65 (#426[gh-pull-0426], by [@​eaufavor][gh-eaufavor]).
  • docs: Fix per-entry expiration policy documentation (#421[gh-pull-0421], by [@​arcstur][gh-arcstur]).

Version 0.12.7

Changed

  • Ensure a single call to run_pending_tasks to evict as many entries as possible from the cache (#417[gh-pull-0417]).

Version 0.12.6

Fixed

  • Fixed a bug in future::Cache that pending run_pending_tasks calls may cause infinite busy loop in an internal schedule_write_op method (#412[gh-issue-0412]):
    • This bug was introduced in v0.12.0 when the background threads were removed from future::Cache.
    • This bug can occur when run_pending_task method is called by user code while cache is receiving a very high number of concurrent cache write operations. (e.g. insert, get_with, invalidate etc.)
    • When it occurs, the schedule_write_op method will be spinning in a busy loop forever, causing high CPU usage and all other async tasks to be starved.

Changed

  • Upgraded async-lock crate used by future::Cache from v2.4 to the latest v3.3.

Version 0.12.5

Added

  • Added support for a plain LRU (Least Recently Used) eviction policy (#390[gh-pull-0390]):
    • The LRU policy is enabled by calling the eviction_policy method of the cache builder with a policy obtained by EvictionPolicy::lru function.

... (truncated)

Commits
  • ebf2610 Merge pull request #438 from moka-rs/prepare-0.12.8
  • 00c987d Update the change log
  • f61dfc5 Bump the version to 0.12.8
  • 5a0cc07 Merge pull request #437 from moka-rs/run-cirrusci-only-by-cron
  • 36aa7d4 CI: Run Cirrus CI only by cron
  • 4b83184 Merge pull request #436 from moka-rs/remove-js-feature
  • bf10178 Remove an experimental js feature
  • 8f19775 Merge pull request #435 from moka-rs/ci-remove-cargo-tarpaulin
  • 5f19d5f Remove the CI for cargo tarpaulin + Coveralls
  • 0476097 Merge pull request #434 from moka-rs/fix-ci-2024-07-06/v0.12
  • Additional commits viewable in compare view

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 commands and options

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)

Updates the requirements on [moka](https://github.com/moka-rs/moka) to permit the latest version.
- [Changelog](https://github.com/moka-rs/moka/blob/main/CHANGELOG.md)
- [Commits](moka-rs/moka@v0.11.2...v0.12.8)

---
updated-dependencies:
- dependency-name: moka
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Jul 8, 2024
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 rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants