Skip to content

v0.18.0

Latest
Compare
Choose a tag to compare
@MrCroxx MrCroxx released this 13 Jul 04:24
· 10 commits to main since this release
fa04556

Releases

crate version
foyer 0.18.0
foyer-common 0.18.0
foyer-memory 0.18.0
foyer-storage 0.18.0
foyer-bench 0.18.0

Changes

  • Introduce SIEVE algorithm for in-memory cache eviction policy.
  • Wrap key and value with Arc inside foyer implementation to be compatible with more features. fetch() doesn't requires keys to be Clone anymore.
  • Expose internal foyer error types.
  • Fix delete() implementation for large object disk cache to prevent from phantom entries.
  • Remove unnecessary and confusing with_flush() API.
  • Use "cargo xtask"-style for developing, yank make system.
  • Bump MSRV to v1.82.0

What's Changed

  • test: pass clippy test on latest stable toolchain by @MrCroxx in #1008
  • test: add ut for large entry insertion by @MrCroxx in #1007
  • refactor: refine disk cache engine builder by @MrCroxx in #1009
  • fix: use BuilderHasherDefaultahash::AHahser as default hasher by @MrCroxx in #1012
  • refactor: re-export BuildHasherDefault as DefaultHasher by @MrCroxx in #1013
  • chore: bump foyer v0.17.3 (#1015) by @MrCroxx in #1017
  • ci: remove cargo sort check since it conflicts with taplo by @MrCroxx in #1020
  • feat: make clap support a separate feature, impl more by @MrCroxx in #1019
  • fix: use open metrics naming, fix dashboard, upgrade mixtrics by @MrCroxx in #1024
  • chore: switch mixtrics to release v0.2.0 by @MrCroxx in #1025
  • feat: add interface to check is disk cache is enabled by @MrCroxx in #1027
  • fix: make clippy happy with Rust v1.88.0 by @MrCroxx in #1028
  • fix: use xxhash64 by default for consistent hash over runs by @MrCroxx in #1029
  • ci: clear dir before each fuzzy test by @MrCroxx in #1031
  • chore: cherry pick release v0.17.4 changelog (#1032) by @MrCroxx in #1034
  • chore: refine dependencies and bump msrv to v1.82.0 by @MrCroxx in #1044
  • feat: implement SIEVE eviction policy for foyer-memory by @KarinaMilet in #1041
  • refactor: wrap hybrid cache field with Arc by @MrCroxx in #1048
  • build: replace makefile ecosystem with cargo x-task eco by @MrCroxx in #1049
  • build: complete yank makefile, update readme and pr template by @MrCroxx in #1050
  • refactor: remove unnecessary and misleading with_flush() API by @MrCroxx in #1052
  • chore: fix some tiny typos by @MrCroxx in #1053
  • fix: fix delete by recording tombstones in lodc indexer by @MrCroxx in #1054
  • chore: downgrade no dedicated runtime log to info level, with hints by @MrCroxx in #1055
  • feat: impl auto close for hybrid cache by @MrCroxx in #1056
  • fix: move some storage metrics to store instead of each engine by @MrCroxx in #1057
  • refactor: expose internal error for hybrid cache by @MrCroxx in #1060
  • refactor: refine error downcast related API by @MrCroxx in #1061
  • chore: release foyer v0.18.0 by @MrCroxx in #1065

New Contributors

Thank you, @KarinaMilet . 🥰

Full Changelog: v0.17.4...v0.18.0