Notev0.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.
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])
Version 0.11.3
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])
Version 0.11.2
Bumped the minimum supported Rust version (MSRV) to 1.65 (Nov 3, 2022).
(#275[gh-pull-0275])
... (truncated)
Commits
0b160cd Merge pull request #326 from moka-rs/prepare-v0.12.0
42149b0 Remove invalidator_enabled field from sync::base_cache::Inner
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 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)
Bumps moka from 0.11.0 to 0.12.0.
Changelog
Sourced from moka's changelog.
... (truncated)
Commits
0b160cd
Merge pull request #326 from moka-rs/prepare-v0.12.042149b0
Removeinvalidator_enabled
field fromsync::base_cache::Inner
6dce691
Update the README and CHANGELOG13bc37f
Bump the version to v0.12.0dccc75b
Merge pull request #325 from peter-scholtens/patch-15428903
typo in weblink51e099c
Merge pull request #324 from moka-rs/get-timestamp-after-locking650be41
Update the change log70880ed
Update the doc forExpiry
trait for clarityffb71de
Fix an issue that the last modified time might be get a little too earlyDependabot 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