Skip to content

Releases: prometheus/common

v0.67.1

07 Oct 13:37
c41fe14
Compare
Choose a tag to compare

What's Changed

  • Fix Go case-insensitive file name collision by @SuperQ in #853

Full Changelog: v0.67.0...v0.67.1

v0.67.0 / 2025-10-07

07 Oct 10:01
v0.67.0
Compare
Choose a tag to compare

What's Changed

  • Create CHANGELOG.md for easier communication of library changes, especially possible breaking changes. by @ywwg in #833
  • model: New test for validation with dots by @m1k1o in #759
  • expfmt: document NewTextParser as required by @burgerdev in #842
  • expfmt: Add support for float histograms and gauge histograms by @beorn7 in #843
  • Updated minimum Go version to 1.24.0, updated Go dependecies by @SuperQ in #849

New Contributors

Full Changelog: v0.66.1...v0.67.0

v0.66.1

05 Sep 11:39
8975dde
Compare
Choose a tag to compare

This release has no functional changes, it just drops the dependencies github.com/grafana/regexp and go.uber.org/atomic and replaces gopkg.in/yaml.v2 with go.yaml.in/yaml/v2 (a drop-in replacement).

What's Changed

  • Revert "Use github.com/grafana/regexp instead of regexp" by @aknuds1 in #835
  • Move to supported version of yaml parser by @dims in #834
  • Revert "Use go.uber.org/atomic instead of sync/atomic (#825)" by @aknuds1 in #838

Full Changelog: v1.20.99...v0.66.1

v0.66.0

02 Sep 18:55
v0.66.0
2b1487c
Compare
Choose a tag to compare

⚠️ Breaking Changes ⚠️

  • A default-constructed TextParser will be invalid. It must have a valid scheme set, so users should use the NewTextParser function to create a valid TextParser. Otherwise parsing will panic with "Invalid name validation scheme requested: unset".

