Skip to content

Commit

Permalink
Bump the version to v0.12.2. Update the change log
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsuya6502 committed Nov 19, 2023
1 parent 7da2a64 commit 843b1b2
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Moka Cache — Change Log

## Version 0.12.2

### Fixed

- Prevent timing issues that cause inconsistencies between the cache's internal data
structures ([#348][gh-pull-0348]):
- e.g. If you insert the same key twice quickly, once when the cache is full and
a second time when there is room in the cache, the key may not remain in the
cache after the second insertion. However, the `entry_count` method may return
a non zero number after calling the `invalidate_all` method.


## Version 0.12.1

### Fixed
Expand Down Expand Up @@ -738,6 +750,7 @@ The minimum supported Rust version (MSRV) is now 1.51.0 (Mar 25, 2021).
[gh-issue-0034]: https://github.com/moka-rs/moka/issues/34/
[gh-issue-0031]: https://github.com/moka-rs/moka/issues/31/

[gh-pull-0348]: https://github.com/moka-rs/moka/pull/348/
[gh-pull-0331]: https://github.com/moka-rs/moka/pull/331/
[gh-pull-0316]: https://github.com/moka-rs/moka/pull/316/
[gh-pull-0309]: https://github.com/moka-rs/moka/pull/309/
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "moka"
version = "0.12.1"
version = "0.12.2"
edition = "2021"
# Rust 1.65 was released on Nov 3, 2022.
rust-version = "1.65"
Expand Down
2 changes: 1 addition & 1 deletion MIGRATION-GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Migrating to v0.12 from a prior version

v0.12.0 has major breaking changes on the API and internal behavior. This section
v0.12.0 had major breaking changes on the API and internal behavior. This section
describes the code changes required to migrate to v0.12.0.

### Highlights v0.12
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fmoka-rs%2Fmoka.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fmoka-rs%2Fmoka?ref=badge_shield)

> **note**
> `v0.12.0` has major breaking changes on the API and internal behavior. Please read
> `v0.12.0` had major breaking changes on the API and internal behavior. Please read
> the [MIGRATION-GUIDE.md][migration-guide-v012] for the details.
* * *
Expand Down Expand Up @@ -118,7 +118,7 @@ routers. Here are some highlights:
## Recent Changes

> **Note**
> `v0.12.0` has major breaking changes on the API and internal behavior. Please read
> `v0.12.0` had major breaking changes on the API and internal behavior. Please read
> the [MIGRATION-GUIDE.md][migration-guide-v012] for the details.
- [MIGRATION-GUIDE.md][migration-guide-v012]
Expand Down

0 comments on commit 843b1b2

Please sign in to comment.