Skip to content

Commit

Permalink
Merge pull request #62 from Ptrskay3/release/0.7.0
Browse files Browse the repository at this point in the history
release/0.7.0
  • Loading branch information
Ptrskay3 authored Jul 20, 2024
2 parents e6cb09c + 8ee8385 commit 7c46c0b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file.

# [Unreleased]

# [0.7.0] - 2024-07-20

### Changed

- `MakeDefaultHandle::make_default_handle` now takes `self` as argument. This allows custom implementor structs to hold non-static data. [\#49]
Expand Down Expand Up @@ -116,7 +118,7 @@ All notable changes to this project will be documented in this file.

First version.

[unreleased]: https://github.com/Ptrskay3/axum-prometheus/compare/release/0.6.1..master
[unreleased]: https://github.com/Ptrskay3/axum-prometheus/compare/release/0.7.0..master
[0.2.0]: https://github.com/Ptrskay3/axum-prometheus/compare/9fb600d7d9ac2e6d38e6399119fc7ba7f25d5fe0...756dc67bf2baae2de406e012bdaa2334ce0fcdcb
[0.3.0]: https://github.com/Ptrskay3/axum-prometheus/compare/axum-0.6...release/0.3
[0.3.1]: https://github.com/Ptrskay3/axum-prometheus/compare/release/0.3...release/0.3.1
Expand All @@ -127,4 +129,5 @@ First version.
[0.5.0]: https://github.com/Ptrskay3/axum-prometheus/compare/release/0.4.0...release/0.5.0
[0.6.0]: https://github.com/Ptrskay3/axum-prometheus/compare/release/0.5.0...release/0.6.0
[0.6.1]: https://github.com/Ptrskay3/axum-prometheus/compare/release/0.6.0...release/0.6.1
[0.7.0]: https://github.com/Ptrskay3/axum-prometheus/compare/release/0.6.1...release/0.7.0
[\#28]: https://github.com/Ptrskay3/axum-prometheus/pull/28
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "axum-prometheus"
version = "0.6.1"
version = "0.7.0"
edition = "2021"
homepage = "https://github.com/Ptrskay3/axum-prometheus"
license = "MIT"
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ AXUM_HTTP_RESPONSE_BODY_SIZE = "my_app_response_body_size"
| ------------ | ------------- |
| `0.5` | `0.1` |
| `0.6` | `0.2`, `0.3`, `0.4` |
| `0.7` | `0.5`, `0.6` |
| `0.7` | `0.5`, `0.6`, `0.7` |

#### MSRV

Expand All @@ -67,7 +67,7 @@ Add `axum-prometheus` to your `Cargo.toml`.

```toml
[dependencies]
axum-prometheus = "0.6.1"
axum-prometheus = "0.7.0"
```

Then you instantiate the prometheus middleware:
Expand Down Expand Up @@ -134,7 +134,7 @@ This crate currently has no higher level API for the `push-gateway` feature. If
This crate may be used with other exporters than Prometheus. First, disable the default features:

```toml
axum-prometheus = { version = "0.6.1", default-features = false }
axum-prometheus = { version = "0.7.0", default-features = false }
```

Then implement the `MakeDefaultHandle` for the provider you'd like to use. For `StatsD`:
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
//! Add `axum-prometheus` to your `Cargo.toml`.
//! ```not_rust
//! [dependencies]
//! axum-prometheus = "0.6.1"
//! axum-prometheus = "0.7.0"
//! ```
//!
//! Then you instantiate the prometheus middleware:
Expand Down Expand Up @@ -98,7 +98,7 @@
//! This crate may be used with other exporters than Prometheus. First, disable the default features:
//!
//! ```toml
//! axum-prometheus = { version = "0.6.1", default-features = false }
//! axum-prometheus = { version = "0.7.0", default-features = false }
//! ```
//!
//! Then implement the `MakeDefaultHandle` for the provider you'd like to use. For `StatsD`:
Expand Down

0 comments on commit 7c46c0b

Please sign in to comment.