Skip to content

Upgrading github.com/prometheus/common 0.70 to 0.71

Review neededv0.70.1 → v0.71.0New2Changed7Fixed6Other7

Review neededUpgrade verdict

6 behavior changes.

  • Sorts label names without boxing them into sort.Interface.
  • Precomputes parsed goautoneg.Accept for well-known Format constants.
  • Formats OpenMetrics 2.0 float values and validates units.
  • Bumps github.com/stretchr/testify from 1.11.1 to 1.12.1.
Nothing to change

No breaking, platform, security or deprecated items in this range.

Installs 23 packages in all (was 25).

Also installs go.yaml.in/yaml/v3.

No longer installs github.com/davecgh/go-spew, github.com/pmezard/go-difflib, gopkg.in/yaml.v3.

Moves github.com/stretchr/testify v1.11.1 → v1.12.1, golang.org/x/net v0.57.0 → v0.58.0, golang.org/x/text v0.40.0 → v0.41.0, google.golang.org/protobuf v1.36.11 → v1.36.12. Your build may pick other versions.

Nothing in this upgrade needs a code or configuration change.