Skip to content

deps: bump github.com/snowflakedb/gosnowflake/v2 from 2.0.2 to 2.1.0#1018

Merged
burningalchemist merged 1 commit into
masterfrom
dependabot/go_modules/github.com/snowflakedb/gosnowflake/v2-2.1.0
Jun 23, 2026
Merged

deps: bump github.com/snowflakedb/gosnowflake/v2 from 2.0.2 to 2.1.0#1018
burningalchemist merged 1 commit into
masterfrom
dependabot/go_modules/github.com/snowflakedb/gosnowflake/v2-2.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 23, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/snowflakedb/gosnowflake/v2 from 2.0.2 to 2.1.0.

Release notes

Sourced from github.com/snowflakedb/gosnowflake/v2's releases.

Release

Changelog

Sourced from github.com/snowflakedb/gosnowflake/v2's changelog.

2.1.0

New features:

  • Added SF_DISABLE_OCSP_CHECKS environment variable as an additional option to override OCSP checks' default behaviour besides the existing DisableOCSPCheckssnowflakedb/gosnowflake#1798
    • Note: the env var is explicitly refused when OCSP fail-closed mode is active.
  • Added ArrowStreamBatch.Reset() method that closes any existing stream and clears the cached reader, allowing callers to retry GetStream after a mid-stream failure (e.g. TCP RST) without re-executing the entire query. Inline (RowSetBase64) batches are restored from cached bytes on reset.
  • Added one in-band telemetry record per successful login describing which connection-identifier fields the user supplied (account_provided, account_with_region, account_org_provided, region_provided, host_provided). No hostname or account value is included. This is gated by the existing server-side CLIENT_TELEMETRY_ENABLED parameter and can additionally be disabled locally by setting SF_TELEMETRY_DISABLE_CONNECTION_SHAPE=true. The telemetry collection is time-boxed and will be removed in a future release.

Bug fixes:

  • Fixed stale OCSP cache .lck directory permanently blocking cache writes (and forcing an online OCSP validation if OCSP is enabled, as is by default) by using os.RemoveAll instead of os.Removesnowflakedb/gosnowflake#1793
  • snowflakedb/gosnowflake#1789
  • Fixed QueryArrowStreamsnowflakedb/gosnowflake#1789
  • Fixed baseName silently dropping files whose name ends with a dot (e.g. myfile.txt.snowflakedb/gosnowflake#1788
  • Improved error message when Host is incorrectly configured with a URL scheme (e.g. https://myorg-myaccount.snowflakecomputing.com), previously this produced a cryptic 260004: failed to parse a port numbersnowflakedb/gosnowflake#1784
  • Fixed minicore build on OpenBSD by skipping the -ldl linker flag, since libdl is not a separate library on OpenBSD (dlopen/dlsymsnowflakedb/gosnowflake#1791

Internal changes:

  • Introduced SKIP_FILE_PERMISSIONS_VERIFICATION environment variable to allow bypassing file permissions checks for connections.tomlsnowflakedb/gosnowflake#1780
  • Added support for SPCS_TOKEN in the login request. When the driver detects it is running inside a Snowpark Container Services workload (via the SNOWFLAKE_RUNNING_INSIDE_SPCS environment variable), it reads an opaque service token from /snowflake/session/spcs_token on every login and attaches it to the login-request payload as SPCS_TOKENsnowflakedb/gosnowflake#1783
  • snowflakedb/gosnowflake#1790
Commits
  • 9dbf61b NO-SNOW Bumped minor version 2.0.2 -> 2.1.0 (#1803)
  • 9d3aaa4 NO-SNOW Update CI/CD Go version to 1.26 (#1739)
  • b9182d5 SNOW-3438406: adding new envvar to disable OCSP checks (SF_DISABLE_OCSP_CHECK...
  • 5dbfd98 SNOW-3351450: emit client_connection_identifier_shape in-band telemetry (#1797)
  • 1a39193 SNOW-3449105 add Reset for ArrowStreamBatch method (mirror of #1782) (#1792)
  • 59c5c8f SNOW-3479780: unblock canceled chunk downloader reads (#1796)
  • 678f765 SNOW-3479780: unblock canceled Arrow chunk reads (#1795)
  • 0c6f47a minicore: skip -ldl on OpenBSD (#1791)
  • e6f2112 SNOW-3438406: os.RemoveAll() in OCSP cache lockdir initialization to preven...
  • cea49c2 SNOW-3176172: signed minicore for Windows and Mac (#1790)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/snowflakedb/gosnowflake/v2](https://github.com/snowflakedb/gosnowflake) from 2.0.2 to 2.1.0.
- [Release notes](https://github.com/snowflakedb/gosnowflake/releases)
- [Changelog](https://github.com/snowflakedb/gosnowflake/blob/master/CHANGELOG.md)
- [Commits](snowflakedb/gosnowflake@v2.0.2...v2.1.0)

---
updated-dependencies:
- dependency-name: github.com/snowflakedb/gosnowflake/v2
  dependency-version: 2.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@burningalchemist burningalchemist merged commit 4356b4a into master Jun 23, 2026
4 checks passed
@burningalchemist burningalchemist deleted the dependabot/go_modules/github.com/snowflakedb/gosnowflake/v2-2.1.0 branch June 23, 2026 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant