Skip to content

fix(deps): update go deps#604

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/auto-go-deps
Open

fix(deps): update go deps#604
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/auto-go-deps

Conversation

@renovate

@renovate renovate Bot commented Jul 19, 2025

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Type Update Change Age Confidence
github.com/canonical/identity-platform-api require digest 4e11f02fe6c404 age confidence
github.com/canonical/rebac-admin-ui-handlers require minor v0.1.2v0.2.1 age confidence
github.com/coreos/go-oidc/v3 require minor v3.14.1v3.19.0 age confidence
github.com/exaring/otelpgx require minor v0.9.4v0.11.1 age confidence
github.com/go-chi/chi/v5 require minor v5.2.5v5.3.0 age confidence
github.com/go-playground/validator/v10 require minor v10.22.1v10.30.3 age confidence
github.com/grpc-ecosystem/grpc-gateway/v2 require minor v2.28.0v2.29.0 age confidence
github.com/jackc/pgx/v5 require minor v5.9.2v5.10.0 age confidence
github.com/ory/hydra-client-go/v2 require minor v2.1.1v2.2.1 age confidence
github.com/ory/kratos-client-go require minor v1.1.0v1.3.8 age confidence
github.com/pressly/goose/v3 require minor v3.24.3v3.27.1 age confidence
github.com/prometheus/client_golang require minor v1.17.0v1.23.2 age confidence
github.com/spf13/cobra require minor v1.8.1v1.10.2 age confidence
github.com/tomnomnom/linkheader require digest 02ca582e5fe3b5 age confidence
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp require minor v0.49.0v0.69.0 age confidence
go.opentelemetry.io/contrib/propagators/jaeger require minor v1.20.0v1.44.0 age confidence
go.opentelemetry.io/otel require minor v1.43.0v1.44.0 age confidence
go.opentelemetry.io/otel/exporters/otlp/otlptrace require minor v1.43.0v1.44.0 age confidence
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc require minor v1.19.0v1.44.0 age confidence
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp require minor v1.43.0v1.44.0 age confidence
go.opentelemetry.io/otel/exporters/stdout/stdouttrace require minor v1.19.0v1.44.0 age confidence
go.opentelemetry.io/otel/sdk require minor v1.43.0v1.44.0 age confidence
go.opentelemetry.io/otel/trace require minor v1.43.0v1.44.0 age confidence
go.uber.org/mock require minor v0.4.0v0.6.0 age confidence
go.uber.org/zap require minor v1.27.1v1.28.0 age confidence
golang.org/x/oauth2 require minor v0.35.0v0.36.0 age confidence
google.golang.org/genproto/googleapis/rpc require digest 9d38bb4b703f56 age confidence
google.golang.org/grpc require minor v1.80.0v1.81.1 age confidence
k8s.io/api require minor v0.28.15v0.36.2 age confidence
k8s.io/apimachinery require minor v0.28.15v0.36.2 age confidence
k8s.io/client-go require minor v0.28.15v0.36.2 age confidence

Warning

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


Release Notes

canonical/rebac-admin-ui-handlers (github.com/canonical/rebac-admin-ui-handlers)

v0.2.1

Compare Source

Bug Fixes
  • govulncheck: fix GO-2025-3533 (be99847)

v0.2.0

Compare Source

Features
  • error-response-mapper: update MapError to use the context (1fe817e)
Bug Fixes
  • test: use latest version of upload-artifact (b55d122)
coreos/go-oidc (github.com/coreos/go-oidc/v3)

v3.19.0

Compare Source

What's Changed

New Contributors

Full Changelog: coreos/go-oidc@v3.18.0...v3.19.0

v3.18.0

Compare Source

What's Changed

Full Changelog: coreos/go-oidc@v3.17.0...v3.18.0

v3.17.0

Compare Source

What's Changed

Full Changelog: coreos/go-oidc@v3.16.0...v3.17.0

v3.16.0

Compare Source

What's Changed

  • refactor: Remove unused time injection from RemoteKeySet by @​ponimas in #​466
  • bump go to 1.24, remove 1.23 support, bump go-jose dependency, remove x/net dependency by @​wardviaene in #​467

New Contributors

Full Changelog: coreos/go-oidc@v3.15.0...v3.16.0

v3.15.0

Compare Source

What's Changed

Full Changelog: coreos/go-oidc@v3.14.1...v3.15.0

exaring/otelpgx (github.com/exaring/otelpgx)

v0.11.1

Compare Source

What's Changed

New Contributors

Full Changelog: exaring/otelpgx@v0.11.0...v0.11.1

v0.11.0

Compare Source

What's Changed

New Contributors

Full Changelog: exaring/otelpgx@v0.10.0...v0.11.0

v0.10.0

Compare Source

What's Changed

New Contributors

Full Changelog: exaring/otelpgx@v0.9.4...v0.10.0

go-chi/chi (github.com/go-chi/chi/v5)

v5.3.0

Compare Source

What's Changed

New Contributors

SECURITY: middleware.ClientIP, a replacement for middleware.RealIP

