|
| 1 | +# Changelog |
| 2 | + |
| 3 | +## main / unreleased |
| 4 | + |
| 5 | +### What's Changed |
| 6 | + |
| 7 | +* [ENHANCEMENT] Create CHANGELOG.md for easier communication of library changes, especially possible breaking changes. https://github.com/prometheus/common/pull/833 |
| 8 | + |
| 9 | +## v0.66.1 / 2025-09-05 |
| 10 | + |
| 11 | +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). |
| 12 | + |
| 13 | +### What's Changed |
| 14 | +* Revert "Use github.com/grafana/regexp instead of regexp" by @aknuds1 in https://github.com/prometheus/common/pull/835 |
| 15 | +* Move to supported version of yaml parser by @dims in https://github.com/prometheus/common/pull/834 |
| 16 | +* Revert "Use go.uber.org/atomic instead of sync/atomic (#825)" by @aknuds1 in https://github.com/prometheus/common/pull/838 |
| 17 | + |
| 18 | +**Full Changelog**: https://github.com/prometheus/common/compare/v1.20.99...v0.66.1 |
| 19 | + |
| 20 | +## v0.66.0 / 2025-09-02 |
| 21 | + |
| 22 | +### ⚠️ Breaking Changes ⚠️ |
| 23 | + |
| 24 | +* 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". |
| 25 | + |
| 26 | +### What's Changed |
| 27 | +* model: add constants for type and unit labels. by @bwplotka in https://github.com/prometheus/common/pull/801 |
| 28 | +* model.ValidationScheme: Support encoding as YAML by @aknuds1 in https://github.com/prometheus/common/pull/799 |
| 29 | +* fix(promslog): always print time.Duration values as go duration strings by @tjhop in https://github.com/prometheus/common/pull/798 |
| 30 | +* Add `ValidationScheme` methods `IsValidMetricName` and `IsValidLabelName` by @aknuds1 in https://github.com/prometheus/common/pull/806 |
| 31 | +* Fix delimited proto not escaped correctly by @thampiotr in https://github.com/prometheus/common/pull/809 |
| 32 | +* Decoder: Remove use of global name validation and add validation by @ywwg in https://github.com/prometheus/common/pull/808 |
| 33 | +* ValidationScheme implements pflag.Value and json.Marshaler/Unmarshaler interfaces by @juliusmh in https://github.com/prometheus/common/pull/807 |
| 34 | +* expfmt: Add NewTextParser function by @aknuds1 in https://github.com/prometheus/common/pull/816 |
| 35 | + |
| 36 | +* Enable the godot linter by @aknuds1 in https://github.com/prometheus/common/pull/821 |
| 37 | +* Enable usestdlibvars linter by @aknuds1 in https://github.com/prometheus/common/pull/820 |
| 38 | +* Enable unconvert linter by @aknuds1 in https://github.com/prometheus/common/pull/819 |
| 39 | +* Enable the fatcontext linter by @aknuds1 in https://github.com/prometheus/common/pull/822 |
| 40 | +* Enable gocritic linter by @aknuds1 in https://github.com/prometheus/common/pull/818 |
| 41 | +* Use go.uber.org/atomic instead of sync/atomic by @aknuds1 in https://github.com/prometheus/common/pull/825 |
| 42 | +* Enable revive rule unused-parameter by @aknuds1 in https://github.com/prometheus/common/pull/824 |
| 43 | +* Enable revive rules by @aknuds1 in https://github.com/prometheus/common/pull/823 |
| 44 | +* Synchronize common files from prometheus/prometheus by @prombot in https://github.com/prometheus/common/pull/802 |
| 45 | +* Synchronize common files from prometheus/prometheus by @prombot in https://github.com/prometheus/common/pull/803 |
| 46 | +* Sync .golangci.yml with prometheus/prometheus by @aknuds1 in https://github.com/prometheus/common/pull/817 |
| 47 | +* ci: update upload-actions by @ywwg in https://github.com/prometheus/common/pull/814 |
| 48 | +* docs: fix typo in expfmt.Negotiate by @wmcram in https://github.com/prometheus/common/pull/813 |
| 49 | +* build(deps): bump golang.org/x/net from 0.40.0 to 0.41.0 by @dependabot[bot] in https://github.com/prometheus/common/pull/800 |
| 50 | +* build(deps): bump golang.org/x/net from 0.41.0 to 0.42.0 by @dependabot[bot] in https://github.com/prometheus/common/pull/810 |
| 51 | +* build(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.1 in /assets by @dependabot[bot] in https://github.com/prometheus/common/pull/826 |
| 52 | +* build(deps): bump google.golang.org/protobuf from 1.36.6 to 1.36.8 by @dependabot[bot] in https://github.com/prometheus/common/pull/830 |
| 53 | +* build(deps): bump golang.org/x/net from 0.42.0 to 0.43.0 by @dependabot[bot] in https://github.com/prometheus/common/pull/829 |
| 54 | +* build(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.1 by @dependabot[bot] in https://github.com/prometheus/common/pull/827 |
| 55 | + |
| 56 | +### New Contributors |
| 57 | +* @aknuds1 made their first contribution in https://github.com/prometheus/common/pull/799 |
| 58 | +* @thampiotr made their first contribution in https://github.com/prometheus/common/pull/809 |
| 59 | +* @wmcram made their first contribution in https://github.com/prometheus/common/pull/813 |
| 60 | +* @juliusmh made their first contribution in https://github.com/prometheus/common/pull/807 |
| 61 | + |
0 commit comments