---
title: "github.com/prometheus/common v1.0.0 Breaking Changes"
description: "What each github.com/prometheus/common release removed, renamed or changed: 78 breaking changes in 23 versions on Go modules, each with its source."
canonical_url: https://since.dev/packages/go/github.com/prometheus/common
last_updated: 2026-12-04
---

# github.com/prometheus/common breaking changes

github.com/prometheus/common v1.0.0 (September 2, 2025) is its newest release with breaking changes, 10 of them. The first: Removed github.com/prometheus/common/config. Every breaking API change we have recorded in github.com/prometheus/common on Go modules: 78 breaking changes in 23 versions. Below, its 23 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `v1.20.99`, released September 3, 2025. [Source repository](https://github.com/prometheus/common)

Packages on Go modules run on Go. [Go end of life dates](https://since.dev/calendar/go.md).

- From [v0.74.0](#v-v0-74-0) to [v1.0.0](#v-v1-0-0): 10 breaking changes in 1 version.
- From [v0.34.0](#v-v0-34-0) to [v1.0.0](#v-v1-0-0): 76 breaking changes in 22 versions.

## github.com/prometheus/common v1.0.0 breaking changes

github.com/prometheus/common v1.0.0, released September 2, 2025: 10 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](https://pkg.go.dev/github.com/prometheus/common@v1.0.0)
- **Removed** `github.com/prometheus/common/expfmt`  

github.com/prometheus/common/expfmt was removed in github.com/prometheus/common v1.0.0 [pkg.go.dev](https://pkg.go.dev/github.com/prometheus/common@v1.0.0)
- **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](https://pkg.go.dev/github.com/prometheus/common@v1.0.0)
- **Removed** `github.com/prometheus/common/model`  

github.com/prometheus/common/model was removed in github.com/prometheus/common v1.0.0 [pkg.go.dev](https://pkg.go.dev/github.com/prometheus/common@v1.0.0)
- **Removed** `github.com/prometheus/common/promslog`  

github.com/prometheus/common/promslog was removed in github.com/prometheus/common v1.0.0 [pkg.go.dev](https://pkg.go.dev/github.com/prometheus/common@v1.0.0)
- **Removed** `github.com/prometheus/common/route`  

github.com/prometheus/common/route was removed in github.com/prometheus/common v1.0.0 [pkg.go.dev](https://pkg.go.dev/github.com/prometheus/common@v1.0.0)
- **Removed** `github.com/prometheus/common/server`  

github.com/prometheus/common/server was removed in github.com/prometheus/common v1.0.0 [pkg.go.dev](https://pkg.go.dev/github.com/prometheus/common@v1.0.0)
- **Removed** `github.com/prometheus/common/version`  

github.com/prometheus/common/version was removed in github.com/prometheus/common v1.0.0 [pkg.go.dev](https://pkg.go.dev/github.com/prometheus/common@v1.0.0)
- **Renamed** `github.com/prometheus/common/model.MetricType`  

Use github.com/prometheus/common/api/prometheus/v1.MetricType instead. [pkg.go.dev](https://pkg.go.dev/github.com/prometheus/common@v1.0.0)
- **Renamed** `github.com/prometheus/common/model.ValueType`  

Use github.com/prometheus/common/prometheus.ValueType instead. [pkg.go.dev](https://pkg.go.dev/github.com/prometheus/common@v1.0.0)

## github.com/prometheus/common v0.74.0 breaking changes

github.com/prometheus/common v0.74.0, released November 12, 2026: 1 breaking change.

- **Signature changed** `github.com/prometheus/common/config.Secret`  

Was type Secret string; now type Secret = secret.Secret. [pkg.go.dev](https://pkg.go.dev/github.com/prometheus/common@v0.74.0)

## github.com/prometheus/common v0.72.0 breaking changes

github.com/prometheus/common v0.72.0, released September 28, 2026: 1 breaking change.

- **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](https://pkg.go.dev/github.com/prometheus/common@v0.72.0)

## github.com/prometheus/common v0.68.0 breaking changes

github.com/prometheus/common v0.68.0, released May 29, 2026: 2 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](https://pkg.go.dev/github.com/prometheus/common@v0.68.0)
- **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](https://pkg.go.dev/github.com/prometheus/common@v0.68.0)

## github.com/prometheus/common v0.66.0 breaking changes

github.com/prometheus/common v0.66.0, released September 2, 2025: 2 breaking changes.

- **Signature changed** `github.com/prometheus/common/config.MarshalSecretValue`  

Was var MarshalSecretValue bool; now var MarshalSecretValue. [pkg.go.dev](https://pkg.go.dev/github.com/prometheus/common@v0.66.0)
- **Signature changed** `github.com/prometheus/common/config.WithSecretManager`  

Was func WithSecretManager(SecretManager) \*secretManagerOption; now func WithSecretManager(SecretManager) SecretManagerOption. [pkg.go.dev](https://pkg.go.dev/github.com/prometheus/common@v0.66.0)

## github.com/prometheus/common v0.65.0 breaking changes

github.com/prometheus/common v0.65.0, released June 22, 2025: 1 breaking change.

- **Removed** `github.com/prometheus/common/otlptranslator`  

Use github.com/prometheus/otlptranslator instead. [pkg.go.dev](https://pkg.go.dev/github.com/prometheus/common@v0.65.0)

## Older versions

17 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### github.com/prometheus/common v0.63.0 breaking changes

github.com/prometheus/common v0.63.0, released March 13, 2025: 4 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](https://pkg.go.dev/github.com/prometheus/common@v0.63.0)
- **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](https://pkg.go.dev/github.com/prometheus/common@v0.63.0)

And 2 more in this version.

### github.com/prometheus/common v0.62.0 breaking changes

github.com/prometheus/common v0.62.0, released January 16, 2025: 1 breaking change.

- **Removed** `github.com/prometheus/common/promlog`  

github.com/prometheus/common/promlog was removed in github.com/prometheus/common v0.62.0 [pkg.go.dev](https://pkg.go.dev/github.com/prometheus/common@v0.62.0)

### github.com/prometheus/common v0.56.0 breaking changes

github.com/prometheus/common v0.56.0, released August 27, 2024: 1 breaking change.

- **Signature changed** `github.com/prometheus/common/model.IsValidLegacyMetricName`  

Was func IsValidLegacyMetricName(LabelValue) bool; now func IsValidLegacyMetricName(string) bool. [pkg.go.dev](https://pkg.go.dev/github.com/prometheus/common@v0.56.0)

### github.com/prometheus/common v0.55.0 breaking changes

github.com/prometheus/common v0.55.0, released June 26, 2024: 6 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](https://pkg.go.dev/github.com/prometheus/common@v0.55.0)
- **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](https://pkg.go.dev/github.com/prometheus/common@v0.55.0)

And 4 more in this version.

### github.com/prometheus/common v0.54.0 breaking changes

github.com/prometheus/common v0.54.0, released June 3, 2024: 17 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](https://pkg.go.dev/github.com/prometheus/common@v0.54.0)
- **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](https://pkg.go.dev/github.com/prometheus/common@v0.54.0)

And 15 more in this version.

### github.com/prometheus/common v0.51.0 breaking changes

github.com/prometheus/common v0.51.0, released March 21, 2024: 6 breaking changes.

- **Signature changed** `github.com/prometheus/common/expfmt.TypeOpenMetrics`  

Was const TypeOpenMetrics; now const TypeOpenMetrics FormatType. [pkg.go.dev](https://pkg.go.dev/github.com/prometheus/common@v0.51.0)
- **Signature changed** `github.com/prometheus/common/expfmt.TypeProtoCompact`  

Was const TypeProtoCompact; now const TypeProtoCompact FormatType. [pkg.go.dev](https://pkg.go.dev/github.com/prometheus/common@v0.51.0)

And 4 more in this version.

### github.com/prometheus/common v0.50.0 breaking changes

github.com/prometheus/common v0.50.0, released March 7, 2024: 2 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](https://pkg.go.dev/github.com/prometheus/common@v0.50.0)
- **Removed** `github.com/prometheus/common/version.NewCollector`  

Use github.com/prometheus/client_golang/prometheus/collectors/version.NewCollector instead. [pkg.go.dev](https://pkg.go.dev/github.com/prometheus/common@v0.50.0)

### github.com/prometheus/common v0.49.0 breaking changes

github.com/prometheus/common v0.49.0, released February 29, 2024: 2 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](https://pkg.go.dev/github.com/prometheus/common@v0.49.0)
- **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](https://pkg.go.dev/github.com/prometheus/common@v0.49.0)

### github.com/prometheus/common v0.48.0 breaking changes

github.com/prometheus/common v0.48.0, released February 22, 2024: 8 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](https://pkg.go.dev/github.com/prometheus/common@v0.48.0)
- **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](https://pkg.go.dev/github.com/prometheus/common@v0.48.0)

And 6 more in this version.

### github.com/prometheus/common v0.46.0 breaking changes

github.com/prometheus/common v0.46.0, released January 13, 2024: 2 breaking changes.

- **Signature changed** `github.com/prometheus/common/promlog/flag.FormatFlagHelp`  

Was const FormatFlagHelp; now var FormatFlagHelp. [pkg.go.dev](https://pkg.go.dev/github.com/prometheus/common@v0.46.0)
- **Signature changed** `github.com/prometheus/common/promlog/flag.LevelFlagHelp`  

Was const LevelFlagHelp; now var LevelFlagHelp. [pkg.go.dev](https://pkg.go.dev/github.com/prometheus/common@v0.46.0)

### github.com/prometheus/common v0.45.0 breaking changes

github.com/prometheus/common v0.45.0, released October 18, 2023: 1 breaking change.

- **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](https://pkg.go.dev/github.com/prometheus/common@v0.45.0)

### github.com/prometheus/common v0.44.0 breaking changes

github.com/prometheus/common v0.44.0, released May 22, 2023: 1 breaking change.

- **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](https://pkg.go.dev/github.com/prometheus/common@v0.44.0)

### github.com/prometheus/common v0.43.0 breaking changes

github.com/prometheus/common v0.43.0, released May 5, 2023: 2 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](https://pkg.go.dev/github.com/prometheus/common@v0.43.0)
- **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](https://pkg.go.dev/github.com/prometheus/common@v0.43.0)

### github.com/prometheus/common v0.41.0 breaking changes

github.com/prometheus/common v0.41.0, released March 1, 2023: 4 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](https://pkg.go.dev/github.com/prometheus/common@v0.41.0)
- **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](https://pkg.go.dev/github.com/prometheus/common@v0.41.0)

And 2 more in this version.

### github.com/prometheus/common v0.38.0 breaking changes

github.com/prometheus/common v0.38.0, released December 8, 2022: 1 breaking change.

- **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](https://pkg.go.dev/github.com/prometheus/common@v0.38.0)

### github.com/prometheus/common v0.36.0 breaking changes

github.com/prometheus/common v0.36.0, released July 11, 2022: 1 breaking change.

- **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](https://pkg.go.dev/github.com/prometheus/common@v0.36.0)

### github.com/prometheus/common v0.34.0 breaking changes

github.com/prometheus/common v0.34.0, released April 20, 2022: 2 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](https://pkg.go.dev/github.com/prometheus/common@v0.34.0)
- **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](https://pkg.go.dev/github.com/prometheus/common@v0.34.0)

## Related packages

- [github.com/prometheus/client_golang](https://since.dev/packages/go/github.com/prometheus/client%5Fgolang.md)
- [github.com/prometheus/client_model](https://since.dev/packages/go/github.com/prometheus/client%5Fmodel.md)
- [github.com/prometheus/procfs](https://since.dev/packages/go/github.com/prometheus/procfs.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
