github.com/prometheus/common breaking changes
Updated December 4, 2026
On this page
Latest version v1.20.99, released September 3, 2025. Source repository
Packages on Go modules run on Go. Go end of life dates.
- From v0.74.0 to v1.0.0: 10 breaking changes in 1 version.
- From v0.34.0 to v1.0.0: 76 breaking changes in 22 versions.
github.com/prometheus/common v1.0.0 breaking changes
- Removed
github.com/prometheus/common/config
github.com/prometheus/common/config was removed in github.com/prometheus/common v1.0.0 pkg.go.dev - Removed
github.com/prometheus/common/expfmt
github.com/prometheus/common/expfmt was removed in github.com/prometheus/common v1.0.0 pkg.go.dev - Removed
github.com/prometheus/common/helpers/templates
github.com/prometheus/common/helpers/templates was removed in github.com/prometheus/common v1.0.0 pkg.go.dev - Removed
github.com/prometheus/common/model
github.com/prometheus/common/model was removed in github.com/prometheus/common v1.0.0 pkg.go.dev - Removed
github.com/prometheus/common/promslog
github.com/prometheus/common/promslog was removed in github.com/prometheus/common v1.0.0 pkg.go.dev - Removed
github.com/prometheus/common/route
github.com/prometheus/common/route was removed in github.com/prometheus/common v1.0.0 pkg.go.dev - Removed
github.com/prometheus/common/server
github.com/prometheus/common/server was removed in github.com/prometheus/common v1.0.0 pkg.go.dev - Removed
github.com/prometheus/common/version
github.com/prometheus/common/version was removed in github.com/prometheus/common v1.0.0 pkg.go.dev - Renamed
github.com/prometheus/common/model.MetricType
Use github.com/prometheus/common/api/prometheus/v1.MetricType instead. pkg.go.dev - Renamed
github.com/prometheus/common/model.ValueType
Use github.com/prometheus/common/prometheus.ValueType instead. pkg.go.dev
github.com/prometheus/common v0.74.0 breaking changes
- Signature changed
github.com/prometheus/common/config.Secret
Was type Secret string; now type Secret = secret.Secret. pkg.go.dev
github.com/prometheus/common v0.72.0 breaking changes
- Removed
github.com/prometheus/common/model.SampleStream.UnmarshalJSON
github.com/prometheus/common/model.SampleStream.UnmarshalJSON was removed in github.com/prometheus/common v0.72.0 pkg.go.dev
github.com/prometheus/common v0.68.0 breaking changes
- Removed
github.com/prometheus/common/expfmt.WithUnit
github.com/prometheus/common/expfmt.WithUnit was removed in github.com/prometheus/common v0.68.0 pkg.go.dev - Signature changed
github.com/prometheus/common/config.NewOAuth2RoundTripper
Was func NewOAuth2RoundTripper(SecretReader, *OAuth2, http.RoundTripper, *httpClientOptions) http.RoundTripper; now func NewOAuth2RoundTripper(SecretReader, *OAuth2, http.RoundTripper, ...HTTPClientOption) http.RoundTripper. pkg.go.dev
github.com/prometheus/common v0.66.0 breaking changes
- Signature changed
github.com/prometheus/common/config.MarshalSecretValue
Was var MarshalSecretValue bool; now var MarshalSecretValue. pkg.go.dev - Signature changed
github.com/prometheus/common/config.WithSecretManager
Was func WithSecretManager(SecretManager) *secretManagerOption; now func WithSecretManager(SecretManager) SecretManagerOption. pkg.go.dev
github.com/prometheus/common v0.65.0 breaking changes
- Removed
github.com/prometheus/common/otlptranslator
Use github.com/prometheus/otlptranslator instead. pkg.go.dev
Older versions
17 older versions, each with its first changes. Sign up to see every change
Show 17 older versions
github.com/prometheus/common v0.63.0 breaking changes
- Removed
github.com/prometheus/common/promslog.AllowedFormat
github.com/prometheus/common/promslog.AllowedFormat was removed in github.com/prometheus/common v0.63.0 pkg.go.dev - Removed
github.com/prometheus/common/promslog.AllowedLevel
github.com/prometheus/common/promslog.AllowedLevel was removed in github.com/prometheus/common v0.63.0 pkg.go.dev
And 2 more in this version.
github.com/prometheus/common v0.62.0 breaking changes
- Removed
github.com/prometheus/common/promlog
github.com/prometheus/common/promlog was removed in github.com/prometheus/common v0.62.0 pkg.go.dev
github.com/prometheus/common v0.56.0 breaking changes
- Signature changed
github.com/prometheus/common/model.IsValidLegacyMetricName
Was func IsValidLegacyMetricName(LabelValue) bool; now func IsValidLegacyMetricName(string) bool. pkg.go.dev
github.com/prometheus/common v0.55.0 breaking changes
- Signature changed
github.com/prometheus/common/config.NewAuthorizationCredentialsRoundTripper
Was func NewAuthorizationCredentialsRoundTripper(string, secret, http.RoundTripper) http.RoundTripper; now func NewAuthorizationCredentialsRoundTripper(string, SecretReader, http.RoundTripper) http.RoundTripper. pkg.go.dev - Signature changed
github.com/prometheus/common/config.NewBasicAuthRoundTripper
Was func NewBasicAuthRoundTripper(secret, secret, http.RoundTripper) http.RoundTripper; now func NewBasicAuthRoundTripper(SecretReader, SecretReader, http.RoundTripper) http.RoundTripper. pkg.go.dev
And 4 more in this version.
github.com/prometheus/common v0.54.0 breaking changes
- Removed
github.com/prometheus/common/config.Header.HTTPHeader
github.com/prometheus/common/config.Header.HTTPHeader was removed in github.com/prometheus/common v0.54.0 pkg.go.dev - Removed
github.com/prometheus/common/config.NewAuthorizationCredentialsFileRoundTripper
github.com/prometheus/common/config.NewAuthorizationCredentialsFileRoundTripper was removed in github.com/prometheus/common v0.54.0 pkg.go.dev
And 15 more in this version.
github.com/prometheus/common v0.51.0 breaking changes
- Signature changed
github.com/prometheus/common/expfmt.TypeOpenMetrics
Was const TypeOpenMetrics; now const TypeOpenMetrics FormatType. pkg.go.dev - Signature changed
github.com/prometheus/common/expfmt.TypeProtoCompact
Was const TypeProtoCompact; now const TypeProtoCompact FormatType. pkg.go.dev
And 4 more in this version.
github.com/prometheus/common v0.50.0 breaking changes
- Removed
github.com/prometheus/common/config.HTTPClientConfig.Host
github.com/prometheus/common/config.HTTPClientConfig.Host was removed in github.com/prometheus/common v0.50.0 pkg.go.dev - Removed
github.com/prometheus/common/version.NewCollector
Use github.com/prometheus/client_golang/prometheus/collectors/version.NewCollector instead. pkg.go.dev
github.com/prometheus/common v0.49.0 breaking changes
- Signature changed
github.com/prometheus/common/expfmt.MetricFamilyToOpenMetrics
Was func MetricFamilyToOpenMetrics(io.Writer, *dto.MetricFamily) (int, error); now func MetricFamilyToOpenMetrics(io.Writer, *dto.MetricFamily, ...EncoderOption) (int, error). pkg.go.dev - Signature changed
github.com/prometheus/common/expfmt.NewEncoder
Was func NewEncoder(io.Writer, Format) Encoder; now func NewEncoder(io.Writer, Format, ...EncoderOption) Encoder. pkg.go.dev
github.com/prometheus/common v0.48.0 breaking changes
- Removed
github.com/prometheus/common/expfmt.FmtOpenMetrics_0_0_1
github.com/prometheus/common/expfmt.FmtOpenMetrics_0_0_1 was removed in github.com/prometheus/common v0.48.0 pkg.go.dev - Removed
github.com/prometheus/common/expfmt.FmtOpenMetrics_1_0_0
github.com/prometheus/common/expfmt.FmtOpenMetrics_1_0_0 was removed in github.com/prometheus/common v0.48.0 pkg.go.dev
And 6 more in this version.
github.com/prometheus/common v0.46.0 breaking changes
- Signature changed
github.com/prometheus/common/promlog/flag.FormatFlagHelp
Was const FormatFlagHelp; now var FormatFlagHelp. pkg.go.dev - Signature changed
github.com/prometheus/common/promlog/flag.LevelFlagHelp
Was const LevelFlagHelp; now var LevelFlagHelp. pkg.go.dev
github.com/prometheus/common v0.45.0 breaking changes
- Signature changed
github.com/prometheus/common/config.NewBasicAuthRoundTripper
Was func NewBasicAuthRoundTripper(string, Secret, string, http.RoundTripper) http.RoundTripper; now func NewBasicAuthRoundTripper(string, Secret, string, string, http.RoundTripper) http.RoundTripper. pkg.go.dev
github.com/prometheus/common v0.44.0 breaking changes
- Signature changed
github.com/prometheus/common/config.NewTLSRoundTripper
Was func NewTLSRoundTripper(*tls.Config, string, string, string, func(*tls.Config) (http.RoundTripper, error)) (http.RoundTripper, error); now func NewTLSRoundTripper(*tls.Config, TLSRoundTripperSettings, func(*tls.Config)... pkg.go.dev
github.com/prometheus/common v0.43.0 breaking changes
- Removed
github.com/prometheus/common/expfmt.FmtOpenMetrics
github.com/prometheus/common/expfmt.FmtOpenMetrics was removed in github.com/prometheus/common v0.43.0 pkg.go.dev - Removed
github.com/prometheus/common/expfmt.OpenMetricsVersion
github.com/prometheus/common/expfmt.OpenMetricsVersion was removed in github.com/prometheus/common v0.43.0 pkg.go.dev
github.com/prometheus/common v0.41.0 breaking changes
- Removed
github.com/prometheus/common/model.MarshalHistogram
github.com/prometheus/common/model.MarshalHistogram was removed in github.com/prometheus/common v0.41.0 pkg.go.dev - Removed
github.com/prometheus/common/model.MarshalHistogramBucket
github.com/prometheus/common/model.MarshalHistogramBucket was removed in github.com/prometheus/common v0.41.0 pkg.go.dev
And 2 more in this version.
github.com/prometheus/common v0.38.0 breaking changes
- Signature changed
github.com/prometheus/common/config.NewTLSRoundTripper
Was func NewTLSRoundTripper(*tls.Config, string, func(*tls.Config) (http.RoundTripper, error)) (http.RoundTripper, error); now func NewTLSRoundTripper(*tls.Config, string, string, string, func(*tls.Config) (http.RoundTripper, error))... pkg.go.dev
github.com/prometheus/common v0.36.0 breaking changes
- Signature changed
github.com/prometheus/common/config.NewOAuth2RoundTripper
Was func NewOAuth2RoundTripper(*OAuth2, http.RoundTripper) http.RoundTripper; now func NewOAuth2RoundTripper(*OAuth2, http.RoundTripper, *httpClientOptions) http.RoundTripper. pkg.go.dev
github.com/prometheus/common v0.34.0 breaking changes
- Removed
github.com/prometheus/common/config.DefaultHTTPClientConfig
github.com/prometheus/common/config.DefaultHTTPClientConfig was removed in github.com/prometheus/common v0.34.0 pkg.go.dev - Removed
github.com/prometheus/common/config.TLSConfig.UnmarshalYAML
github.com/prometheus/common/config.TLSConfig.UnmarshalYAML was removed in github.com/prometheus/common v0.34.0 pkg.go.dev
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.