Skip to content

feat(pkg): add go-import pages for cloudsql, influxdb, and kv-store/dynamodb#222

Merged
aryanmehrotra merged 1 commit into
mainfrom
feat/add-missing-datasource-pages
Jun 29, 2026
Merged

feat(pkg): add go-import pages for cloudsql, influxdb, and kv-store/dynamodb#222
aryanmehrotra merged 1 commit into
mainfrom
feat/add-missing-datasource-pages

Conversation

@aryanmehrotra

@aryanmehrotra aryanmehrotra commented Jun 29, 2026

Copy link
Copy Markdown
Member

Problem

Three datasource modules had published tags but go get fails for them because gofr.dev returns 404 on their vanity import paths — Go's toolchain can't find the go-import meta tag and falls back to the root module.

Changes

Adds layout.jsx + page.jsx for three missing datasource modules and adds Cloud SQL to the navigation.


Release notes

Cloud SQL — gofr.dev/pkg/gofr/datasource/cloudsql v0.1.0 (new)

New datasource that connects GoFr applications to Google Cloud SQL (Postgres/MySQL) with GCP IAM database authentication — no static DB password, no Cloud SQL Auth Proxy sidecar. Controlled by the DB_IAM_AUTH config key; when off, it delegates to the standard SQL path, so the same app.AddSQLDB(cloudsql.New(app.Config)) line works identically in local and cloud environments.

Credentials resolve via Application Default Credentials (supports Workload Identity Federation). The module lives in its own go.mod so only apps that import it pull the cloudsqlconn and GCP SDK — no new dependencies land in the core module.

InfluxDB — gofr.dev/pkg/gofr/datasource/influxdb v0.1.1 (patch)

  • fix(metrics): extended datasource latency histogram bucket upper bound from 10 ms to 3 minutes, aligning with all other datasource modules (#3568)
  • chore: bumped Go toolchain to 1.26; updated OpenTelemetry and other dependencies

DynamoDB — gofr.dev/pkg/gofr/datasource/kv-store/dynamodb v0.1.1 (patch)

  • fix(metrics): extended datasource latency histogram bucket upper bound from 10 ms to 3 minutes (#3568)
  • chore: bumped Go toolchain to 1.26; updated AWS SDK, OpenTelemetry, and other dependencies across multiple batches

Test plan

  • After deploy, verify go get gofr.dev/pkg/gofr/datasource/cloudsql@v0.1.0 resolves correctly
  • Verify go get gofr.dev/pkg/gofr/datasource/influxdb@v0.1.1 resolves correctly
  • Verify go get gofr.dev/pkg/gofr/datasource/kv-store/dynamodb@v0.1.1 resolves correctly
  • Confirm gofr.dev/pkg/gofr/datasource/cloudsql?go-get=1 returns HTTP 200 with go-import meta tag

…ynamodb

These three datasource modules were tagged and available via go get but
missing the vanity import redirect pages, causing go get to return 404
and fall back to the root gofr.dev module.

Also adds CloudSQL to the datasource navigation.
@aryanmehrotra
aryanmehrotra merged commit 4b9e7b5 into main Jun 29, 2026
4 checks passed
@aryanmehrotra
aryanmehrotra deleted the feat/add-missing-datasource-pages branch June 29, 2026 09:01
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