File tree Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change 11## Unreleased
22
3- ## 1.22.0 / 2025-03-05
3+ ## 1.22.0-rc.0 / 2025-03-05
44
5- TBD
5+ :warning : This release contains potential breaking change if you use experimental ` zstd ` support introduce in #1496 :warning :
6+
7+ Experimental support for ` zstd ` on scrape was added, controlled by the request ` Accept-Encoding ` header.
8+ It was enabled by default since version 1.20, but now you need to add a blank import to enable it.
9+ The decision to make it opt-in by default was originally made because the Go standard library was expected to have default zstd support added soon,
10+ https://github.com/golang/go/issues/62513 however, the work took longer than anticipated and it will be postponed to upcoming major Go versions.
11+
12+
13+ e.g.:
14+ > ``` go
15+ > import (
16+ > _ " github.com/prometheus/client_golang/prometheus/promhttp/zstd"
17+ > )
18+ > ` ` `
19+
20+ * [FEATURE] prometheus: Add new CollectorFunc utility #1724
21+ * [CHANGE] Minimum required Go version is now 1.22 (we also test client_golang against latest go version - 1.24) #1738
22+ * [FEATURE] api: ` WithLookbackDelta` and ` WithStats` options have been added to API client. #1743
23+ * [CHANGE] :warning: promhttp: Isolate zstd support and klauspost/compress library use to promhttp/zstd package. #1765
624
725## 1.21.1 / 2025-03-04
826
You can’t perform that action at this time.
0 commit comments