Skip to content

Releases: prometheus/common

v0.66.1

Choose a tag to compare

@aknuds1 aknuds1 released this 05 Sep 11:39
8975dde

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

Choose a tag to compare

@ywwg ywwg released this 02 Sep 18:55
v0.66.0
2b1487c

⚠️ 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

Choose a tag to compare

@beorn7 beorn7 released this 22 Jun 23:02
v0.65.0
75c3814

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

Choose a tag to compare

@SuperQ SuperQ released this 15 May 12:12
6a35e02

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

Choose a tag to compare

@ArthurSens ArthurSens released this 13 Mar 18:36
cf3c56f

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

Choose a tag to compare

@bwplotka bwplotka released this 16 Jan 18:47
280b0e7

⚠️ 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

Choose a tag to compare

@SuperQ SuperQ released this 04 Dec 23:04
7b484e9

What's Changed

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

v0.60.1

Choose a tag to compare

@SuperQ SuperQ released this 24 Oct 15:30
653e0fa

What's Changed

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

v0.60.0

Choose a tag to compare

@SuperQ SuperQ released this 01 Oct 12:38
dae848d

What's Changed

  • Synchronize common files from prometheus/prometheus by @prombot in #692
  • slog: expose io.Writer by @jkroepke in #694
  • Synchronize common files from prometheus/prometheus by @prombot in #695
  • promslog: use UTC timestamps for go-kit log style by @dswarbrick in #696
  • feat: add promslog.NewNopLogger() convenience func by @tjhop in #697
  • Bump golang.org/x/net from 0.28.0 to 0.29.0 by @dependabot in #699
  • Bump golang.org/x/oauth2 from 0.22.0 to 0.23.0 by @dependabot in #698
  • Update supported Go versions by @SuperQ in #700

Full Changelog: v0.59.1...v0.60.0

v0.59.1

Choose a tag to compare

@ywwg ywwg released this 05 Sep 15:50
be8a747

What's Changed

  • fix(utf8): Fix multiple metric name inside braces validation by @fedetorres93 in #691

Full Changelog: v0.59.0...v0.59.1