What's Changed

  • model: add constants for type and unit labels. by @bwplotka in #801

  • model.ValidationScheme: Support encoding as YAML by @aknuds1 in #799

  • fix(promslog): always print time.Duration values as go duration strings by @tjhop in #798

  • Add ValidationScheme methods IsValidMetricName and IsValidLabelName by @aknuds1 in #806

  • Fix delimited proto not escaped correctly by @thampiotr in #809

  • Decoder: Remove use of global name validation and add validation by @ywwg in #808

  • ValidationScheme implements pflag.Value and json.Marshaler/Unmarshaler interfaces by @juliusmh in #807

  • expfmt: Add NewTextParser function by @aknuds1 in #816

  • Enable the godot linter by @aknuds1 in #821

  • Enable usestdlibvars linter by @aknuds1 in #820

  • Enable unconvert linter by @aknuds1 in #819

  • Enable the fatcontext linter by @aknuds1 in #822

  • Enable gocritic linter by @aknuds1 in #818

  • Use go.uber.org/atomic instead of sync/atomic by @aknuds1 in #825

  • Enable revive rule unused-parameter by @aknuds1 in #824

  • Enable revive rules by @aknuds1 in #823

  • Synchronize common files from prometheus/prometheus by @prombot in #802

  • Synchronize common files from prometheus/prometheus by @prombot in #803

  • Sync .golangci.yml with prometheus/prometheus by @aknuds1 in #817

  • ci: update upload-actions by @ywwg in #814

  • docs: fix typo in expfmt.Negotiate by @wmcram in #813

  • build(deps): bump golang.org/x/net from 0.40.0 to 0.41.0 by @dependabot[bot] in #800

  • build(deps): bump golang.org/x/net from 0.41.0 to 0.42.0 by @dependabot[bot] in #810

  • build(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.1 in /assets by @dependabot[bot] in #826

  • build(deps): bump google.golang.org/protobuf from 1.36.6 to 1.36.8 by @dependabot[bot] in #830

  • build(deps): bump golang.org/x/net from 0.42.0 to 0.43.0 by @dependabot[bot] in #829

  • build(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.1 by @dependabot[bot] in #827

New Contributors

Full Changelog: v0.65.0...v0.66.0

v0.65.0

22 Jun 23:02
v0.65.0
75c3814
Compare
Choose a tag to compare

What's Changed

  • Synchronize common files from prometheus/prometheus by @prombot in #789
  • Remove otlptranslator package by @ArthurSens in #791
  • feat(promslog): add Level() method to get slog.Level by @tjhop in #795
  • feat: Support negative duration in new function ParseDurationAllowNegative by @iamhalje in #793

New Contributors

Full Changelog: v0.64.0...v0.65.0

v0.64.0

15 May 12:12
6a35e02
Compare
Choose a tag to compare

What's Changed

  • Add deprecation notice to otlptranslator by @ArthurSens in #773
  • Synchronize common files from prometheus/prometheus by @prombot in #774
  • Synchronize common files from prometheus/prometheus by @prombot in #775
  • Update Go by @SuperQ in #770
  • chore: Upgrade golangci-lint to v2 by @kakkoyun in #779
  • build(deps): bump golang.org/x/net from 0.37.0 to 0.38.0 by @dependabot in #777
  • build(deps): bump google.golang.org/protobuf from 1.36.5 to 1.36.6 by @dependabot in #776
  • promslog: Use the default timezone (again) by @beorn7 in #739
  • Synchronize common files from prometheus/prometheus by @prombot in #787
  • build(deps): bump github.com/prometheus/client_model from 0.6.1 to 0.6.2 by @dependabot in #784
  • build(deps): bump golang.org/x/oauth2 from 0.28.0 to 0.29.0 by @dependabot in #785
  • build(deps): bump golang.org/x/net from 0.38.0 to 0.39.0 by @dependabot in #786
  • refactor(promslog): make NewNopLogger() wrapper around New() by @tjhop in #783
  • build(deps): bump golang.org/x/oauth2 from 0.29.0 to 0.30.0 by @dependabot in #788

New Contributors

Full Changelog: v0.63.0...v0.64.0

v0.63.0

13 Mar 18:36
cf3c56f
Compare
Choose a tag to compare

What's Changed

  • Making the map a public variable for promtheus-operator by @dongjiang1989 in #741
  • setup ossf scorecard and codeql workflows by @mmorel-35 in #564
  • feat(promslog): implement reserved keys, rename duplicates by @tjhop in #746
  • Bump golang.org/x/oauth2 from 0.24.0 to 0.25.0 by @dependabot in #750
  • Bump golang.org/x/net from 0.33.0 to 0.34.0 by @dependabot in #749
  • Bump google.golang.org/protobuf from 1.36.1 to 1.36.3 by @dependabot in #751
  • promslog: Make AllowedLevel concurrency safe. by @bwplotka in #754
  • Fix typo 'the an' by @petern48 in #752
  • Synchronize common files from prometheus/prometheus by @prombot in #757
  • build(deps): bump google.golang.org/protobuf from 1.36.3 to 1.36.4 by @dependabot in #756
  • build(deps): bump google.golang.org/protobuf from 1.36.4 to 1.36.5 by @dependabot in #761
  • build(deps): bump github.com/google/go-cmp from 0.6.0 to 0.7.0 by @dependabot in #763
  • build(deps): bump golang.org/x/net from 0.34.0 to 0.35.0 by @dependabot in #762
  • model: Clarify the purpose of model.NameValidationScheme by @ywwg in #765
  • Fix spelling mistake in godoc by @grobinson-grafana in #766
  • Synchronize common files from prometheus/prometheus by @prombot in #767
  • otlptranslator: Add dependency free package that translates OTLP data into Prometheus metric/label names by @ArthurSens in #768

New Contributors

Full Changelog: v0.62.0...v0.63.0

v0.62.0

16 Jan 18:47
280b0e7
Compare
Choose a tag to compare

⚠️ This releases switches internal global to UTF8Validation from LegacyValidation. This is a breaking change, relaxing the validation. We don't intend to add more schemas and we have to have a global for unmarshalling interfaces, thus the change was made ⚠️

What's Changed

  • Change default validation scheme to UTF8Validation by @ywwg in #724
  • Remove deprecated promlog package by @SuperQ in #738
  • Remove deprecated sigv4 module by @SuperQ in #737
  • update links to openmetrics to reference the v1.0.0 release by @dashpole in #740
  • Synchronize common files from prometheus/prometheus by @prombot in #742
  • Bump google.golang.org/protobuf from 1.35.2 to 1.36.1 by @dependabot in #744
  • Bump golang.org/x/net from 0.32.0 to 0.33.0 by @dependabot in #743
  • Synchronize common files from prometheus/prometheus by @prombot in #747
  • http_config: Allow customizing TLS config and settings. by @bwplotka in #748

New Contributors

Full Changelog: v0.61.0...v0.62.0

v0.61.0

04 Dec 23:04
7b484e9
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.60.1...v0.61.0

v0.60.1

24 Oct 15:30
653e0fa
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.60.0...v0.60.1