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

Update Rust crate moka to v0.12.1 - autoclosed #119

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Oct 11, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
moka dependencies minor =0.11.2 -> =0.12.1

Release Notes

moka-rs/moka (moka)

v0.12.1

Compare Source

Fixed
  • Fixed memory leak in future::Cache that occurred when get_with(),
    entry().or_insert_with(), and similar methods were used ([#​329][gh-issue-0329]).
    • This bug was introduced in v0.12.0. Versions prior to v0.12.0 do not
      have this bug.
Changed
  • (Performance) Micro-optimize ValueInitializer ([#​331][gh-pull-0331], by
    [@​Swatinem][gh-Swatinem]).

v0.12.0

Compare Source

Note
v0.12.0 has major breaking changes on the API and internal behavior.

  • sync caches are no longer enabled by default: Please use a crate feature
    sync to enable it.

  • No more background threads: All cache types future::Cache, sync::Cache, and
    sync::SegmentedCache no longer spawn background threads.

    • The scheduled-thread-pool crate was removed from the dependency.
    • Because of this change, many private methods and some public methods under the
      future module were converted to async methods. You may need to add .await
      to your code for those methods.
  • Immediate notification delivery: The notification::DeliveryMode enum for the
    eviction listener was removed. Now all cache types behave as if the Immediate
    delivery mode is specified.

Please read the MIGRATION-GUIDE.md for more details.

Changed
  • Removed the thread pool from future cache ([#​294][gh-pull-0294]) and sync
    caches ([#​316][gh-pull-0316]).
  • Improved async cancellation safety of future::Cache. ([#​309][gh-pull-0309])
Fixed
  • Fixed a bug that an internal do_insert_with_hash method gets the current
    Instant too early when eviction listener is enabled. ([#​322][gh-issue-0322])

v0.11.3

Compare Source

Fixed
  • Fixed a bug in sync::Cache and sync::SegmentedCache where memory usage kept
    increasing when the eviction listener was set with the Immediate delivery mode.
    ([#​295][gh-pull-0295])

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@vercel
Copy link

vercel bot commented Oct 11, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
crates-io ❌ Failed (Inspect) Oct 11, 2023 11:01pm

@stackblitz
Copy link

stackblitz bot commented Oct 11, 2023

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@changeset-bot
Copy link

changeset-bot bot commented Oct 11, 2023

⚠️ No Changeset found

Latest commit: d481094

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@renovate renovate bot changed the title Update Rust crate moka to v0.12.1 Update Rust crate moka to v0.12.1 - autoclosed Oct 15, 2023
@renovate renovate bot closed this Oct 15, 2023
@renovate renovate bot deleted the renovate/moka-0.x branch October 15, 2023 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants