|
1 | 1 | ##Unreleased |
2 | 2 |
|
| 3 | +##1.21.0-rc.0 / 2025-01-21 |
| 4 | + |
| 5 | +:warning: This release contains potential breaking change if you upgrade`github.com/prometheus/common` to 0.62+ together with client_golang.:warning: |
| 6 | + |
| 7 | +New common version[changes`model.NameValidationScheme` global variable](https://github.com/prometheus/common/pull/724), which relaxes the validation of label names and metric name, allowing all UTF-8 characters. Typically, this should not break any user, unless your test or usage expects strict certain names to panic/fail on client_golang metric registration, gathering or scrape. In case of problems change`model.NameValidationScheme` to old`model.LegacyValidation` value in your project`init` function. |
| 8 | + |
| 9 | +*[BUGFIX] gocollector: Fix help message for runtime/metric metrics.#1583 |
| 10 | +*[BUGFIX] prometheus: Fix`Desc.String()` method for no labels case.#1687 |
| 11 | +*[ENHANCEMENT] prometheus: Optimize popular`prometheus.BuildFQName` function; now up to 30% faster.#1665 |
| 12 | +*[ENHANCEMENT] prometheus: Optimize`Inc`,`Add` and`Observe` cumulative metrics; now up to 50% faster under high concurrent contention.#1661 |
| 13 | +*[CHANGE] Upgrade prometheus/common to 0.62.0 which changes`model.NameValidationScheme` global variable.#1712 |
| 14 | +*[CHANGE] Add support for Go 1.23.#1602 |
| 15 | +*[FEATURE] process_collector: Add support for Darwin systems.#1600#1616#1625#1675#1715 |
| 16 | +*[FEATURE] api: Add ability to invoke`CloseIdleConnections` on api.Client using`api.Client.(CloseIdler).CloseIdleConnections()` casting.#1513 |
| 17 | +*[FEATURE] promhttp: Add`promhttp.HandlerOpts.EnableOpenMetricsTextCreatedSamples` option to create OpenMetrics_created lines. Not recommended unless you want to use opt-in Created Timestamp feature. Community works on OpenMetrics 2.0 format that should make those lines obsolete (they increase cardinality significantly).#1408 |
| 18 | +*[FEATURE] prometheus: Add`NewConstNativeHistogram` function.#1654 |
| 19 | + |
3 | 20 | ##1.20.5 / 2024-10-15 |
4 | 21 |
|
5 | 22 | *[BUGFIX] testutil: Reverted#1424; functions using compareMetricFamilies are (again) only failing if filtered metricNames are in the expected input. |
|