PR #​967 introduced middleware.ClientIP, a replacement for middleware.RealIP that closes the three open spoofing advisories:

It also addresses issues outlined at:

middleware.RealIP is deprecated in this PR with pointers to the new API.

The deprecation only adds a // Deprecated: doc comment; the function keeps working for backward compatibility.

Why a new middleware (not "fix RealIP in place")

RealIP has two unfixable design choices: it mutates r.RemoteAddr, and it tries to be a one-size-fits-all default by walking a hard-coded list of headers any client can supply. Per adam-p's "The perils of the 'real' client IP" (which calls chi out by name on this), there is no safe default — the user must pick their trust source explicitly.

The new API

Four middlewares, two accessors. Pick exactly one middleware based on your
infrastructure, read the result with one of the two accessors:

// One of the four. There is no safe default — pick exactly one.
func ClientIPFromHeader(trustedHeader string) func(http.Handler) http.Handler
func ClientIPFromXFF(trustedIPPrefixes ...string) func(http.Handler) http.Handler
func ClientIPFromXFFTrustedProxies(numTrustedProxies int) func(http.Handler) http.Handler
func ClientIPFromRemoteAddr(h http.Handler) http.Handler

// Read the result.
func GetClientIP(ctx context.Context) string         // for logs, rate-limit keys
func GetClientIPAddr(ctx context.Context) netip.Addr // for typed work

Example usage:

// Pick a single ClientIP middleware based on your deployment
  
// Cloudflare.
r.Use(middleware.ClientIPFromHeader("CF-Connecting-IP"))

// Nginx with ngx_http_realip_module.
r.Use(middleware.ClientIPFromHeader("X-Real-IP"))

// Apache with mod_remoteip.
r.Use(middleware.ClientIPFromHeader("X-Client-IP"))

// AWS CloudFront, or any proxy fleet with known CIDRs.
r.Use(middleware.ClientIPFromXFF(
    "13.32.0.0/15",   // CloudFront IPv4
    "52.46.0.0/18",   // CloudFront IPv4
    "2600:9000::/28", // CloudFront IPv6
))

// Behind exactly 2 trusted proxies with dynamic IPs (autoscaling pools,
// ephemeral containers, dynamic CDN edges).
r.Use(middleware.ClientIPFromXFFTrustedProxies(2))

// Server directly on the public internet, no proxy in front.
r.Use(middleware.ClientIPFromRemoteAddr)

And in your handler or downstream middleware:

clientIP := middleware.GetClientIP(r.Context())
// log it, use it as a rate-limit key, etc.

Thanks to @​adam-p, @​c2h5oh, @​rezmoss, @​Saku0512, @​convto, @​Dirbaio, @​jawnsy, @​lrstanley, @​mfridman, @​n33pm, @​pkieltyka for the prior discussions, detailed reviews, advisory reports, and test contributions that shaped this PR.

Full Changelog: go-chi/chi@v5.2.5...v5.3.0

go-playground/validator (github.com/go-playground/validator/v10)

v10.30.3

Compare Source

What's Changed

New Contributors

Full Changelog: go-playground/validator@v10.30.2...v10.30.3

v10.30.2

Compare Source

What's Changed

New Contributors

Full Changelog: go-playground/validator@v10.30.1...v10.30.2

v10.30.1: Release 10.30.1

Compare Source

What's Changed

New Contributors

Full Changelog: go-playground/validator@v10.30.0...v10.30.1

v10.30.0: Release 10.30.0

Compare Source

What's Changed

New Contributors

Full Changelog: go-playground/validator@v10.29.0...v10.30.0

v10.29.0

Compare Source

What's Changed

New Contributors

Full Changelog: go-playground/validator@v10.28.0...v10.29.0

v10.28.0: Release 10.28.0

Compare Source

What's Changed

New Contributors

Full Changelog: go-playground/validator@v10.27.0...v10.28.0

v10.27.0: Release 10.27.0

Compare Source

What's Changed

New Contributors

Full Changelog: go-playground/validator@v10.26.0...v10.27.0

v10.26.0

Compare Source

What's Changed

Note

PR body was truncated to here.


Configuration

📅 Schedule: (in timezone Europe/London)

  • Branch creation
    • Only on Monday, Wednesday, and Saturday (* * * * 1,3,6)
  • 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot requested a review from a team as a code owner July 19, 2025 08:07
@renovate renovate Bot force-pushed the renovate/auto-go-deps branch from 913e7ba to 949e26c Compare July 19, 2025 08:22
@canonical-iam canonical-iam enabled auto-merge July 19, 2025 08:22
@renovate

renovate Bot commented Jul 19, 2025

Copy link
Copy Markdown
Contributor 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):

  • 24 additional dependencies were updated

Details:

