Skip to content

Update Go libraries (minor) - #338

Merged
renovate-update-app[bot] merged 1 commit into
masterfrom
renovate/go-libraries
Oct 21, 2026
Merged

renovate-update-app[bot] merged 1 commit into
masterfrom
renovate/go-libraries

Conversation

@renovate-update-app

Copy link
Copy Markdown

Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
github.com/gofrs/uuid v4.3.1+incompatible → v4.4.0+incompatible age confidence
github.com/prometheus/client_golang v1.23.2 → v1.25.0 age confidence
go.opentelemetry.io/obi v0.9.0 → v0.14.0 age confidence
go.opentelemetry.io/otel v1.45.0 → v1.47.0 age confidence
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.45.0 → v1.47.0 age confidence
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.45.0 → v1.47.0 age confidence
go.opentelemetry.io/otel/metric v1.45.0 → v1.47.0 age confidence
go.opentelemetry.io/otel/sdk v1.45.0 → v1.47.0 age confidence
go.opentelemetry.io/otel/sdk/metric v1.45.0 → v1.47.0 age confidence
golang.org/x/sys v0.48.0 → v0.49.0 age confidence

Warning

Some dependencies could not be looked up. Check the warning logs for more information.


Release Notes

gofrs/uuid (github.com/gofrs/uuid)

v4.4.0+incompatible

Compare Source

prometheus/client_golang (github.com/prometheus/client_golang)

v1.25.0

Compare Source

⚠️ This release raises the minimum required Go version to 1.26 and includes breaking API changes in api/prometheus/v1 (see the [CHANGE] entries below). ⚠️

1.25.0 / 2026-10-07

  • [CHANGE] Minimum required Go version is now 1.26, only the two latest Go versions (1.26 and 1.27) are supported from now on. #​2138
  • [CHANGE] api/prometheus/v1: Query, QueryRange, Series, LabelNames, and LabelValues now return Infos annotations in addition to Warnings, matching the Prometheus server's info annotations. This changes the signatures of these methods and of api.Client's Do/DoGetFallback; custom API client implementations must be updated. #​1963
  • [CHANGE] api/prometheus/v1: Rework TSDBBlocks result types to align with the Prometheus server's tsdb.BlockMeta: TSDBBlocksResult now contains Blocks []TSDBBlockMeta directly instead of mirroring the full API envelope, nested types are renamed (TSDBBlockMeta, TSDBBlockStats, TSDBBlockMetaCompaction), stat fields are uint64 with omitempty tags, and the optional compaction parents field is included. #​1928
  • [FEATURE] testutil: Add GatherAndFormat to encode a subset of metrics from a Gatherer. #​2091
  • [FEATURE] promhttp: Add HandlerOpts.AcceptedFormats to customize the formats negotiated from the incoming Accept header, enabling opt-in to experimental formats such as OpenMetrics 2.0 without changing default negotiation. #​2146
  • [ENHANCEMENT] promhttp: Negotiated metrics responses now include a Vary header. #​2142
  • [ENHANCEMENT] prometheus: Regenerate the default runtime collector metrics for Go 1.25 and Go 1.26. #​2090, #​2095
  • [ENHANCEMENT] testutil: Finalize OpenMetrics output in GatherAndFormat and CollectAndFormat (terminating # EOF). #​2125
  • [BUGFIX] api: Match complete URL path placeholders only; a :foo argument no longer substitutes inside :foobar. #​2136
  • [BUGFIX] exp/api/remote: Reset the pooled buffer before generic proto marshaling, preventing corrupted remote-write payloads. #​2139
  • [BUGFIX] testutil/promlint: Fix "mibi" unit prefix to "mebi". #​2135
What's changed

What's Changed

New Contributors

Full Changelog: prometheus/client_golang@v1.24.1...v1.25.0

v1.24.1: / 2026-07-23

Compare Source

Small bugfix release for promhttp.

What's Changed

[BUGFIX] promhttp: Fix panic on requests with nil URL. #​2065

Full Changelog: prometheus/client_golang@v1.24.0...v1.24.1

v1.24.0: - 2026-07-20

Compare Source

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 deprecated model.NameValidationScheme global. Default behavior is unchanged; code that set NameValidationScheme = LegacyValidation no longer gets legacy enforcement at metric, label, and push-grouping construction. #​2051
  • [CHANGE] api/prometheus/v1: Support matchers (matches[] parameter) in Rules method (Rules(ctx context.Context, matches []string) (RulesResult, error)). #​1843
  • [CHANGE] api/prometheus/v1: Refactor LabelNames method to return model.LabelNames instead of []string for consistency across the API. #​1850
  • [CHANGE] exp/api/remote: Simplify Store interface, rename Handler to WriteHandler, and encapsulate write response handling. #​1855
  • [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, /sched/threads/total:threads). #​1942
  • [FEATURE] prometheus: Add WithUnit(unit string) option and explicit OpenMetrics unit support in CounterOpts, GaugeOpts, SummaryOpts, and HistogramOpts. #​1392
  • [FEATURE] prometheus: Expose descriptor construction error through public Err() method on Desc. #​1902
  • [FEATURE] promhttp: Add opt-in HandlerOpts.CoalesceGather to deduplicate concurrent Gather calls so overlapping scrapes share one collection cycle, preventing goroutine pile-up when the scrape rate outpaces collection time. #​1969
  • [FEATURE] promhttp: HTTP handlers created by promhttp package now support metrics filtering by providing one or more name[] query parameters. The default behavior when none are provided remains the same, returning all metrics. #​1925
  • [FEATURE] api/prometheus/v1: Add query formatting endpoint support (/format_query) and FormatQuery(ctx context.Context, query string) (string, error) method. #​1846, #​1856
  • [FEATURE] api/prometheus/v1: Add support for /status/tsdb/blocks endpoint via TSDBBlocks(ctx context.Context) ([]TSDBBlock, error) method. #​1896
  • [FEATURE] exp/api/remote: Export BackoffConfig to allow customization when using WithAPIBackoff. #​1895
  • [FEATURE] exp/api/remote: Add RetryCallBack to allow custom logging or handling on retry attempts in the remote write client. #​1888, #​1890
  • [ENHANCEMENT] prometheus/collectors/version: Allow specifying custom labels when registering the version collector. #​1860
  • [ENHANCEMENT] api: Use cloned http.DefaultTransport when constructing default HTTP clients to prevent accidental mutations of shared global transport state. #​1885
  • [BUGFIX] prometheus: Recover from collector panics during Gather() and return an error instead of crashing the process. #​1961
  • [BUGFIX] prometheus: Fix cpu-seconds unit suffix handling for metric go_cpu_classes_gc_mark_assist_cpu_seconds. #​1991
  • [BUGFIX] promhttp: InstrumentHandlerDuration and InstrumentHandlerCounter no longer panic when given an observer/counter that does not implement ExemplarObserver/ExemplarAdder (e.g. a SummaryVec). The exemplar is dropped and the value is recorded via the plain Observe/Add path, matching the safe-cast already used by Timer.ObserveDurationWithExemplar. #​2005
  • [BUGFIX] api/prometheus/v1: Fall back to GET requests when POST requests return 403 Forbidden or method not allowed. #​2030
  • [BUGFIX] api: Respect context cancellation inside httpClient.Do. #​1971
  • [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
All commits

[!IMPORTANT]
✂ PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

@renovate-update-app

Copy link
Copy Markdown
Author

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 63 additional dependencies were updated

Due to Go's usage of Minimal Version Selection (MVS), these packages have been updated to the minimum version available, so will still abide by minimumReleaseAge=7 days

Details:

Package Change
github.com/go-openapi/jsonpointer v0.22.5 -> v1.0.0
github.com/go-openapi/jsonreference v0.21.5 -> v1.0.0
github.com/go-openapi/swag v0.25.5 -> v0.29.1
github.com/prometheus/client_model v0.6.2 -> v0.6.3
github.com/prometheus/common v0.67.5 -> v0.72.0
github.com/prometheus/procfs v0.20.1 -> v0.22.0
golang.org/x/crypto v0.56.0 -> v0.57.0
golang.org/x/mod v0.38.0 -> v0.41.0
golang.org/x/net v0.58.0 -> v0.59.0
golang.org/x/oauth2 v0.36.0 -> v0.37.0
golang.org/x/sync v0.22.0 -> v0.23.0
golang.org/x/text v0.41.0 -> v0.42.0
golang.org/x/tools v0.48.0 -> v0.50.0
google.golang.org/protobuf v1.36.11 -> v1.36.12
k8s.io/api v0.35.3 -> v0.35.4
k8s.io/apimachinery v0.35.3 -> v0.35.4
k8s.io/client-go v0.35.3 -> v0.35.4
k8s.io/kube-openapi v0.0.0-20260330154417-16be699c7b31 -> v0.0.0-20260821135717-be32def86098
k8s.io/utils v0.0.0-20260319190234-28399d86e0b5 -> v0.0.0-20260707023825-cf1189d6abe3
github.com/aws/aws-sdk-go-v2 v1.41.5 -> v1.45.1
github.com/aws/aws-sdk-go-v2/config v1.32.14 -> v1.33.2
github.com/aws/aws-sdk-go-v2/credentials v1.19.14 -> v1.20.2
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.21 -> v1.19.1
github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.21 -> v1.5.1
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.21 -> v2.8.1
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.7 -> v1.13.19
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.21 -> v1.14.1
github.com/aws/aws-sdk-go-v2/service/signin v1.0.9 -> v1.8.0
github.com/aws/aws-sdk-go-v2/service/sso v1.30.15 -> v1.36.0
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.35.19 -> v1.41.0
github.com/aws/aws-sdk-go-v2/service/sts v1.41.10 -> v1.48.0
github.com/aws/smithy-go v1.24.3 -> v1.28.1
github.com/felixge/httpsnoop v1.0.4 -> v1.1.0
github.com/fxamacker/cbor/v2 v2.9.1 -> v2.9.3
github.com/go-openapi/analysis v0.23.0 -> v0.25.5
github.com/go-openapi/errors v0.22.0 -> v0.22.8
github.com/go-openapi/loads v0.22.0 -> v0.25.0
github.com/go-openapi/runtime v0.28.0 -> v0.33.0
github.com/go-openapi/spec v0.21.0 -> v0.22.9
github.com/go-openapi/strfmt v0.23.0 -> v0.27.0
github.com/go-openapi/swag/cmdutils v0.25.5 -> v0.29.1
github.com/go-openapi/swag/conv v0.25.5 -> v0.29.1
github.com/go-openapi/swag/fileutils v0.25.5 -> v0.29.1
github.com/go-openapi/swag/jsonutils v0.25.5 -> v0.29.1
github.com/go-openapi/swag/loading v0.25.5 -> v0.29.1
github.com/go-openapi/swag/mangling v0.25.5 -> v0.29.1
github.com/go-openapi/swag/netutils v0.25.5 -> v0.29.1
github.com/go-openapi/swag/stringutils v0.25.5 -> v0.29.1
github.com/go-openapi/swag/typeutils v0.25.5 -> v0.29.1
github.com/go-openapi/swag/yamlutils v0.25.5 -> v0.29.1
github.com/go-openapi/validate v0.24.0 -> v0.26.1
github.com/grpc-ecosystem/grpc-gateway/v2 v2.29.0 -> v2.30.0
github.com/klauspost/compress v1.18.7 -> v1.20.1
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.68.0 -> v0.70.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.45.0 -> v1.46.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.45.0 -> v1.46.0
go.opentelemetry.io/otel/trace v1.45.0 -> v1.47.0
golang.org/x/arch v0.26.0 -> v0.31.0
golang.org/x/exp v0.0.0-20241210194714-1829a127f884 -> v0.0.0-20260824195058-e88cd73687aa
golang.org/x/term v0.45.0 -> v0.46.0
google.golang.org/genproto/googleapis/api v0.0.0-20260803160001-6ac0973c030d -> v0.0.0-20260928230214-8a89bd6388cc
google.golang.org/genproto/googleapis/rpc v0.0.0-20260803160001-6ac0973c030d -> v0.0.0-20260928230214-8a89bd6388cc
sigs.k8s.io/structured-merge-diff/v6 v6.3.2 -> v6.4.2

@renovatee-approver-stackvista renovatee-approver-stackvista Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approving verified Renovate commits with native automerge enabled.

@renovate-update-app
renovate-update-app Bot merged commit 3e08383 into master Oct 21, 2026
11 checks passed
@renovate-update-app
renovate-update-app Bot deleted the renovate/go-libraries branch October 21, 2026 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants