Sourced from github.com/prometheus/common's releases.
v0.69.0
What's Changed
- config: strip credentials on cross-host redirects by
@roidelapluiein prometheus/common#901- Modernize Go by
@SuperQin prometheus/common#919- config: make isCrossHostRedirect sticky across the redirect chain by
@roidelapluiein prometheus/common#920- config: check cross-host redirect before OAuth2 token fetch by
@roidelapluiein prometheus/common#921- expfmt: fix nil pointer panic when parsing empty braces "{}" by
@roidelapluiein prometheus/common#922- model: reduce allocations in Time.UnmarshalJSON by
@bborehamin prometheus/common#918- config: resolve LoadHTTPConfigFile paths relative to the config file by
@roidelapluiein prometheus/common#925Full Changelog: https://github.com/prometheus/common/compare/v0.68.1...v0.69.0
Sourced from github.com/prometheus/common's changelog.
v0.69.0 / 2026-06-17
Security / behavior changes
- config: credentials are no longer forwarded across cross-host redirects. When
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 #921- config:
LoadHTTPConfigFilenow 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
- expfmt: fix nil pointer panic when parsing empty braces
{}. #922- model: fix
Time.UnmarshalJSONfor larger negative numbers. #918Performance
- model: reduce allocations in
Time.UnmarshalJSON. #918Internal
Full Changelog: https://github.com/prometheus/common/compare/v0.68.1...v0.69.0
v0.67.2 / 2025-10-28
What's Changed
- config: Fix panic in
tlsRoundTripperwhen CA file is absent by@ndkin prometheus/common#792- Cleanup linting issues by
@SuperQin prometheus/common#860New Contributors
@ndkmade their first contribution in prometheus/common#792Full Changelog: https://github.com/prometheus/common/compare/v0.67.1...v0.67.2
v0.67.1 / 2025-10-07
What's Changed
- Remove VERSION file to avoid Go conflict error in prometheus/common#853
Full Changelog: https://github.com/prometheus/common/compare/v0.67.0...v0.67.1
v0.67.0 / 2025-10-07
What's Changed
- Create CHANGELOG.md for easier communication of library changes, especially possible breaking changes. by
@ywwgin prometheus/common#833- model: New test for validation with dots by
@m1k1oin prometheus/common#759- expfmt: document NewTextParser as required by
@burgerdevin prometheus/common#842- expfmt: Add support for float histograms and gauge histograms by
@beorn7in prometheus/common#843- Updated minimum Go version to 1.24.0, updated Go dependecies by
@SuperQin prometheus/common#849
... (truncated)
e3c14a0
Merge pull request #925
from roidelapluie/roidelapluie/fix-loadhttpconfigfile...a7b791d
config: resolve LoadHTTPConfigFile paths relative to the config
filef84efec
Merge pull request #918
from prometheus/time-split2269d3d
Merge pull request #922
from roidelapluie/roidelapluie/fix-textparse-empty-br...a1600af
expfmt: fix nil pointer panic when parsing empty braces
"{}"56fe395
Merge pull request #921
from roidelapluie/roidelapluie/oauth2-cross-host-check0fcda47
Merge pull request #920
from roidelapluie/roidelapluie/cross-host-sticky30ba470
Merge pull request #919
from prometheus/superq/modernize2b55b3e
config: check cross-host redirect before OAuth2 token fetch428856f
config: make isCrossHostRedirect sticky across the redirect chain