8000 Tags · microsoft/mssql-python · GitHub
[go: up one dir, main page]

Skip to content

Tags: microsoft/mssql-python

Tags

v1.1.0

Toggle v1.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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.

v1.0.0

Toggle v1.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge branch 'main' into release/1.0.0

v0.14.0-preview

Toggle v0.14.0-preview's commit message

v0.13.1-preview

Toggle v0.13.1-preview's commit message
RELEASE: 0.13.1

v0.13.0-preview

Toggle v0.13.0-preview's commit message
RELEASE: 0.13.0

v0.12.0-preview

Toggle v0.12.0-preview's commit message
RELEASE: 0.12.0

v0.11.0-preview

Toggle v0.11.0-preview's commit message
PyPI Description.MD

v0.10.0-preview

Toggle v0.10.0-preview's commit message
RELEASE: 0.10.0

v0.9.0-preview

Toggle v0.9.0-preview's commit message
RELEASE: 0.9.0

v0.8.1-preview

Toggle v0.8.1-preview's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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>
0