Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 4, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
moka dependencies minor =0.11.3 -> =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])

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.

@Turbo87
Copy link
Member

Turbo87 commented Oct 6, 2023

closing in favor of #7075

@Turbo87 Turbo87 closed this Oct 6, 2023
@renovate
Copy link
Contributor Author

renovate bot commented Oct 6, 2023

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (=0.12.1). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/moka-0.x branch October 6, 2023 10:29
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.

1 participant