Skip to content

chore: bump sqlconnect-go to v1.30.2 - #7251

Merged
kuldeep0020 merged 3 commits into
masterfrom
chore/bump-sqlconnect-1.30.0
Aug 13, 2026
Merged

kuldeep0020 merged 3 commits into
masterfrom
chore/bump-sqlconnect-1.30.0

Conversation

@kuldeep0020

@kuldeep0020 kuldeep0020 commented Aug 10, 2026 •

Copy link
Copy Markdown
Contributor

Picks up the connection-config hardening released in sqlconnect-go v1.30.2.

What comes with it

  • MySQL DSN built from typed fields, so a crafted dbname can no longer inject driver parameters.
  • BigQuery credential documents must be service_account.
  • Host validation across every connector, including the ssh tunnel host, which was previously caller-supplied with only a non-empty check.
  • Snowflake protocol constrained to https, so a config can no longer request cleartext.
  • Instance metadata blocked over IPv4 (169.254.169.254) and IPv6 (fd00:ec2::/32).

Private addresses are allowed on purpose — please do not "tighten" this later

Warehouse destinations for Snowflake (snowflake.go:1110), Deltalake (deltalake.go:234) and Redshift (redshift.go:1072) all build clients via sqlconnect.NewDB, so these rules apply to all three.

An earlier revision of this PR pointed at v1.30.1, which rejected RFC1918/ULA space. We have Redshift customers connecting over PrivateLink, and others reaching Elasticache the same way — those endpoints resolve to a private address in the customer's VPC, so that version would have severed every one of them. Caught before anything shipped. v1.30.2 is the first version safe for those customers; do not roll back to v1.30.0 or v1.30.1.

Containing access to our own internal network is a real gap and is tracked in PRO-5898. It needs a decision on where to enforce it — application, network layer, or a dedicated egress path — rather than another attempt at filtering by IP, since customer PrivateLink ranges and our cluster ranges are both private and can overlap.

Internal tracking: PRO-5879, PRO-5883.

Picks up connection-config hardening across the connectors: host
validation now rejects loopback, link-local, multicast and private
ranges; Snowflake's protocol is constrained to https; BigQuery
credential documents must be service accounts.

Warehouse destinations for Snowflake, Databricks and Redshift all
construct their clients through sqlconnect.NewDB, so the host rules
apply to them.
@codecov

codecov Bot commented Aug 10, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.05%. Comparing base (9e62d0c) to head (e450bc4).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7251      +/-   ##
==========================================
- Coverage   80.27%   80.05%   -0.23%     
==========================================
  Files         600      601       +1     
  Lines       67034    67151     +117     
==========================================
- Hits        53811    53757      -54     
- Misses      10070    10201     +131     
- Partials     3153     3193      +40     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Adds ssh tunnel host validation and the Databricks/Trino loopback
affordance on top of v1.30.0's connection-config hardening.
@atzoum atzoum changed the title chore(deps): bump sqlconnect-go to v1.30.0 chore(deps): bump sqlconnect-go to v1.30.1 Aug 12, 2026
@atzoum atzoum changed the title chore(deps): bump sqlconnect-go to v1.30.1 chore: bump sqlconnect-go to v1.30.1 Aug 12, 2026
v1.30.0 and v1.30.1 rejected private addresses, which would have broken
Redshift and Elasticache reached over PrivateLink. v1.30.2 allows them
while still blocking instance metadata over both IPv4 and IPv6.
@kuldeep0020 kuldeep0020 changed the title chore: bump sqlconnect-go to v1.30.1 chore(deps): bump sqlconnect-go to v1.30.2 Aug 12, 2026
@kuldeep0020 kuldeep0020 changed the title chore(deps): bump sqlconnect-go to v1.30.2 chore: bump sqlconnect-go to v1.30.2 Aug 12, 2026
@kuldeep0020
kuldeep0020 enabled auto-merge (squash) August 12, 2026 13:34
@kuldeep0020
kuldeep0020 merged commit f5d6175 into master Aug 13, 2026
116 of 120 checks passed
@kuldeep0020
kuldeep0020 deleted the chore/bump-sqlconnect-1.30.0 branch August 13, 2026 06:35
mihir20 pushed a commit that referenced this pull request Aug 17, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.83.0-rc.1](v1.82.0...v1.83.0-rc.1)
(2026-08-17)


### Features

* add OriginalID and OriginalDestinationID to support replay event
transformations
([#7274](#7274))
([28d38e9](28d38e9))
* bingads integration tests
([#7253](#7253))
([fdb8c0a](fdb8c0a))
* **processor:** fork event processing for rsources pipelines
([#7235](#7235))
([707ea06](707ea06))


### Bug Fixes

* pyt contract tests data race
([#7247](#7247))
([9e62d0c](9e62d0c))


### Miscellaneous

* bump sqlconnect-go to v1.30.2
([#7251](#7251))
([f5d6175](f5d6175))
* **jobsdb:** multi-consumer compaction improvements
([#7248](#7248))
([b4af86c](b4af86c))
* pyt contract tests for candidate releases
([#7252](#7252))
([149e91a](149e91a))
* pyt contract tests for transformations auth
([#7239](#7239))
([ac4a859](ac4a859))
* **router:** support per-partition noOfWorkers override
([#7270](#7270))
([9d6f7cf](9d6f7cf))
* sync release v1.82.0 to main branch
([#7243](#7243))
([a6e29f2](a6e29f2))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com>
mihir20 pushed a commit that referenced this pull request Aug 18, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.83.0](v1.82.0...v1.83.0)
(2026-08-17)


### Features

* add OriginalID and OriginalDestinationID to support replay event
transformations
([#7274](#7274))
([28d38e9](28d38e9))
* bingads integration tests
([#7253](#7253))
([fdb8c0a](fdb8c0a))
* **processor:** fork event processing for rsources pipelines
([#7235](#7235))
([707ea06](707ea06))


### Bug Fixes

* pyt contract tests data race
([#7247](#7247))
([9e62d0c](9e62d0c))


### Miscellaneous

* bump sqlconnect-go to v1.30.2
([#7251](#7251))
([f5d6175](f5d6175))
* **jobsdb:** multi-consumer compaction improvements
([#7248](#7248))
([b4af86c](b4af86c))
* pyt contract tests for candidate releases
([#7252](#7252))
([149e91a](149e91a))
* pyt contract tests for transformations auth
([#7239](#7239))
([ac4a859](ac4a859))
* **router:** support per-partition noOfWorkers override
([#7270](#7270))
([9d6f7cf](9d6f7cf))
* sync release v1.82.0 to main branch
([#7243](#7243))
([a6e29f2](a6e29f2))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com>
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.

3 participants