Skip to content

Commit e9a42c1

Browse files
committed
Update the changelog
Signed-off-by: Kemal Akkoyun <kemal.akkoyun@datadoghq.com>
1 parent c7bbfa4 commit e9a42c1

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

CHANGELOG.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,26 @@
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

0 commit comments

Comments
 (0)