File tree Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 1
1
## Unreleased
2
2
3
+ ## 1.22.0 / 2025-04-07
4
+
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
24
+
3
25
## 1.21.1 / 2025-03-04
4
26
5
27
* [BUGFIX] prometheus: Revert of ` Inc` , ` Add` and ` Observe` cumulative metric CAS optimizations (#1661), causing regressions on low contention cases.
Original file line number Diff line number Diff line change 1
- 1.21.1
1
+ 1.22.0
You can’t perform that action at this time.
0 commit comments