Update module github.com/prometheus/common to v0.69.0#971
Open
red-hat-konflux[bot] wants to merge 1 commit into
Open
Update module github.com/prometheus/common to v0.69.0#971red-hat-konflux[bot] wants to merge 1 commit into
red-hat-konflux[bot] wants to merge 1 commit into
Conversation
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThis PR updates the indirect dependency github.com/prometheus/common from v0.67.5 to v0.69.0 in go.mod/go.sum, pulling in upstream security/behavior changes around HTTP config and several bug fixes and performance improvements from the Prometheus common library. Sequence diagram for HTTP client behavior change with FollowRedirects in prometheus_common v0_69_0sequenceDiagram
actor Service
participant HTTPClient
participant HostA
participant HostB
Service->>HTTPClient: Do(request_with_credentials)
HTTPClient->>HostA: RoundTrip(request_with_credentials)
HostA-->>HTTPClient: 302 Redirect (Location: HostB)
alt same_host_redirect
HTTPClient->>HostA: RoundTrip(follow_redirect_with_credentials)
else cross_host_redirect
Note over HTTPClient: [v0.69.0: credentials are stripped on cross-host redirects]
HTTPClient->>HostB: RoundTrip(follow_redirect_without_credentials)
end
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.67.5→v0.69.0Warning
Some dependencies could not be looked up. Check the warning logs for more information.
Release Notes
prometheus/common (github.com/prometheus/common)
v0.69.0Compare Source
Security / behavior changes
FollowRedirectsis enabled, the HTTP client now stripsAuthorization,Cookie,Proxy-Authorizationand other sensitive headers, and skips basic-auth, bearer-token and OAuth2 credentials, when a redirect points to a different host. This aligns with Go'snet/httpbehavior. Callers that relied on credentials being sent to a redirect target on another host will need to target that host directly. #901 #920 #921LoadHTTPConfigFilenow resolves relative file paths (e.g.*_filecredentials,http_headersfiles) 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. #925Bugfixes
{}. #922Time.UnmarshalJSONfor larger negative numbers. #918Performance
Time.UnmarshalJSON. #918Internal
Full Changelog: prometheus/common@v0.68.1...v0.69.0
v0.68.1Compare Source
Security / behavior changes
FollowRedirectsis enabled, the HTTP client now stripsAuthorization,Cookie,Proxy-Authorizationand other sensitive headers, and skips basic-auth, bearer-token and OAuth2 credentials, when a redirect points to a different host. This aligns with Go'snet/httpbehavior. Callers that relied on credentials being sent to a redirect target on another host will need to target that host directly. #901 #920 #921LoadHTTPConfigFilenow resolves relative file paths (e.g.*_filecredentials,http_headersfiles) 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. #925Bugfixes
{}. #922Time.UnmarshalJSONfor larger negative numbers. #918Performance
Time.UnmarshalJSON. #918Internal
Full Changelog: prometheus/common@v0.68.1...v0.69.0
v0.68.0Compare Source
What's Changed
New Contributors
Full Changelog: prometheus/common@v0.67.5...v0.68.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.
To execute skipped test pipelines write comment
/ok-to-test.Documentation
Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.