All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- New feature: Support for macOS and Linux.
- Documentation: Added API documentation in the Wiki.
- Bulk copy now supports
Authentication=ActiveDirectoryServicePrincipalvia anentra_id_token_factorycallback registered on the mssql-py-core connection. The callback is invoked by mssql-tds mid-handshake (FedAuth workflow 0x02) so the tenant id can be resolved from the server-supplied STS URL. Requiresmssql-py-core0.1.5+. Partial fix for #534. - Standalone
mssql-python-odbcpackage (PRs #663, #664): the Microsoft ODBC Driver 18 for SQL Server binaries are now also published as a separate, platform-specificmssql-python-odbcpackage. When it is installed, the native driver loader resolves the driver from it; when it is absent or incomplete, mssql-python transparently falls back to its own bundledlibs/. This is a non-breaking step toward decoupling driver-binary updates from mssql-python releases; a future major version will make the dependency explicit and drop the bundled binaries.
- Improved error handling in the connection module.
- GH-627 behavioral change:
NULLparameters forVARBINARY/BINARYcolumns on physical tables now succeed silently (previously raisedProgrammingErrorwhen a non-NULL parameter was bound first). For temp tables whereSQLDescribeParamcannot determine column metadata, the fallback toSQL_VARCHARstill produces the sameProgrammingErroras before; users should callcursor.setinputsizes()to work around this.
- Bug fix: Resolved issue with connection timeout.
- GH-627: Fixed
SQLDescribeParamordinal remapping bug that causedVARBINARY/BINARYNULLbindings to fail when a non-NULL parameter was bound first. The driver now pre-resolves unknown NULL parameter types before anySQLBindParametercalls, avoiding ODBC ordinal confusion.
- Initial release of the mssql-python driver for SQL Server.
- N/A
- N/A