- v4.0.0(October 09,2025)
- Added support for checking certificates revocation using revocation lists (CRLs)
- Added
CERT_REVOCATION_CHECK_MODE
toCLIENT_ENVIRONMENT
- Added the
workload_identity_impersonation_path
parameter to support service account impersonation for Workload Identity Federation on GCP and AWS workloads only - Fixed
get_results_from_sfqid
when usingDictCursor
and executing multiple statements at once - Added the
oauth_credentials_in_body
parameter supporting an option to send the oauth client credentials in the request body - Fix retry behavior for
ECONNRESET
error - Added an option to exclude
botocore
andboto3
dependencies by settingSNOWFLAKE_NO_BOTO
environment variable during installation - Revert changing exception type in case of token expired scenario for
Oauth
authenticator back toDatabaseError
- Enhanced configuration file security checks with stricter permission validation.
- Configuration files writable by group or others now raise a
ConfigSourceError
with detailed permission information, preventing potential credential tampering.
- Configuration files writable by group or others now raise a
- Fixed the return type of
SnowflakeConnection.cursor(cursor_class)
to match the type ofcursor_class
- Constrained the types of
fetchone
,fetchmany
,fetchall
- As part of this fix,
DictCursor
is no longer a subclass ofSnowflakeCursor
; useSnowflakeCursorBase
as a superclass of both.
- As part of this fix,
- Fix "No AWS region was found" error if AWS region was set in
AWS_DEFAULT_REGION
variable instead ofAWS_REGION
forWORKLOAD_IDENTITY
authenticator - Add
ocsp_root_certs_dict_lock_timeout
connection parameter to set the timeout (in seconds) for acquiring the lock on the OCSP root certs dictionary. Default value for this parameter is -1 which indicates no timeout. - Fixed behaviour of trying S3 Transfer Accelerate endpoint by default for internal stages, and always getting HTTP403 due to permissions missing on purpose. Now /accelerate is not attempted.