acoustic-carpenter-78188
07/27/2026, 9:33 AMv1.24.0 - 2026-07-20
Changes
• [CHANGE] Minimum required Go version is now 1.25, only the two latest Go versions (1.25 and 1.26) are supported from now on. #1862
• [CHANGE] prometheus: Name validation now always uses the UTF-8 scheme instead of the deprecatedglobal. Default behavior is unchanged; code that setmodel.NameValidationSchemeno longer gets legacy enforcement at metric, label, and push-grouping construction. #2051NameValidationScheme = LegacyValidation
• [CHANGE] api/prometheus/v1: Support matchers (parameter) inmatches[]method (Rules). #1843Rules(ctx context.Context, matches []string) (RulesResult, error)
• [CHANGE] api/prometheus/v1: Refactormethod to returnLabelNamesinstead ofmodel.LabelNamesfor consistency across the API. #1850[]string
• [CHANGE] exp/api/remote: Simplifyinterface, renameStoretoHandler, and encapsulate write response handling. #1855WriteHandler
• [FEATURE] prometheus: Add new Go 1.26 runtime metrics (,/sched/goroutines-created:goroutines,/sched/goroutines/not-in-go:goroutines,/sched/goroutines/runnable:goroutines,/sched/goroutines/running:goroutines,/sched/goroutines/waiting:goroutines). #1942/sched/threads/total:threads
• [FEATURE] prometheus: Addoption and explicit OpenMetrics unit support inWithUnit(unit string),CounterOpts,GaugeOpts, andSummaryOpts. #1392HistogramOpts
• [FEATURE] prometheus: Expose descriptor construction error through publicmethod onErr(). #1902Desc
• [FEATURE] promhttp: Add opt-into deduplicate concurrentHandlerOpts.CoalesceGathercalls so overlapping scrapes share one collection cycle, preventing goroutine pile-up when the scrape rate outpaces collection time. #1969Gather
• [FEATURE] promhttp: HTTP handlers created bypackage now support metrics filtering by providing one or morepromhttpquery parameters. The default behavior when none are provided remains the same, returning all metrics. #1925name[]
• [FEATURE] api/prometheus/v1: Add query formatting endpoint support () and/format_querymethod. #1846, #1856FormatQuery(ctx context.Context, query string) (string, error)
• [FEATURE] api/prometheus/v1: Add support forendpoint via/status/tsdb/blocksmethod. #1896TSDBBlocks(ctx context.Context) ([]TSDBBlock, error)
• [FEATURE] exp/api/remote: Exportto allow customization when usingBackoffConfig. #1895WithAPIBackoff
• [FEATURE] exp/api/remote: Addto allow custom logging or handling on retry attempts in the remote write client. #1888, #1890RetryCallBack
• [ENHANCEMENT] prometheus/collectors/version: Allow specifying custom labels when registering the version collector. #1860
• [ENHANCEMENT] api: Use clonedwhen constructing default HTTP clients to prevent accidental mutations of shared global transport state. #1885http.DefaultTransport
• [BUGFIX] prometheus: Recover from collector panics duringand return an error instead of crashing the process. #1961Gather()
• [BUGFIX] prometheus: Fixunit suffix handling for metriccpu-seconds. #1991go_cpu_classes_gc_mark_assist_cpu_seconds
• [BUGFIX] promhttp:andInstrumentHandlerDurationno longer panic when given an observer/counter that does not implement `ExemplarObserver`/`ExemplarAdder` (e.g. aInstrumentHandlerCounter). The exemplar is dropped and the value is recorded via the plain `Observe`/`Add` path, matching the safe-cast already used bySummaryVec. #2005Timer.ObserveDurationWithExemplar
• [BUGFIX] api/prometheus/v1: Fall back torequests whenGETrequests returnPOSTor method not allowed. #2030403 Forbidden
• [BUGFIX] api: Respect context cancellation inside. #1971httpClient.Do
• [BUGFIX] exp/api/remote: Fix compression buffer pooling where compressed buffers were released prematurely, causing corrupted remote-write payloads. #1889
• [BUGFIX] exp/api/remote: Reject malformed snappy payloads declaring huge decoded sizes. Enforce a 32MB decoded-size limit to prevent OOM from oversized remote-write requests. #1917
• [BUGFIX] exp/api/remote: Ensure remote write v2 headers cannot be returned on v1 requests. #1927
• build(deps): bump github.com/prometheus/procfs from 0.16.1 to 0.17.0 by[bot] in prometheus/client_golang#1839@dependabot
• build(deps): bump golang.org/x/sys from 0.33.0 to 0.34.0 by[bot] in prometheus/client_golang#1838@dependabot
• prometheus/collectors: use godoc link for runtime/metrics supported metrics byin prometheus/client_golang#1844@xieyuschen
• Fix doc typo byin prometheus/client_golang#1849@torrca
• Merge release-1.23 into main byin prometheus/client_golang#1851@vesari
• build(deps): bump github/codeql-action from 3.29.2 to 3.29.5 in the github-actions group by[bot] in prometheus/client_golang#1852@dependabot
• Refactor LabelNames to return model.LabelNames type for consistency byin prometheus/client_golang#1850@yshngg
• remote: simplified Store interface; renamed Handler to WriteHandler byflyteorg/flytein <https://redirect.github.com/prometheus/client_golang/pu…@bwplotka
acoustic-carpenter-78188
07/29/2026, 9:24 AM