Skip to content

Update module github.com/hashicorp/consul/api to v2 - #48657

Closed
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/github.qkg1.top-hashicorp-consul-api-2.x
Closed

Update module github.com/hashicorp/consul/api to v2#48657
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/github.qkg1.top-hashicorp-consul-api-2.x

Conversation

@renovate

@renovate renovate Bot commented May 26, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/hashicorp/consul/api v1.32.1v2.0.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.

⚠️ MAJOR VERSION UPDATE ⚠️ - please manually update this package


Release Notes

hashicorp/consul (github.com/hashicorp/consul/api)

v2.0.0

2.0.0 (May 22, 2026)

SECURITY:

  • connect: Upgrade envoy version to 1.37.2 and newer versions [GH-23469]
  • go: Upgrade go version to 1.26 [GH-23493]
  • agent: Increased default HTTP server timeouts to prevent breaking long-polling blocking queries. read_timeout and write_timeout are now set to 15 minutes (up from 30 seconds), while read_header_timeout (10s) and idle_timeout (120s) still provide protection against Slowloris attacks. All timeouts remain configurable via the http_config block. [GH-23267]
  • api-gateway, terminating-gateway: Apply HTTP request path normalization on api-gateway and terminating-gateway HTTP listeners to prevent L7 intention RBAC bypass via non-normalized paths (CVE-2024-10005). [GH-23534]
  • docker: update ubi base image to ubi9-minimal:9.7. [GH-23553]
  • docker: Upgrade curl to >= 8.20.0 from Alpine edge in the container image to address
    CVE-2026-6429,
    CVE-2026-4873,
    CVE-2026-5773,
    CVE-2026-6253,
    CVE-2026-6276,
    CVE-2026-7168,
    CVE-2026-5545.
    Alpine 3.23 stable does not yet carry the patched version. [GH-23750]
  • docker: Update to UBI base image to 9.8 for fixing [CVE_2026-2100] [GH-23588]

FEATURES:

  • (Enterprise Only) update to go-licensing/v4 and go-census/v3 inorder to adapt to new licenses of PAO.
  • Global Rate Limiter: (Enterprise Only) a new "rate-limit" config entry kind that enables dynamic, cluster-wide RPC rate limiting stored in Raft and automatically replicated to all servers. This allows operators to apply or adjust global rate limits at runtime without restarting Consul servers — a critical capability for emergency scenarios where the cluster is under excessive load.
  • api-gateway: Added SDS certificate support for API Gateway listeners, including listener-level default TLS certificates and HTTP/TCP route service TLS SDS overrides. Service overrides inherit the listener SDS cluster when omitted, and gateway validation/xDS generation now rejects conflicting override mappings to keep certificate selection deterministic. [GH-23354]
  • api-gateway: add support for gateway-level default upstream limits and route service-level limit overrides for MaxConnections, MaxPendingRequests, and MaxConcurrentRequests. [GH-23396]
  • api: Added new API "/v1/internal/rpc/methods" that lists all RPC method names. Requires an operator:read ACL token. This is useful when users want to configure rate limits that exclude specific RPC endpoints. [GH-23329]
  • ca: (Enterprise Only) Added new Connect CA provider for Cyberark WIM (connect.ca_provider = "pan-distributed-issuer"), enabling Consul to issue certificates through Cyberark WIM.
  • server: (Enterprise Only) add stable cluster identity and leader-gated global registry sync for service summary publishing.
  • telemetry: (Enterprise Only) Product telemetry for self-managed Consul with anonymous, opt-in usage reporting.
  • mesh: (Enterprise Only) Introduce support for multi-port (named port) services in Consul, including the ability to specify and route traffic using port names, as well as to retrieve virtual IPs for specific service ports. It also enforces that certain advanced multi-port features are only available in Consul Enterprise, and includes new utility functions for cluster naming and ALPN protocol generation.

IMPROVEMENTS:

  • agent: (Enterprise Only) Add eventually-consistent background cache for Enterprise usage metrics, reducing GET /v1/operator/usage latency from O(PNK) to O(1) and lowering CPU/memory pressure during high-frequency scraping via a watch-driven maintainer goroutine.
  • mesh: (Enterprise Only) Introduce support for multi-port (named port) services in Consul, including the ability to specify and route traffic using port names, as well as to retrieve virtual IPs for specific service ports. It also enforces that certain advanced multi-port features are only available in Consul Enterprise, and includes new utility functions for cluster naming and ALPN protocol generation.
  • terminating-gateway: Updated the cluster upstream tls to use sds instead of static certs, allowing for dynamic certificate updates without needing to restart the terminating gateway. [GH-23288]
  • telemetry: Add certificate expiry monitoring with Prometheus metrics (labeled with datacenter/partition/namespace), structured logging with configurable severity thresholds, and enhanced Connect CA API to include NotAfter field for root and intermediate certificates. [GH-23147]
  • deps: Upgrade github.com/hashicorp/vault/sdk from v0.7.0 to v0.25.1 and github.com/hashicorp/vault/api from v1.12.2 to v1.16.0. [GH-23574]
  • test-integ: upgrade testcontainers-go (v0.22.0->v0.40.0) and docker/docker (v24.0.5->v28.5.1) in the integration test module. This removes opencontainers/runc as a Go dependency of the test framework. These are test infrastructure dependencies only and have no impact on the consul binary or any consul deployment. [GH-23573]
  • xds: add Consecutive5xx, ConsecutiveGatewayFailure, and EnforcingConsecutiveGatewayFailure fields to PassiveHealthCheck, allowing operators to configure Envoy outlier detection thresholds for 5xx responses and gateway failures (502/503/504) on upstreams defaults.

BUG FIXES:

  • audit-logging: (Enterprise Only) Fixed JSON unmarshall error when array of obj is passed for auditReq body.
  • cli: Enhanced error messages in consul config write command to provide actionable guidance when config entries cannot be modified due to references by gateways or routers. [GH-22921]
  • xds: Fixed XDS package to generate correct endpoints and cluster configurations for API Gateways when peered, and updated the API Gateway update handler to propogate mesh gateway config to its upstreams. [GH-23454]
  • XDS: Fixes issue with mesh-gateway in remote mode on AWS EKS, as DNS hostnames are assigned to AWS NLBs instead of IPs and envoy's EDS endpoint validation expects address to be an IP. Now EDS load assignment is skipped for non-peer remote mesh gateway targets with hostname based gateways keeping CDS/EDS in sync. [GH-23543]
  • api-gateway: resolve service subsets for routes during API gateway discovery chain synthesis. [GH-23294]
  • ui: Fix broken documentation links [GH-23578]

Configuration

📅 Schedule: (UTC)

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from dashpole as a code owner May 26, 2026 10:06
@renovate renovate Bot added the dependency-major-update Indicates a dependency major version bump label May 26, 2026
@renovate
renovate Bot requested a review from a team as a code owner May 26, 2026 10:06
@renovate

renovate Bot commented May 26, 2026

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: internal/metadataproviders/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):

  • 1 additional dependency was updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.25.0 -> 1.26
golang.org/x/exp v0.0.0-20250305212735-054e65f0b394 -> v0.0.0-20260218203240-3dfff04db8fa
File name: processor/resourcedetectionprocessor/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):

  • 1 additional dependency was updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.25.0 -> 1.26
golang.org/x/exp v0.0.0-20250305212735-054e65f0b394 -> v0.0.0-20260218203240-3dfff04db8fa

@renovate renovate Bot added the dependency-major-update Indicates a dependency major version bump label May 26, 2026
@github-actions
github-actions Bot requested a review from Aneurysm9 May 26, 2026 10:07

@mx-psi mx-psi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

needs go 1.26

@songy23
songy23 marked this pull request as draft May 26, 2026 11:53
@codeboten

Copy link
Copy Markdown
Contributor

See #47821

@renovate
renovate Bot force-pushed the renovate/github.qkg1.top-hashicorp-consul-api-2.x branch 4 times, most recently from e0cafbd to 4d48d59 Compare June 2, 2026 14:13
@renovate
renovate Bot force-pushed the renovate/github.qkg1.top-hashicorp-consul-api-2.x branch from 4d48d59 to d252a37 Compare June 2, 2026 21:44
@renovate renovate Bot changed the title Update module github.com/hashicorp/consul/api to v2 Update module github.com/hashicorp/consul/api to v2 - autoclosed Jun 9, 2026
@renovate renovate Bot closed this Jun 9, 2026
@renovate
renovate Bot deleted the renovate/github.qkg1.top-hashicorp-consul-api-2.x branch June 9, 2026 01:49
@renovate renovate Bot changed the title Update module github.com/hashicorp/consul/api to v2 - autoclosed Update module github.com/hashicorp/consul/api to v2 Jun 9, 2026
@renovate renovate Bot reopened this Jun 9, 2026
@renovate
renovate Bot force-pushed the renovate/github.qkg1.top-hashicorp-consul-api-2.x branch 3 times, most recently from 0b66576 to 60b85f2 Compare June 9, 2026 23:16
@renovate renovate Bot changed the title Update module github.com/hashicorp/consul/api to v2 Update module github.com/hashicorp/consul/api to v2 - autoclosed Jun 10, 2026
@renovate renovate Bot closed this Jun 10, 2026
@renovate renovate Bot changed the title Update module github.com/hashicorp/consul/api to v2 - autoclosed Update module github.com/hashicorp/consul/api to v2 Jun 16, 2026
@renovate renovate Bot reopened this Jun 16, 2026
@renovate
renovate Bot force-pushed the renovate/github.qkg1.top-hashicorp-consul-api-2.x branch from c687c76 to 60b85f2 Compare June 16, 2026 15:09
@renovate
renovate Bot force-pushed the renovate/github.qkg1.top-hashicorp-consul-api-2.x branch 4 times, most recently from 78290d9 to 33371c8 Compare June 23, 2026 13:33
@renovate
renovate Bot force-pushed the renovate/github.qkg1.top-hashicorp-consul-api-2.x branch from 33371c8 to 481a194 Compare June 30, 2026 12:57
@renovate
renovate Bot force-pushed the renovate/github.qkg1.top-hashicorp-consul-api-2.x branch from 481a194 to 9f2dd3d Compare July 1, 2026 15:10
@mx-psi mx-psi closed this Jul 3, 2026
@renovate

renovate Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor Author

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 2.x releases. But if you manually upgrade to 2.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependency-major-update Indicates a dependency major version bump internal/metadataproviders processor/resourcedetection Resource detection processor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants