Skip to content

Commit 1043db7

Browse files
authored
Cut 1.22.0-rc.0 (#1768)
* Initialize the release process Signed-off-by: Kemal Akkoyun <[email protected]> * Update the changelog Signed-off-by: Kemal Akkoyun <[email protected]> --------- Signed-off-by: Kemal Akkoyun <[email protected]>
1 parent e575c9c commit 1043db7

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

Diff for: CHANGELOG.md

+22
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
## Unreleased
22

3+
## 1.22.0-rc.0 / 2025-03-05
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+
325
## 1.21.1 / 2025-03-04
426
527
* [BUGFIX] prometheus: Revert of `Inc`, `Add` and `Observe` cumulative metric CAS optimizations (#1661), causing regressions on low contention cases.

Diff for: VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.21.1
1+
1.22.0-rc.0

0 commit comments

Comments
 (0)