json_exporter
json_exporter copied to clipboard
Bump github.com/prometheus/client_golang from 1.21.0 to 1.22.0
Bumps github.com/prometheus/client_golang from 1.21.0 to 1.22.0.
Release notes
Sourced from github.com/prometheus/client_golang's releases.
v1.22.0 - 2025-04-07
:warning: This release contains potential breaking change if you use experimental
zstdsupport introduce in #1496 :warning:Experimental support for
zstdon scrape was added, controlled by the requestAccept-Encodingheader. It was enabled by default since version 1.20, but now you need to add a blank import to enable it. 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, golang/go#62513 however, the work took longer than anticipated and it will be postponed to upcoming major Go versions.e.g.:
import ( _ "github.com/prometheus/client_golang/prometheus/promhttp/zstd" )
- [FEATURE] prometheus: Add new CollectorFunc utility #1724
- [CHANGE] Minimum required Go version is now 1.22 (we also test client_golang against latest go version - 1.24) #1738
- [FEATURE] api:
WithLookbackDeltaandWithStatsoptions have been added to API client. #1743- [CHANGE] :warning: promhttp: Isolate zstd support and klauspost/compress library use to promhttp/zstd package. #1765
- build(deps): bump golang.org/x/sys from 0.28.0 to 0.29.0 by
@dependabotin prometheus/client_golang#1720- build(deps): bump google.golang.org/protobuf from 1.36.1 to 1.36.3 by
@dependabotin prometheus/client_golang#1719- Update RELEASE.md by
@bwplotkain prometheus/client_golang#1721- chore(docs): Add links for the upstream PRs by
@kakkoyunin prometheus/client_golang#1722- Added tips on releasing client and checking with k8s. by
@bwplotkain prometheus/client_golang#1723- feat: Add new CollectorFunc utility by
@Saumya40-codesin prometheus/client_golang#1724- build(deps): bump google.golang.org/protobuf from 1.36.3 to 1.36.4 by
@dependabotin prometheus/client_golang#1725- build(deps): bump the github-actions group with 5 updates by
@dependabotin prometheus/client_golang#1726- Synchronize common files from prometheus/prometheus by
@prombotin prometheus/client_golang#1727- Synchronize common files from prometheus/prometheus by
@prombotin prometheus/client_golang#1731- build(deps): bump golang.org/x/sys from 0.29.0 to 0.30.0 by
@dependabotin prometheus/client_golang#1739- build(deps): bump google.golang.org/protobuf from 1.36.4 to 1.36.5 by
@dependabotin prometheus/client_golang#1740- Cleanup dependabot config by
@SuperQin prometheus/client_golang#1741- Upgrade Golang version v1.24 by
@dongjiang1989in prometheus/client_golang#1738- build(deps): bump the github-actions group with 2 updates by
@dependabotin prometheus/client_golang#1742- Merging 1.21 release back to main. by
@bwplotkain prometheus/client_golang#1744- Synchronize common files from prometheus/prometheus by
@prombotin prometheus/client_golang#1745- Add support for undocumented query options for API by
@mahendrapaipuriin prometheus/client_golang#1743- exp/api: Add experimental exp module; Add remote API with write client and handler. by
@bwplotkain prometheus/client_golang#1658- exp/api: Add accepted msg type validation to handler by
@saswatamcodein prometheus/client_golang#1750- build(deps): bump the github-actions group with 5 updates by
@dependabotin prometheus/client_golang#1751- build(deps): bump github.com/klauspost/compress from 1.17.11 to 1.18.0 by
@dependabotin prometheus/client_golang#1752- build(deps): bump github.com/google/go-cmp from 0.6.0 to 0.7.0 by
@dependabotin prometheus/client_golang#1753- exp: Reset snappy buf by
@saswatamcodein prometheus/client_golang#1756- Merge release 1.21.1 to main. by
@bwplotkain prometheus/client_golang#1762- exp: Add dependabot config by
@saswatamcodein prometheus/client_golang#1754- build(deps): bump peter-evans/create-pull-request from 7.0.7 to 7.0.8 in the github-actions group by
@dependabotin prometheus/client_golang#1764
... (truncated)
Changelog
Sourced from github.com/prometheus/client_golang's changelog.
1.22.0 / 2025-04-07
:warning: This release contains potential breaking change if you use experimental
zstdsupport introduce in #1496 :warning:Experimental support for
zstdon scrape was added, controlled by the requestAccept-Encodingheader. It was enabled by default since version 1.20, but now you need to add a blank import to enable it. 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, golang/go#62513 however, the work took longer than anticipated and it will be postponed to upcoming major Go versions.e.g.:
import ( _ "github.com/prometheus/client_golang/prometheus/promhttp/zstd" )
- [FEATURE] prometheus: Add new CollectorFunc utility #1724
- [CHANGE] Minimum required Go version is now 1.22 (we also test client_golang against latest go version - 1.24) #1738
- [FEATURE] api:
WithLookbackDeltaandWithStatsoptions have been added to API client. #1743- [CHANGE] :warning: promhttp: Isolate zstd support and klauspost/compress library use to promhttp/zstd package. #1765
1.21.1 / 2025-03-04
- [BUGFIX] prometheus: Revert of
Inc,AddandObservecumulative metric CAS optimizations (#1661), causing regressions on low contention cases.- [BUGFIX] prometheus: Fix GOOS=ios build, broken due to process_collector_* wrong build tags.
Commits
d50be25Cut 1.22.0 (#1793)1043db7Cut 1.22.0-rc.0 (#1768)e575c9cpromhttp: Isolate zstd support and klauspost/compress library use to promhttp...f2276aaMerge pull request #1764 from prometheus/dependabot/github_actions/github-act...9df772cbuild(deps): bump peter-evans/create-pull-requesta3548c5Merge pull request #1754 from saswatamcode/exp-eh60fd2b0Remove go.work file for now8f9d0deexp: Add dependabot configc5cf981Merge pull request #1762 from prometheus/release-1.218a42da3Fix ios build. (#1758)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)