Skip to content

Commit

Permalink
CHANGELOG: Extend
Browse files Browse the repository at this point in the history
  • Loading branch information
mxinden committed Nov 28, 2022
1 parent e87ef4b commit cb1c30a
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions CHANGELOG.md
Expand Up @@ -16,13 +16,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- Always use dynamic dispatch on Registry, i.e. remove generic type parameter `M` from `Registry`.

- Move`Encode` trait from `prometheus_client::encoding::text` to `prometheus_client::encoding`. See [PR 83].
- Always use dynamic dispatch on `Registry`, i.e. remove generic type parameter `M` from `Registry`. See [PR 105].
- Refactor encoding. See [PR 105].
- Introducing separate traits to encode
- value (e.g. `EncodeCounterValue`)
- label set (`EncodeLabelSet`), derivable for structs via `prometheus-client-derive-encode`
- label (`EncodeLabel`)
- label key (`EncodeLabelKey`)
- label value (`EncodeLabelValue`), derivable for enums via `prometheus-client-derive-encode`
- Encode as UTF-8 strings, not bytes. I.e. use `std::fmt::Write` instead of `std::io::Write`.
- Use signed integers for `Gauge` for compliance with OpenMetrics protobuf
format. See [PR 105].

[PR 83]: https://github.com/prometheus/client_rust/pull/83
[PR 85]: https://github.com/prometheus/client_rust/pull/85
[PR 96]: https://github.com/prometheus/client_rust/pull/96
[PR 105]: https://github.com/prometheus/client_rust/pull/105

## [0.18.1]

Expand Down

0 comments on commit cb1c30a

Please sign in to comment.