Skip to content

chore: upgrade go v1.24.12 and latest dependencies #209

Merged
hgiasac merged 2 commits into
mainfrom
chore/upgrade-go-v12412
Jan 24, 2026
Merged

chore: upgrade go v1.24.12 and latest dependencies #209
hgiasac merged 2 commits into
mainfrom
chore/upgrade-go-v12412

Conversation

@hgiasac
Copy link
Copy Markdown
Collaborator

@hgiasac hgiasac commented Jan 24, 2026

This pull request updates Go version requirements and refreshes a wide range of dependencies across the main SDK, CLI, code generation templates, and example/test modules. It also updates the base images in the Dockerfile templates to use newer versions. These changes ensure the project uses the latest compatible versions for improved security, performance, and compatibility.

Dependency and version updates:

  • Updated the Go version requirement from 1.24.0 to 1.24.12 in all go.mod files, go.work.testing, and code generation templates for better compatibility and security. [1] [2] [3] [4] [5] [6] [7] [8]
  • Upgraded direct and indirect dependencies throughout the main SDK, CLI, example, and test modules, including go.opentelemetry.io/otel, github.com/alecthomas/kong, github.com/go-viper/mapstructure/v2, github.com/klauspost/compress, github.com/prometheus/common, golang.org/x/sync, and more, to their latest minor or patch versions. [1] [2] [3] [4] [5]
  • Updated the version of github.com/hasura/ndc-sdk-go/v2 used in the CLI from a pseudo-version to v2.2.0.

Dockerfile improvements:

  • Updated the build stage in the .hasura-connector/Dockerfile.tmpl to use golang:1.25 and the production stage to use gcr.io/distroless/static-debian13:nonroot for newer base images. [1] [2]

These updates help keep the project current with upstream improvements and maintain compatibility with the Go ecosystem.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jan 24, 2026

Code Coverage

Package Line Rate Health
github.com/hasura/ndc-codegen-example 98%
github.com/hasura/ndc-codegen-example/functions 63%
github.com/hasura/ndc-codegen-example/types/arguments 43%
github.com/hasura/ndc-codegen-example/types 32%
github.com/hasura/ndc-sdk-go/v2/cmd/hasura-ndc-go/command/internal 84%
github.com/hasura/ndc-sdk-go/v2/cmd/hasura-ndc-go/command 46%
github.com/hasura/ndc-sdk-go/v2/cmd/hasura-ndc-go/version 62%
github.com/hasura/ndc-sdk-go/v2/connector 59%
github.com/hasura/ndc-sdk-go/v2/credentials 75%
github.com/hasura/ndc-sdk-go/v2/example/reference 54%
github.com/hasura/ndc-sdk-go/v2/ndctest 68%
github.com/hasura/ndc-sdk-go/v2/scalar 90%
github.com/hasura/ndc-sdk-go/v2/schema 23%
github.com/hasura/ndc-sdk-go/v2/utils/compression 67%
github.com/hasura/ndc-sdk-go/v2/utils 53%
Summary 46% (12548 / 27040)

Minimum allowed line rate is 40%

@hgiasac hgiasac merged commit f658e14 into main Jan 24, 2026
2 checks passed
@hgiasac hgiasac deleted the chore/upgrade-go-v12412 branch January 24, 2026 01:13
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