Skip to content

ING-1519: Updated all dependencies#370

Merged
brett19 merged 2 commits into
masterfrom
ING-1519_update-dependencies
May 19, 2026
Merged

ING-1519: Updated all dependencies#370
brett19 merged 2 commits into
masterfrom
ING-1519_update-dependencies

Conversation

@brett19
Copy link
Copy Markdown
Member

@brett19 brett19 commented May 19, 2026

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates Go module dependencies (including oapi-codegen and OpenTelemetry) and adjusts the Data API HTTP strict-middleware integration and response header handling to match the updated generated types.

Changes:

  • Bumped versions across go.mod / go.sum (AWS/Azure/GCP SDKs, OpenTelemetry, oapi-codegen runtime/tooling, etc.).
  • Migrated strict HTTP middleware plumbing from oapi-codegen/runtime/strictmiddleware/nethttp types to generated dataapiv1 strict middleware/handler function types.
  • Updated Data API response header helpers/assignments to use pointer-valued header fields (e.g., *string, *uint32) as expected by the new generated types.

Reviewed changes

Copilot reviewed 11 out of 12 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
go.mod Updates direct/indirect dependency versions (notably oapi-codegen, OpenTelemetry, cloud SDKs).
go.sum Refreshes module checksums for the updated dependency graph.
gateway/system/system.go Switches strict handler middleware slice type to dataapiv1.StrictMiddlewareFunc and drops the old nethttp middleware import.
gateway/dapiimpl/uatracing.go Updates tracing middleware to the generated strict middleware/handler function types.
gateway/dapiimpl/uametrics.go Updates user-agent metrics middleware to the generated strict middleware/handler function types.
gateway/dapiimpl/tlsconnstate.go Updates TLS conn-state middleware to the generated strict middleware/handler function types.
gateway/dapiimpl/httperrors.go Updates error-handling middleware to the generated strict middleware/handler function types.
contrib/oapimetrics/metrics.go Updates OAPI metrics middleware to the generated strict middleware/handler function types.
gateway/dapiimpl/server_v1/helpers.go Changes helper return types for headers (e.g., ETag/Expires/mutation token) to pointers.
gateway/dapiimpl/server_v1/dataapi_touch.go Updates response headers to pointer fields using ptr.To(...).
gateway/dapiimpl/server_v1/dataapi_locking.go Updates response headers to pointer fields using ptr.To(...).
gateway/dapiimpl/server_v1/dataapi_crud.go Updates response headers to pointer fields using ptr.To(...).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread gateway/dapiimpl/server_v1/dataapi_touch.go
Comment thread gateway/dapiimpl/server_v1/dataapi_locking.go
Comment thread gateway/dapiimpl/server_v1/dataapi_crud.go
chvck
chvck previously approved these changes May 19, 2026
@brett19 brett19 force-pushed the ING-1519_update-dependencies branch from e008c5d to ac59c21 Compare May 19, 2026 20:23
@brett19 brett19 merged commit 991cf5e into master May 19, 2026
26 checks passed
@brett19 brett19 deleted the ING-1519_update-dependencies branch May 19, 2026 21:22
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.

4 participants