Tags: microsoft/mssql-python
Tags
RELEASE: v1.1.0 (#382) ### Work Item / Issue Reference <!-- IMPORTANT: Please follow the PR template guidelines below. For mssql-python maintainers: Insert your ADO Work Item ID below (e.g. AB#37452) For external contributors: Insert Github Issue number below (e.g. #149) Only one reference is required - either GitHub issue OR ADO Work Item. --> <!-- mssql-python maintainers: ADO Work Item --> > [AB#41191](https://sqlclientdrivers.visualstudio.com/c6d89619-62de-46a0-8b46-70b92a84d85e/_workitems/edit/41191) <!-- External contributors: GitHub Issue --> > GitHub Issue: #<ISSUE_NUMBER> ------------------------------------------------------------------- ### Summary This pull request updates the `mssql-python` package to version 1.1.0, introducing several critical bug fixes, enhancements, and improvements to platform-specific packaging and metadata. The update also removes unused global connection cleanup logic from the package initialization. Below are the most important changes: ## Major Enhancements and Bug Fixes - **Critical Stability and Security Fixes:** - Introduced thread-safe encoding/decoding with mutex-based protection and strict validation for SQL_WCHAR types. - Fixed a critical double-free issue on Linux, improved UTF-16 string decoding, ensured connection pooling isolation resets, corrected connection string escaping, improved NULL parameter array handling, ensured consistent query timeout, fixed IntegrityError detection, and improved sensitive parameter filtering. - **Documentation Update:** - Updated the `PyPI_Description.md` to reflect new features, enhancements, and bug fixes for version 1.1.0. ## Package Initialization and Versioning - **Version Bump:** - Updated the package version from `1.0.0` to `1.1.0` in both `mssql_python/__init__.py` and `setup.py`. - **Removed Connection Cleanup Logic:** - Eliminated global weakref-based connection tracking and atexit cleanup logic from `mssql_python/__init__.py`, as it is no longer needed. ## Packaging and Distribution Improvements - **Platform-Specific Packaging:** - Refactored `setup.py` to use consistent double quotes, improved architecture and platform tag detection, and expanded logic for adding platform-specific package data for Windows, macOS, and Linux. - **Metadata Consistency:** - Updated all metadata fields (e.g., author, description, classifiers) and ensured consistent formatting and requirements in `setup.py`. These changes collectively improve package stability, security, and cross-platform compatibility, while also ensuring accurate documentation and streamlined packaging.
Merge branch 'main' of https://sqlclientdrivers.visualstudio.com/mssq… …l-python/_git/mssql-python into release/0.14.0
FIX: Interactive on Windows (#142) ### ADO Work Item Reference <!-- Insert your ADO Work Item ID below (e.g. AB#37452) --> > [AB#38007](https://sqlclientdrivers.visualstudio.com/c6d89619-62de-46a0-8b46-70b92a84d85e/_workitems/edit/38007) ------------------------------------------------------------------- ### Summary This pull request includes a small change to the `process_auth_parameters` function in `mssql_python/auth.py`. The change adjusts how the `auth_type` is handled for interactive authentication on Windows, ensuring compatibility with native handling of AADInteractive. --------- Co-authored-by: Jahnvi Thakkar <jathakkar@microsoft.com>
PreviousNext