You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: PyPI_Description.md
+11-13Lines changed: 11 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,29 +35,27 @@ PyBind11 provides:
35
35
- Memory-safe bindings
36
36
- Clean and Pythonic API, while performance-critical logic remains in robust, maintainable C++.
37
37
38
-
## What's new in v1.1.0
39
-
38
+
## What's new in v1.2.0
39
+
40
40
### Enhancements
41
-
42
-
-**Thread-Safe Encoding/Decoding** - Mutex-based lock protection prevents race conditions in multi-threaded applications with concurrent connections. Strict validation for SQL_WCHAR types and security measures against encoding-based attacks ensure data integrity and application security.
43
41
44
-
### Critical Bug Fixes
42
+
-**Connection.closed Property** - Added `Connection.closed` property to check if a connection is closed, improving connection state management.
45
43
46
-
-**Linux Stability** - Fixed critical double-free issue causing segmentation faults during Python garbage collection, significantly improving stability on Linux platforms.
44
+
-**Parameter as Dictionary** - Added support for passing parameters as dictionaries, providing more flexible query parameterization.
47
45
48
-
-**Connection Pooling Isolation Level** - Transaction isolation level now explicitly resets to READ COMMITTED when pooled connections are reused, preventing unexpected transaction behavior and isolation level conflicts.
-**Connection String Escaping** - Fixed parser and builder to correctly handle ODBC curly brace escaping rules, enabling proper handling of special characters in passwords and connection values.
48
+
### Bug Fixes
51
49
52
-
-**UTF-16 String Decoding** - Enhanced `connection.getinfo()`to properly decode UTF-16LE strings from SQL Server, eliminating data corruption when retrieving metadata with non-ASCII characters.
50
+
-**FetchMany with LOB Columns** - Fixed `fetchmany(n)`ignoring batch size when working with LOB (Large Object) columns.
53
51
54
-
-**NULL Parameter Arrays** - Added support for arrays containing only NULL values in `executemany()`, improving batch operation reliability.
52
+
-**Non-ASCII Path Resolution** - Fixed path resolution for files with non-ASCII characters on Windows.
55
53
56
-
-**Query Timeout Consistency** - Refactored timeout handling to set query timeout during cursor initialization, reducing overhead and ensuring consistent timeout application.
54
+
### CI/Infrastructure
57
55
58
-
-**IntegrityError Detection** - Fixed error handling in `fetchall()` for INSERT statements with OUTPUT clause and multiple VALUES entries.
56
+
-**SQL Server 2025 Test Support** - Added support for testing against SQL Server 2025 across Windows, macOS, and Linux CI pipelines, ensuring driver compatibility with the upcoming SQL Server release.
59
57
60
-
-**Sensitive Parameter Filtering** - Corrected authentication parameter filtering to properly exclude Trusted_Connection while preserving encryption settings.
58
+
-**Forked PR Coverage Workflow** - Implemented coverage comment workflow for pull requests from forked repositories, improving the contribution experience for external contributors.
61
59
62
60
For more information, please visit the project link on Github: https://github.com/microsoft/mssql-python
0 commit comments