From b3883826f93e13ad7b40b4facbec8d660703171c Mon Sep 17 00:00:00 2001 From: Jerome Froelich Date: Sun, 11 Sep 2022 10:28:29 -0400 Subject: [PATCH] Prepare 0.8.0 release --- CHANGELOG.md | 5 +++++ Cargo.toml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d369b24..cfa578b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ ## Unreleased +## [v0.8.0](https://github.com/jeromefroe/lru-rs/tree/0.8.0) - 2022-09-11 + +- Use `NonZeroUsize` for LRU capacity instead of usize. +- Add `get_or_insert_mut` method which is similiar to `get_or_insert` but returns a mutable + reference instead of an immutable reference. - Add `LruCache::promote` and `LruCache::demote` API to manipulate LRU order of the entry directly. ## [v0.7.8](https://github.com/jeromefroe/lru-rs/tree/0.7.8) - 2022-07-19 diff --git a/Cargo.toml b/Cargo.toml index 9059478..9b8d755 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lru" -version = "0.7.8" +version = "0.8.0" authors = ["Jerome Froelich "] description = "A LRU cache implementation" homepage = "https://github.com/jeromefroe/lru-rs"