Skip to content

Commit

Permalink
Update the changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsuya6502 committed Apr 24, 2023
1 parent 27b4b4c commit e7359ec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

## Version 0.11.0

### Breaking Changes

- (Will change the return type of the `invalidate` method from `()` to `Option<V>`)

### Added

- Added support for per-entry expiration. ([#248][gh-pull-0248])
- Added support for per-entry expiration ([#248][gh-pull-0248]):
- In addition to the existing TTL and TTI (time-to-idle) expiration times that
apply to all entries in the cache, the `sync` and `future` caches can now allow
different expiration times for individual entries.
- Added the `remove` method to the `sync` and `future` caches
([#255](gh-issue-0255)):
- Like the `invalidate` method, this method discards any cached value for the
key, but returns a clone of the value.

### Removed

Expand Down Expand Up @@ -623,6 +623,7 @@ The minimum supported Rust version (MSRV) is now 1.51.0 (2021-03-25).
[gh-Swatinem]: https://github.com/Swatinem
[gh-tinou98]: https://github.com/tinou98

[gh-issue-0255]: https://github.com/moka-rs/moka/issues/255/
[gh-issue-0252]: https://github.com/moka-rs/moka/issues/252/
[gh-issue-0243]: https://github.com/moka-rs/moka/issues/243/
[gh-issue-0242]: https://github.com/moka-rs/moka/issues/242/
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ The following table shows the trade-offs between the different cache implementat
| Bounded by the maximum number of entries ||||
| Bounded by the total weighted size of entries ||||
| Near optimal hit ratio | ✅ TinyLFU | ✅ TinyLFU | ✅ CLOCK-Pro |
| Cache-level expiration policies (Time-to-live and time-to-idle) ||||
| Cache-level expiration policies (time-to-live and time-to-idle) ||||
| Per-entry variable expiration ||||
| Eviction listener ||||
| Per-key, atomic insertion |`get_with` family methods |||
Expand Down

0 comments on commit e7359ec

Please sign in to comment.