snowflake-connector-python breaking changes
Updated December 4, 2026
On this page
Latest version 5.2.0, released November 4, 2026. Source repository
Its 5.0.0rc4 release requires Python 3.11 or later. Python end of life dates.
- From 4.8.1 to 5.2.0: 1,062 breaking changes in 5 versions.
- From 4.0.0 to 5.2.0: 1,085 breaking changes in 8 versions.
snowflake-connector-python 5.2.0 breaking changes
- Behavior changed
cursor
Type hints now keep DictCursor as DictCursor through execute and fetch, and the default cursor() is typed as a tuple cursor. Type-checked code may need updates. github.com - Behavior changed
Error.errorhandler_make_exception
The function now builds only PEP 249 Error subclasses, so code expecting other exception classes from it may break. github.com - Behavior changed
split_statements
The delimiter is read once when the call starts and applied to the entire script. Code that relied on per-statement delimiter changes must be updated. github.com - Behavior changed
validate_default_parameters
With validate_default_parameters=true, login now fails when the specified database, schema, or warehouse does not exist. Make sure those objects exist or disable the option. github.com - Behavior changed
write_pandas
With quote_identifiers=False, column names that are not valid unquoted identifiers are now rejected. Rename such columns before calling write_pandas. github.com - Signature changed
snowflake.connector.aio.Connection
Was class Connection(ConnectionMixin[CursorInstance]); now class Connection(ConnectionMixin). pypi.org - Signature changed
snowflake.connector.aio.cursor.SnowflakeCursorBase.__aenter__
Was async def __aenter__(self) -> SnowflakeCursorBase; now async def __aenter__(self) -> Self. pypi.org - Signature changed
snowflake.connector.aio.cursor.SnowflakeCursorBase.__aiter__
Was def __aiter__(self) -> SnowflakeCursorBase; now def __aiter__(self) -> Self. pypi.org - Signature changed
snowflake.connector.aio.DictCursor.__anext__
Was async def __anext__(self) -> Row | DictRow; now async def __anext__(self) -> DictRow. pypi.org - Signature changed
snowflake.connector.aio.DictCursor.next
Was async def next(self) -> Row | DictRow; now async def next(self) -> DictRow. pypi.org - Signature changed
snowflake.connector.Connection
Was class Connection(ConnectionMixin[CursorInstance]); now class Connection(ConnectionMixin). pypi.org - Signature changed
snowflake.connector.connection_config.ConnectionConfig.__init__
Was def __init__(self, session_parameters: dict[str, Any] | None = None, numpy: bool | None = None, use_core_arrow: bool | None = None, arrow_number_to_decimal: bool | None = None, paramstyle: str | None = None, autocommit: bool | None =... pypi.org - Signature changed
snowflake.connector.Connection.cursor
Was def cursor(self, cursor_class: type[_CursorT] | None = None) -> _CursorT; now def cursor(self, cursor_class: type[SnowflakeCursorBase] | None = None) -> Any. pypi.org - Signature changed
snowflake.connector.Connection.errorhandler
Was errorhandler: Callable; now errorhandler: StructuredErrorHandler. pypi.org - Signature changed
snowflake.connector.Connection.messages
Was messages: list[tuple[type[Exception], ErrorValue]]; now messages: list[tuple[type[Error], ErrorDetails]]. pypi.org - Signature changed
snowflake.connector.ConnectionConfig.__init__
Was def __init__(self, session_parameters: dict[str, Any] | None = None, numpy: bool | None = None, use_core_arrow: bool | None = None, arrow_number_to_decimal: bool | None = None, paramstyle: str | None = None, autocommit: bool | None =... pypi.org - Signature changed
snowflake.connector.cursor.SnowflakeCursorBase.__enter__
Was def __enter__(self) -> SnowflakeCursorBase; now def __enter__(self) -> Self. pypi.org - Signature changed
snowflake.connector.cursor.SnowflakeCursorBase.__iter__
Was def __iter__(self) -> SnowflakeCursorBase; now def __iter__(self) -> Self. pypi.org - Signature changed
snowflake.connector.cursor.SnowflakeCursorBase.errorhandler
Was errorhandler: Callable; now errorhandler: StructuredErrorHandler. pypi.org - Signature changed
snowflake.connector.cursor.SnowflakeCursorBase.execute
Was def execute(self, operation: str, parameters: Sequence[Any] | dict[str, Any] | None = None, _is_put_get: bool | None = None, num_statements: int | None = None, _skip_upload_on_content_match: bool = False, *, params: Sequence[Any] |... pypi.org - Signature changed
snowflake.connector.cursor.SnowflakeCursorBase.executemany
Was def executemany(self, operation: str, seq_of_parameters: Iterable[Sequence[Any] | dict[str, Any]] | None = None, num_statements: int | None = None, *, seqparams: Iterable[Sequence[Any] | dict[str, Any]] | None = None... pypi.org - Signature changed
snowflake.connector.cursor.SnowflakeCursorBase.fetch_arrow_all
Was def fetch_arrow_all(self, force_return_table: bool = False, force_microsecond_precision: bool = False) -> Table | None; now def fetch_arrow_all(self, force_return_table: bool = False, force_microsecond_precision: bool | None = None) ->... pypi.org - Signature changed
snowflake.connector.cursor.SnowflakeCursorBase.fetch_arrow_batches
Was def fetch_arrow_batches(self, force_microsecond_precision: bool = False) -> Iterator[Table]; now def fetch_arrow_batches(self, force_microsecond_precision: bool | None = None) -> Iterator[Table]. pypi.org - Signature changed
snowflake.connector.cursor.SnowflakeCursorBase.messages
Was messages: list[tuple[type[Exception], ErrorValue]]; now messages: list[tuple[type[Error], ErrorDetails]]. pypi.org - Signature changed
snowflake.connector.DictCursor.__next__
Was def __next__(self) -> Row | DictRow; now def __next__(self) -> DictRow. pypi.org - Signature changed
snowflake.connector.DictCursor.next
Was def next(self) -> Row | DictRow; now def next(self) -> DictRow. pypi.org - Signature changed
snowflake.connector.Error.default_errorhandler
Was @staticmethod def default_errorhandler(connection: Connection | None, cursor: SnowflakeCursorBase | AsyncSnowflakeCursorBase | None, error_class: type[Error] | type[Exception], error_value: ErrorValue) -> None; now @staticmethod def... pypi.org - Signature changed
snowflake.connector.Error.errorhandler_make_exception
Was @staticmethod def errorhandler_make_exception(error_class: type[Error] | type[Exception], error_value: ErrorValue) -> Error | Exception; now @staticmethod def errorhandler_make_exception(error_class: type[Error], error_value... pypi.org - Signature changed
snowflake.connector.Error.errorhandler_wrapper
Was @staticmethod def errorhandler_wrapper(connection: Connection | None, cursor: SnowflakeCursorBase | AsyncSnowflakeCursorBase | None, error_class: type[Error] | type[Exception], error_value: ErrorValue) -> None; now @staticmethod def... pypi.org - Signature changed
snowflake.connector.Error.hand_to_other_handler
Was @staticmethod def hand_to_other_handler(connection: Connection | AsyncConnection | None, cursor: SnowflakeCursorBase | AsyncSnowflakeCursorBase | None, error_class: type[Error] | type[Exception], error_value: ErrorValue) -> bool; now... pypi.org - Signature changed
snowflake.connector.errors.Error.default_errorhandler
Was @staticmethod def default_errorhandler(connection: Connection | None, cursor: SnowflakeCursorBase | AsyncSnowflakeCursorBase | None, error_class: type[Error] | type[Exception], error_value: ErrorValue) -> None; now @staticmethod def... pypi.org - Signature changed
snowflake.connector.errors.Error.errorhandler_make_exception
Was @staticmethod def errorhandler_make_exception(error_class: type[Error] | type[Exception], error_value: ErrorValue) -> Error | Exception; now @staticmethod def errorhandler_make_exception(error_class: type[Error], error_value... pypi.org - Signature changed
snowflake.connector.errors.Error.errorhandler_wrapper
Was @staticmethod def errorhandler_wrapper(connection: Connection | None, cursor: SnowflakeCursorBase | AsyncSnowflakeCursorBase | None, error_class: type[Error] | type[Exception], error_value: ErrorValue) -> None; now @staticmethod def... pypi.org - Signature changed
snowflake.connector.errors.Error.hand_to_other_handler
Was @staticmethod def hand_to_other_handler(connection: Connection | AsyncConnection | None, cursor: SnowflakeCursorBase | AsyncSnowflakeCursorBase | None, error_class: type[Error] | type[Exception], error_value: ErrorValue) -> bool; now... pypi.org
snowflake-connector-python 5.1.0 breaking changes
- Removed
disable_console_login
The disable_console_login parameter was removed. Passing it now warns and has no effect, and external browser login always requests the SSO URL from Snowflake. github.com - Removed
oauth_disable_console_login
The oauth_disable_console_login parameter was removed. Passing it now warns and has no effect, and external browser login always requests the SSO URL from Snowflake. github.com - Removed
OCSP_MODE
OCSP_MODE was removed from the login client environment and connection diagnostics. Certificate revocation is now reported as CERT_REVOCATION_CHECK_MODE. github.com - Removed
snowflake.connector.connection_config.ConnectionConfig.oauth_disable_console_login
ConnectionConfig.oauth_disable_console_login was removed in snowflake-connector-python 5.1.0 pypi.org - Removed
snowflake.connector.ConnectionConfig.oauth_disable_console_login
ConnectionConfig.oauth_disable_console_login was removed in snowflake-connector-python 5.1.0 pypi.org - Behavior changed
Login now sends several settings as session parameters, clamps the heartbeat frequency to 900–3600 seconds, and sends validate_default_parameters as CLIENT_VALIDATE_DEFAULT_PARAMETERS when set. github.com - Behavior changed
GCS PUT requests now omit the Content-Encoding header. github.com - Behavior changed
Login no longer sends CLIENT_SESSION_KEEP_ALIVE or CLIENT_PREFETCH_THREADS unless the caller sets them. Code that relied on the defaults being sent must set them explicitly. github.com - Behavior changed
Bundled root certificates were updated and compromised intermediate CA certificates are now distrusted, so some connections that worked before may now fail. github.com - Behavior changed
TIMEZONE, AUTOCOMMIT and several other settings are now sent as session parameters at login when they are set. github.com
And 2 more in this version. Sign up to see every change
snowflake-connector-python 5.0.0 breaking changes
- Removed
Troubleshooting logs are now enabled with the SNOWFLAKE_TROUBLESHOOTING_ENABLED environment variable. github.com - Removed
OCSP certificate validation is removed in favor of CRL validation. github.com - Removed
backoff_policy
Set retry delays with retry_backoff_base_ms, retry_backoff_cap_ms, retry_backoff_factor, and retry_backoff_jitter; the default initial delay is now 250 ms and jitter is decorrelated. github.com - Removed
ConfigManager._sub_parsers
Use _sub_managers instead. github.com - Removed
Connection.disable_request_pooling
Passing disable_request_pooling to connect() now only warns and has no effect. github.com - Removed
converter_class
Passing converter_class now raises ProgrammingError. github.com - Removed
iobound_tpe_limit
Passing it to connect() only warns and has no effect; Connection.iobound_tpe_limit no longer exists. github.com - Removed
password_callback
Passing it raises ProgrammingError; an expired password must be changed outside the driver. github.com - Removed
snowflake.connector._Warning
snowflake.connector._Warning was removed in snowflake-connector-python 5.0.0 pypi.org - Removed
snowflake.connector.aio.auth
snowflake.connector.aio.auth was removed in snowflake-connector-python 5.0.0 pypi.org
And 998 more in this version. Sign up to see every change
snowflake-connector-python 5.0.0rc4 breaking changes
- Behavior changed
Python 3.10 is no longer supported; use Python 3.11 or later. github.com - Default changed
client_store_temporary_credential
Token caching is on by default; set it to False explicitly to disable ID, OAuth, and MFA token caching. github.com
snowflake-connector-python 5.0.0rc1 breaking changes
- Removed
Connection.region
Use a fully qualified account or set host explicitly instead of region. github.com - Renamed
enable_stage_s3_privatelink_for_us_east_1
The old name remains as a deprecated alias; use use_s3_regional_url. github.com - Behavior changed
The driver no longer sets Content-Encoding: utf-8 on Azure Blob PUT requests. github.com - Behavior changed
ReauthenticationRequest
On master-token expiry the driver no longer raises this exception, so code that catches it will not see it. github.com - Configuration changed
Set use_proxy_env=True or PROXYWITHENV=true to opt in to reading proxy environment variables. github.com - Signature changed
snowflake.connector.connect
The session is now established when the connection is constructed. To reconnect, create a new connection. pypi.org
snowflake-connector-python 4.8.1 breaking changes
- Signature changed
snowflake.connector.ssl_wrap_socket.PyOpenSSLContext.load_cert_chain
Was def load_cert_chain(self, certfile: str, keyfile: str | None = None, password: str | None = None) -> None; now def load_cert_chain(self, certfile: str, keyfile: str | None = None, password: str | bytes | None = None) -> None. pypi.org - Signature changed
snowflake.connector.ssl_wrap_socket.WrappedSocket.getpeercert
Was def getpeercert(self, binary_form: bool = False) -> dict[str, list[typing.Any]] | None; now def getpeercert(self, binary_form: bool = False) -> dict[str, list[typing.Any]] | bytes | None. pypi.org - Signature changed
snowflake.connector.storage_client.HTTPResponse.stream
Was def stream(self, amt: int | None = 2 ** 16, decode_content: bool | None = None) -> typing.Generator[bytes]; now def stream(self, amt: int | None = _READ_CHUNK_SIZE, decode_content: bool | None = None) -> typing.Generator[bytes]. pypi.org - Signature changed
snowflake.connector.vendored.urllib3.BaseHTTPResponse.stream
Was def stream(self, amt: int | None = 2 ** 16, decode_content: bool | None = None) -> typing.Iterator[bytes]; now def stream(self, amt: int | None = _READ_CHUNK_SIZE, decode_content: bool | None = None) -> typing.Iterator[bytes]. pypi.org - Signature changed
snowflake.connector.vendored.urllib3.connection.HTTPConnection.default_socket_options
Was default_socket_options: connection._TYPE_SOCKET_OPTIONS; now default_socket_options: typing.Final[connection._TYPE_SOCKET_OPTIONS]. pypi.org - Signature changed
snowflake.connector.vendored.urllib3.connectionpool.HTTPConnection.default_socket_options
Was default_socket_options: connection._TYPE_SOCKET_OPTIONS; now default_socket_options: typing.Final[connection._TYPE_SOCKET_OPTIONS]. pypi.org - Signature changed
snowflake.connector.vendored.urllib3.make_headers
Was def make_headers(keep_alive: bool | None = None, accept_encoding: bool | list[str] | str | None = None, user_agent: str | None = None, basic_auth: str | None = None, proxy_basic_auth: str | None = None, disable_cache: bool | None =... pypi.org - Signature changed
snowflake.connector.vendored.urllib3.response.BaseHTTPResponse.stream
Was def stream(self, amt: int | None = 2 ** 16, decode_content: bool | None = None) -> typing.Iterator[bytes]; now def stream(self, amt: int | None = _READ_CHUNK_SIZE, decode_content: bool | None = None) -> typing.Iterator[bytes]. pypi.org - Signature changed
snowflake.connector.vendored.urllib3.response.HTTPResponse.stream
Was def stream(self, amt: int | None = 2 ** 16, decode_content: bool | None = None) -> typing.Generator[bytes]; now def stream(self, amt: int | None = _READ_CHUNK_SIZE, decode_content: bool | None = None) -> typing.Generator[bytes]. pypi.org - Signature changed
snowflake.connector.vendored.urllib3.util.request.make_headers
Was def make_headers(keep_alive: bool | None = None, accept_encoding: bool | list[str] | str | None = None, user_agent: str | None = None, basic_auth: str | None = None, proxy_basic_auth: str | None = None, disable_cache: bool | None =... pypi.org
Older versions
3 older versions, each with its first changes. Sign up to see every change
Show 3 older versions
snowflake-connector-python 4.8.0 breaking changes
- Signature changed
snowflake.connector.auth.AuthByWorkloadIdentity.__init__
Was def __init__(self, *, provider: AttestationProvider, token: str | None = None, entra_resource: str | None = None, impersonation_path: list[str] | None = None, aws_use_outbound_token: bool = False, **kwargs) -> None; now def... pypi.org - Signature changed
snowflake.connector.auth.workload_identity.AuthByWorkloadIdentity.__init__
Was def __init__(self, *, provider: AttestationProvider, token: str | None = None, entra_resource: str | None = None, impersonation_path: list[str] | None = None, aws_use_outbound_token: bool = False, **kwargs) -> None; now def... pypi.org
And 9 more in this version.
snowflake-connector-python 4.7.4 breaking changes
- Signature changed
snowflake.connector.cursor.ResultSet.__init__
Was def __init__(self, cursor: SnowflakeCursor, result_chunks: list[JSONResultBatch] | list[ArrowResultBatch], prefetch_thread_num: int, use_mp: bool) -> None; now def __init__(self, cursor: SnowflakeCursor, result_chunks... pypi.org - Signature changed
snowflake.connector.result_set.ResultSet.__init__
Was def __init__(self, cursor: SnowflakeCursor, result_chunks: list[JSONResultBatch] | list[ArrowResultBatch], prefetch_thread_num: int, use_mp: bool) -> None; now def __init__(self, cursor: SnowflakeCursor, result_chunks... pypi.org
snowflake-connector-python 4.0.0 breaking changes
- Signature changed
snowflake.connector.auth.Auth.base_auth_data
Was @staticmethod def base_auth_data(user, account, application, internal_application_name, internal_application_version, ocsp_mode, login_timeout: int | None = None, network_timeout: int | None = None, socket_timeout: int | None = None... pypi.org - Signature changed
snowflake.connector.auth.AuthByOauthCredentials.__init__
Was def __init__(self, application: str, client_id: str, client_secret: str, token_request_url: str, scope: str, connection: SnowflakeConnection | None = None, **kwargs) -> None; now def __init__(self, application: str, client_id: str... pypi.org
And 24 more in this version.
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.