Repository navigation
snowflake-connector-python v5.1.0
5.1.0 (October 21, 2026)
New features:
- Added support for Python 3.14t (free-threaded CPython).
Bug fixes:
- Fixed statement-level TIMEZONE overrides so a registered TIMEZONE can be set on a statement and is sent on the query request.
- Fixed stage uploads and downloads so a failed system certificate load is retried, instead of failing the storage client or skipping the operating-system trust store.
- Changed TLS certificate checks for RUSTSEC-2026-0382 by updating bundled root certificates and distrusting compromised intermediate Certificate Authority (CA) certificates.
Changes:
- Changed login to omit
CLIENT_SESSION_KEEP_ALIVEandCLIENT_PREFETCH_THREADSunless the caller sets them. - Changed login to send
CLIENT_SESSION_KEEP_ALIVE,CLIENT_PREFETCH_THREADS,QUERY_TAG, and a heartbeat frequency clamped to 900–3600 seconds as session parameters, and to send a setvalidate_default_parametersvalue, true or false, asCLIENT_VALIDATE_DEFAULT_PARAMETERS, leaving that parameter off the login request when it is unset. - Changed login to send
TIMEZONE,AUTOCOMMIT,CLIENT_TIMESTAMP_TYPE_MAPPING,CLIENT_METADATA_REQUEST_USE_CONNECTION_CTX,SERVICE_NAME,GCS_USE_DOWNSCOPED_CREDENTIAL, andCLIENT_OUT_OF_BAND_TELEMETRY_ENABLEDas session parameters when they are set. - Removed
disable_console_loginandoauth_disable_console_login. Passing either connection parameter warns and has no effect, and external browser login always requests the SSO URL from Snowflake. - Removed
OCSP_MODEfrom the login client environment and from connection diagnostics. The driver does not perform OCSP; certificate revocation continues to be reported asCERT_REVOCATION_CHECK_MODE. - Changed GCS PUT to omit the
Content-Encodingheader.