Skip to content

Commit

Permalink
chore: release foyer v0.13.0 (#811)
Browse files Browse the repository at this point in the history
* chore: release foyer v0.13.0

Signed-off-by: MrCroxx <[email protected]>

* chore: upgrade intrusive-collections dep

Signed-off-by: MrCroxx <[email protected]>

---------

Signed-off-by: MrCroxx <[email protected]>
  • Loading branch information
MrCroxx authored Dec 2, 2024
1 parent 026eea4 commit 54893fe
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 10 deletions.
17 changes: 15 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,17 @@ date: 2023-05-12T11:02:09+08:00

<!-- truncate -->

## Unreleased
## 2024-12-02

### Releases

| crate | version |
| - | - |
| foyer | 0.13.0 |
| foyer-common | 0.13.0 |
| foyer-memory | 0.13.0 |
| foyer-storage | 0.13.0 |
| foyer-bench | 0.13.0 |

### Changes

Expand All @@ -18,14 +28,17 @@ date: 2023-05-12T11:02:09+08:00
- Make most `Eviction` APIs safe, only acquire unsafe Rust while accessing algorithm managed per-entry state with `UnsafeCell`.
- Replace the "reinsertion" design with `release` with real "release last ref" design.
- Rename some APIs.
- Refine metrics framework:
- Replace `metrics` with customized metrics framework to support various metrics backend.
- Implement built-in metrics exporter that adapts to crate `prometheus`/`prometheus-client`/`opentelemetry`.

## 2024-10-11

### Releases

| crate | version |
| - | - |
| foyer | 0.12.2|
| foyer | 0.12.2 |
| foyer-common | 0.12.2 |
| foyer-intrusive | 0.12.2 |
| foyer-memory | 0.12.2 |
Expand Down
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ members = [
]

[workspace.package]
version = "0.13.0-dev"
version = "0.13.0"
edition = "2021"
rust-version = "1.81.0"
repository = "https://github.com/foyer-rs/foyer"
Expand Down Expand Up @@ -53,10 +53,10 @@ opentelemetry_0_26 = { package = "opentelemetry", version = "0.26" }
prometheus-client_0_22 = { package = "prometheus-client", version = "0.22" }

# foyer components
foyer-common = { version = "0.13.0-dev", path = "foyer-common" }
foyer-memory = { version = "0.13.0-dev", path = "foyer-memory" }
foyer-storage = { version = "0.13.0-dev", path = "foyer-storage" }
foyer = { version = "0.13.0-dev", path = "foyer" }
foyer-common = { version = "0.13.0", path = "foyer-common" }
foyer-memory = { version = "0.13.0", path = "foyer-memory" }
foyer-storage = { version = "0.13.0", path = "foyer-storage" }
foyer = { version = "0.13.0", path = "foyer" }

[workspace.lints.rust]
missing_docs = "warn"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@ Feel free to open a PR and add your projects here:
To use *foyer* in your project, add this line to the `dependencies` section of `Cargo.toml`.

```toml
foyer = "0.12"
foyer = "0.13"
```

If your project is using the nightly rust toolchain, the `nightly` feature needs to be enabled.

```toml
foyer = { version = "0.12", features = ["nightly"] }
foyer = { version = "0.13", features = ["nightly"] }
```

### Out-of-the-box In-memory Cache
Expand Down
2 changes: 1 addition & 1 deletion foyer-memory/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ fastrace = { workspace = true }
foyer-common = { workspace = true }
futures = "0.3"
hashbrown = { workspace = true }
intrusive-collections = { git = "https://github.com/foyer-rs/intrusive-rs", rev = "94cfac4701dbc0033b7bc27e31c46bf3a12d96d7" }
intrusive-collections = { package = "foyer-intrusive-collections", version = "0.10.0-dev" }
itertools = { workspace = true }
parking_lot = { workspace = true }
paste = "1"
Expand Down

0 comments on commit 54893fe

Please sign in to comment.