Skip to content

Commit f8d17e8

Browse files
Update module github.com/prometheus/common to v0.70.1 (#222)
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [github.com/prometheus/common](https://redirect.github.com/prometheus/common) | `v0.67.5` → `v0.70.1` | ![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus%2fcommon/v0.70.1?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fprometheus%2fcommon/v0.67.5/v0.70.1?slim=true) | --- ### Release Notes <details> <summary>prometheus/common (github.com/prometheus/common)</summary> ### [`v0.70.1`](https://redirect.github.com/prometheus/common/releases/tag/v0.70.1) [Compare Source](https://redirect.github.com/prometheus/common/compare/v0.70.0...v0.70.1) #### What's Changed - Update CHANGELOG for v0.70.0 by [@&#8203;roidelapluie](https://redirect.github.com/roidelapluie) in [#&#8203;945](https://redirect.github.com/prometheus/common/pull/945) - config: clarify sensitive redirect headers match net/http by [@&#8203;roidelapluie](https://redirect.github.com/roidelapluie) in [#&#8203;924](https://redirect.github.com/prometheus/common/pull/924) - Synchronize common files from prometheus/prometheus by [@&#8203;prombot](https://redirect.github.com/prombot) in [#&#8203;946](https://redirect.github.com/prometheus/common/pull/946) - build(deps): bump actions/checkout from 7.0.0 to 7.0.1 by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in [#&#8203;950](https://redirect.github.com/prometheus/common/pull/950) - build(deps): bump actions/setup-go from 6.5.0 to 7.0.0 by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in [#&#8203;949](https://redirect.github.com/prometheus/common/pull/949) - build(deps): bump the codeql group with 4 updates by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in [#&#8203;948](https://redirect.github.com/prometheus/common/pull/948) - build(deps): bump golang.org/x/net from 0.56.0 to 0.57.0 in the golang-org-x group across 1 directory by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in [#&#8203;947](https://redirect.github.com/prometheus/common/pull/947) **Full Changelog**: <prometheus/common@v0.70.0...v0.70.1> ### [`v0.70.0`](https://redirect.github.com/prometheus/common/blob/HEAD/CHANGELOG.md#v0700--2026-07-10) [Compare Source](https://redirect.github.com/prometheus/common/compare/v0.69.0...v0.70.0) ##### Enhancements - route: add support for the QUERY HTTP method. [#&#8203;932](https://redirect.github.com/prometheus/common/issues/932) ##### Bugfixes - config: fix `TLSVersion.String()` printing a pointer address instead of the numeric version for unknown TLS versions. [#&#8203;929](https://redirect.github.com/prometheus/common/issues/929) ##### Internal - expfmt: add `BenchmarkConvertMetricFamily` comparing the Prometheus text and OpenMetrics 1.0 encoders. [#&#8203;943](https://redirect.github.com/prometheus/common/issues/943) - Update Go dependencies. [#&#8203;933](https://redirect.github.com/prometheus/common/issues/933) [#&#8203;934](https://redirect.github.com/prometheus/common/issues/934) - Synchronize common files from prometheus/prometheus. [#&#8203;923](https://redirect.github.com/prometheus/common/issues/923) [#&#8203;927](https://redirect.github.com/prometheus/common/issues/927) [#&#8203;930](https://redirect.github.com/prometheus/common/issues/930) [#&#8203;937](https://redirect.github.com/prometheus/common/issues/937) - Update GitHub Actions. [#&#8203;938](https://redirect.github.com/prometheus/common/issues/938) [#&#8203;939](https://redirect.github.com/prometheus/common/issues/939) [#&#8203;940](https://redirect.github.com/prometheus/common/issues/940) [#&#8203;941](https://redirect.github.com/prometheus/common/issues/941) [#&#8203;942](https://redirect.github.com/prometheus/common/issues/942) **Full Changelog**: <prometheus/common@v0.69.0...v0.70.0> ### [`v0.69.0`](https://redirect.github.com/prometheus/common/blob/HEAD/CHANGELOG.md#v0700--2026-07-10) [Compare Source](https://redirect.github.com/prometheus/common/compare/v0.68.1...v0.69.0) ##### Enhancements - route: add support for the QUERY HTTP method. [#&#8203;932](https://redirect.github.com/prometheus/common/issues/932) ##### Bugfixes - config: fix `TLSVersion.String()` printing a pointer address instead of the numeric version for unknown TLS versions. [#&#8203;929](https://redirect.github.com/prometheus/common/issues/929) ##### Internal - expfmt: add `BenchmarkConvertMetricFamily` comparing the Prometheus text and OpenMetrics 1.0 encoders. [#&#8203;943](https://redirect.github.com/prometheus/common/issues/943) - Update Go dependencies. [#&#8203;933](https://redirect.github.com/prometheus/common/issues/933) [#&#8203;934](https://redirect.github.com/prometheus/common/issues/934) - Synchronize common files from prometheus/prometheus. [#&#8203;923](https://redirect.github.com/prometheus/common/issues/923) [#&#8203;927](https://redirect.github.com/prometheus/common/issues/927) [#&#8203;930](https://redirect.github.com/prometheus/common/issues/930) [#&#8203;937](https://redirect.github.com/prometheus/common/issues/937) - Update GitHub Actions. [#&#8203;938](https://redirect.github.com/prometheus/common/issues/938) [#&#8203;939](https://redirect.github.com/prometheus/common/issues/939) [#&#8203;940](https://redirect.github.com/prometheus/common/issues/940) [#&#8203;941](https://redirect.github.com/prometheus/common/issues/941) [#&#8203;942](https://redirect.github.com/prometheus/common/issues/942) **Full Changelog**: <prometheus/common@v0.69.0...v0.70.0> ### [`v0.68.1`](https://redirect.github.com/prometheus/common/blob/HEAD/CHANGELOG.md#v0690--2026-06-17) [Compare Source](https://redirect.github.com/prometheus/common/compare/v0.68.0...v0.68.1) ##### Security / behavior changes - **config: credentials are no longer forwarded across cross-host redirects.** When `FollowRedirects` is enabled, the HTTP client now strips `Authorization`, `Cookie`, `Proxy-Authorization` and other sensitive headers, and skips basic-auth, bearer-token and OAuth2 credentials, when a redirect points to a different host. This aligns with Go's `net/http` behavior. Callers that relied on credentials being sent to a redirect target on another host will need to target that host directly. [#&#8203;901](https://redirect.github.com/prometheus/common/issues/901) [#&#8203;920](https://redirect.github.com/prometheus/common/issues/920) [#&#8203;921](https://redirect.github.com/prometheus/common/issues/921) - config: `LoadHTTPConfigFile` now resolves relative file paths (e.g. `*_file` credentials, `http_headers` files) against the config file's own directory instead of its parent directory. Configs that worked around the old behavior by prefixing paths with the config's directory name must drop that prefix. [#&#8203;925](https://redirect.github.com/prometheus/common/issues/925) ##### Bugfixes - expfmt: fix nil pointer panic when parsing empty braces `{}`. [#&#8203;922](https://redirect.github.com/prometheus/common/issues/922) - model: fix `Time.UnmarshalJSON` for larger negative numbers. [#&#8203;918](https://redirect.github.com/prometheus/common/issues/918) ##### Performance - model: reduce allocations in `Time.UnmarshalJSON`. [#&#8203;918](https://redirect.github.com/prometheus/common/issues/918) ##### Internal - Synchronize common files from prometheus/prometheus. [#&#8203;917](https://redirect.github.com/prometheus/common/issues/917) - Modernize Go. [#&#8203;919](https://redirect.github.com/prometheus/common/issues/919) **Full Changelog**: <prometheus/common@v0.68.1...v0.69.0> ### [`v0.68.0`](https://redirect.github.com/prometheus/common/releases/tag/v0.68.0) [Compare Source](https://redirect.github.com/prometheus/common/compare/v0.67.5...v0.68.0) #### What's Changed - Synchronize common files from prometheus/prometheus by [@&#8203;prombot](https://redirect.github.com/prombot) in [#&#8203;873](https://redirect.github.com/prometheus/common/pull/873) - Synchronize common files from prometheus/prometheus by [@&#8203;prombot](https://redirect.github.com/prombot) in [#&#8203;874](https://redirect.github.com/prometheus/common/pull/874) - build(deps): bump github.com/golang-jwt/jwt/v5 from 5.3.0 to 5.3.1 by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in [#&#8203;879](https://redirect.github.com/prometheus/common/pull/879) - build(deps): bump golang.org/x/net from 0.48.0 to 0.49.0 by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in [#&#8203;878](https://redirect.github.com/prometheus/common/pull/878) - Synchronize common files from prometheus/prometheus by [@&#8203;prombot](https://redirect.github.com/prombot) in [#&#8203;875](https://redirect.github.com/prometheus/common/pull/875) - Synchronize common files from prometheus/prometheus by [@&#8203;prombot](https://redirect.github.com/prombot) in [#&#8203;880](https://redirect.github.com/prometheus/common/pull/880) - Remove logic adding unit to metrics name by [@&#8203;vesari](https://redirect.github.com/vesari) in [#&#8203;877](https://redirect.github.com/prometheus/common/pull/877) - Synchronize common files from prometheus/prometheus by [@&#8203;prombot](https://redirect.github.com/prombot) in [#&#8203;881](https://redirect.github.com/prometheus/common/pull/881) - Update for Go 1.26 by [@&#8203;SuperQ](https://redirect.github.com/SuperQ) in [#&#8203;883](https://redirect.github.com/prometheus/common/pull/883) - build(deps): bump golang.org/x/net from 0.49.0 to 0.51.0 by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in [#&#8203;882](https://redirect.github.com/prometheus/common/pull/882) - version: Add a slog helper by [@&#8203;SuperQ](https://redirect.github.com/SuperQ) in [#&#8203;886](https://redirect.github.com/prometheus/common/pull/886) - Remove Arthur from maintainers list by [@&#8203;ArthurSens](https://redirect.github.com/ArthurSens) in [#&#8203;885](https://redirect.github.com/prometheus/common/pull/885) - Synchronize common files from prometheus/prometheus by [@&#8203;prombot](https://redirect.github.com/prombot) in [#&#8203;895](https://redirect.github.com/prometheus/common/pull/895) - Synchronize common files from prometheus/prometheus by [@&#8203;prombot](https://redirect.github.com/prombot) in [#&#8203;896](https://redirect.github.com/prometheus/common/pull/896) - config: change NewOAuth2RoundTripper to accept variadic HTTPClientOption by [@&#8203;alliasgher](https://redirect.github.com/alliasgher) in [#&#8203;898](https://redirect.github.com/prometheus/common/pull/898) - config: guard against nil oauth2 credential in RoundTrip by [@&#8203;alliasgher](https://redirect.github.com/alliasgher) in [#&#8203;897](https://redirect.github.com/prometheus/common/pull/897) - build(deps): bump golang.org/x/net from 0.51.0 to 0.52.0 by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in [#&#8203;890](https://redirect.github.com/prometheus/common/pull/890) - build(deps): bump go.yaml.in/yaml/v2 from 2.4.3 to 2.4.4 by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in [#&#8203;891](https://redirect.github.com/prometheus/common/pull/891) - build(deps): bump golang.org/x/oauth2 from 0.34.0 to 0.36.0 by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in [#&#8203;892](https://redirect.github.com/prometheus/common/pull/892) - Move interface assertions to a test file by [@&#8203;msiegen](https://redirect.github.com/msiegen) in [#&#8203;839](https://redirect.github.com/prometheus/common/pull/839) - fix(http\_config): fix client cert rotation when no CA is configured by [@&#8203;machine424](https://redirect.github.com/machine424) in [#&#8203;908](https://redirect.github.com/prometheus/common/pull/908) - Remove CircleCI by [@&#8203;ArthurSens](https://redirect.github.com/ArthurSens) in [#&#8203;910](https://redirect.github.com/prometheus/common/pull/910) - Fix: apply DialContextFunc to OAuth2 token-fetch transport by [@&#8203;yuri-tceretian](https://redirect.github.com/yuri-tceretian) in [#&#8203;911](https://redirect.github.com/prometheus/common/pull/911) #### New Contributors - [@&#8203;alliasgher](https://redirect.github.com/alliasgher) made their first contribution in [#&#8203;898](https://redirect.github.com/prometheus/common/pull/898) - [@&#8203;msiegen](https://redirect.github.com/msiegen) made their first contribution in [#&#8203;839](https://redirect.github.com/prometheus/common/pull/839) - [@&#8203;machine424](https://redirect.github.com/machine424) made their first contribution in [#&#8203;908](https://redirect.github.com/prometheus/common/pull/908) - [@&#8203;yuri-tceretian](https://redirect.github.com/yuri-tceretian) made their first contribution in [#&#8203;911](https://redirect.github.com/prometheus/common/pull/911) **Full Changelog**: <prometheus/common@v0.67.5...v0.68.0> </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - Monday through Friday (`* * * * 1-5`) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNTkuMiIsInVwZGF0ZWRJblZlciI6IjQzLjI1OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJpbXBhY3Qvbm8tY2hhbmdlbG9nLXJlcXVpcmVkIl19--> Co-authored-by: pulumi-renovate[bot] <189166143+pulumi-renovate[bot]@users.noreply.github.com>
1 parent 8d40663 commit f8d17e8

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

go.mod

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,9 @@ require (
180180
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
181181
github.com/prometheus/client_golang v1.23.2 // indirect
182182
github.com/prometheus/client_model v0.6.2 // indirect
183-
github.com/prometheus/common v0.67.5 // indirect
183+
github.com/prometheus/common v0.70.1 // indirect
184184
github.com/prometheus/otlptranslator v1.0.0 // indirect
185-
github.com/prometheus/procfs v0.19.2 // indirect
185+
github.com/prometheus/procfs v0.21.0 // indirect
186186
github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect
187187
github.com/pulumi/inflector v0.2.1 // indirect
188188
github.com/pulumi/pulumi/pkg/v3 v3.253.0 // indirect
@@ -239,7 +239,6 @@ require (
239239
go.opentelemetry.io/proto/otlp v1.10.0 // indirect
240240
go.uber.org/atomic v1.11.0 // indirect
241241
go.uber.org/multierr v1.11.0 // indirect
242-
go.yaml.in/yaml/v2 v2.4.4 // indirect
243242
golang.org/x/crypto v0.54.0 // indirect
244243
golang.org/x/exp v0.0.0-20260718201538-764159d718ef // indirect
245244
golang.org/x/mod v0.38.0 // indirect

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3852,8 +3852,8 @@ github.com/prometheus/common v0.48.0/go.mod h1:0/KsvlIEfPQCQ5I2iNSAWKPZziNCvRs5E
38523852
github.com/prometheus/common v0.55.0/go.mod h1:2SECS4xJG1kd8XF9IcM1gMX6510RAEL65zxzNImwdc8=
38533853
github.com/prometheus/common v0.62.0/go.mod h1:vyBcEuLSvWos9B1+CyL7JZ2up+uFzXhkqml0W5zIY1I=
38543854
github.com/prometheus/common v0.63.0/go.mod h1:VVFF/fBIoToEnWRVkYoXEkq3R3paCoxG9PXP74SnV18=
3855-
github.com/prometheus/common v0.67.5 h1:pIgK94WWlQt1WLwAC5j2ynLaBRDiinoAb86HZHTUGI4=
3856-
github.com/prometheus/common v0.67.5/go.mod h1:SjE/0MzDEEAyrdr5Gqc6G+sXI67maCxzaT3A2+HqjUw=
3855+
github.com/prometheus/common v0.70.1 h1:1HvjP4D5oL3t8RsPlwxA9onvvStjtIHYE5XuuwOi/PY=
3856+
github.com/prometheus/common v0.70.1/go.mod h1:VdFUQDMZK3VLkurFUVhia6uys/0suUp86TJz5qbJRhc=
38573857
github.com/prometheus/otlptranslator v1.0.0 h1:s0LJW/iN9dkIH+EnhiD3BlkkP5QVIUVEoIwkU+A6qos=
38583858
github.com/prometheus/otlptranslator v1.0.0/go.mod h1:vRYWnXvI6aWGpsdY/mOT/cbeVRBlPWtBNDb7kGR3uKM=
38593859
github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk=
@@ -3869,8 +3869,8 @@ github.com/prometheus/procfs v0.11.1/go.mod h1:eesXgaPo1q7lBpVMoMy0ZOFTth9hBn4W/
38693869
github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo=
38703870
github.com/prometheus/procfs v0.15.1/go.mod h1:fB45yRUv8NstnjriLhBQLuOUt+WW4BsoGhij/e3PBqk=
38713871
github.com/prometheus/procfs v0.16.0/go.mod h1:8veyXUu3nGP7oaCxhX6yeaM5u4stL2FeMXnCqhDthZg=
3872-
github.com/prometheus/procfs v0.19.2 h1:zUMhqEW66Ex7OXIiDkll3tl9a1ZdilUOd/F6ZXw4Vws=
3873-
github.com/prometheus/procfs v0.19.2/go.mod h1:M0aotyiemPhBCM0z5w87kL22CxfcH05ZpYlu+b4J7mw=
3872+
github.com/prometheus/procfs v0.21.0 h1:Qh/e6TlBjZf+XLLqNCqFGmCU6Kj/2Bu7kj3oAc0UnXc=
3873+
github.com/prometheus/procfs v0.21.0/go.mod h1:aB55Cww9pdSJVHk0hUf0inxWyyjPogFIjmHKYgMKmtY=
38743874
github.com/pulumi-labs/pulumi-hcl v0.3.1 h1:Fp8Nc/owglgUqVPodZ4ZFxUuyydiYUXqtLMhmuIOX8U=
38753875
github.com/pulumi-labs/pulumi-hcl v0.3.1/go.mod h1:DQS4ZHIFxV4mzVd0By5WohxbonVRKWhlAhXIkMAeQK0=
38763876
github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435cARxCW6q9gc0S/Yxz7Mkd38pOb0=

0 commit comments

Comments
 (0)