Package Change
github.com/emicklei/go-restful/v3 v3.9.0 -> v3.12.2
github.com/gabriel-vasile/mimetype v1.4.3 -> v1.4.10
github.com/go-jose/go-jose/v4 v4.0.5 -> v4.1.3
github.com/go-logr/logr v1.4.2 -> v1.4.3
github.com/google/gnostic-models v0.6.8 -> v0.7.0
github.com/modern-go/reflect2 v1.0.2 -> v1.0.3-0.20250322232337-35a7c28c31ee
github.com/prometheus/client_model v0.4.1-0.20230718164431-9a2bf3000d16 -> v0.6.2
github.com/prometheus/common v0.44.0 -> v0.66.1
github.com/spf13/pflag v1.0.5 -> v1.0.9
go.opentelemetry.io/auto/sdk v1.1.0 -> v1.2.1
go.opentelemetry.io/otel/metric v1.35.0 -> v1.39.0
go.opentelemetry.io/proto/otlp v1.0.0 -> v1.9.0
golang.org/x/crypto v0.38.0 -> v0.44.0
golang.org/x/exp v0.0.0-20250506013437-ce4c2cf36ca6 -> v0.0.0-20250620022241-b7579e27df2b
golang.org/x/net v0.40.0 -> v0.47.0
golang.org/x/sync v0.17.0 -> v0.18.0
golang.org/x/sys v0.33.0 -> v0.39.0
golang.org/x/term v0.32.0 -> v0.37.0
golang.org/x/text v0.29.0 -> v0.31.0
k8s.io/klog/v2 v2.100.1 -> v2.130.1
k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 -> v0.0.0-20250710124328-f3f2b991d03b
k8s.io/utils v0.0.0-20230406110748-d93618cff8a2 -> v0.0.0-20250604170112-4c0f3b243397
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd -> v0.0.0-20241014173422-cfa47c3a1cc8
sigs.k8s.io/yaml v1.3.0 -> v1.6.0

@renovate renovate Bot force-pushed the renovate/auto-go-deps branch from 949e26c to 8d84d35 Compare July 19, 2025 15:48
@renovate renovate Bot force-pushed the renovate/auto-go-deps branch from 8d84d35 to 65a0fa2 Compare July 19, 2025 16:04
@renovate renovate Bot force-pushed the renovate/auto-go-deps branch from 65a0fa2 to 3d43391 Compare July 19, 2025 16:20
@renovate renovate Bot force-pushed the renovate/auto-go-deps branch from 3d43391 to 866453e Compare July 21, 2025 08:10
@renovate renovate Bot force-pushed the renovate/auto-go-deps branch from 866453e to 7a28fd2 Compare July 21, 2025 15:19
@renovate renovate Bot force-pushed the renovate/auto-go-deps branch from 7a28fd2 to a85b69a Compare July 21, 2025 15:36
canonical-iam
canonical-iam previously approved these changes Jul 21, 2025
canonical-iam
canonical-iam previously approved these changes Jul 22, 2025
@renovate renovate Bot force-pushed the renovate/auto-go-deps branch from edb6561 to e7b70c6 Compare July 23, 2025 01:09
@renovate renovate Bot force-pushed the renovate/auto-go-deps branch from e7b70c6 to f7519d9 Compare July 23, 2025 19:03
@renovate renovate Bot force-pushed the renovate/auto-go-deps branch from f7519d9 to 4f6184a Compare July 23, 2025 19:19
canonical-iam
canonical-iam previously approved these changes Jul 23, 2025
canonical-iam
canonical-iam previously approved these changes May 20, 2026
canonical-iam
canonical-iam previously approved these changes May 22, 2026
canonical-iam
canonical-iam previously approved these changes May 22, 2026
canonical-iam
canonical-iam previously approved these changes May 23, 2026
canonical-iam
canonical-iam previously approved these changes May 23, 2026
canonical-iam
canonical-iam previously approved these changes May 26, 2026
canonical-iam
canonical-iam previously approved these changes May 26, 2026
canonical-iam
canonical-iam previously approved these changes May 27, 2026
canonical-iam
canonical-iam previously approved these changes May 28, 2026
canonical-iam
canonical-iam previously approved these changes May 30, 2026
canonical-iam
canonical-iam previously approved these changes Jun 3, 2026
canonical-iam
canonical-iam previously approved these changes Jun 4, 2026
canonical-iam
canonical-iam previously approved these changes Jun 9, 2026
canonical-iam
canonical-iam previously approved these changes Jun 9, 2026
canonical-iam
canonical-iam previously approved these changes Jun 11, 2026
canonical-iam
canonical-iam previously approved these changes Jun 12, 2026
canonical-iam
canonical-iam previously approved these changes Jun 14, 2026
canonical-iam
canonical-iam previously approved these changes Jun 14, 2026
canonical-iam
canonical-iam previously approved these changes Jun 15, 2026
canonical-iam
canonical-iam previously approved these changes Jun 16, 2026
canonical-iam
canonical-iam previously approved these changes Jun 18, 2026
canonical-iam
canonical-iam previously approved these changes Jun 18, 2026
canonical-iam
canonical-iam previously approved these changes Jun 21, 2026
canonical-iam
canonical-iam previously approved these changes Jun 21, 2026
canonical-iam
canonical-iam previously approved these changes Jun 23, 2026
canonical-iam
canonical-iam previously approved these changes Jun 24, 2026
canonical-iam
canonical-iam previously approved these changes Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant