Skip to content

Commit ebd4386

Browse files
authored
Merge branch 'main' into subrata-ms/BCPIntegration
2 parents 1501ff8 + 95e0836 commit ebd4386

File tree

3 files changed

+13
-15
lines changed

3 files changed

+13
-15
lines changed

PyPI_Description.md

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -35,29 +35,27 @@ PyBind11 provides:
3535
- Memory-safe bindings
3636
- Clean and Pythonic API, while performance-critical logic remains in robust, maintainable C++.
3737

38-
## What's new in v1.1.0
39-
38+
## What's new in v1.2.0
39+
4040
### 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.
4341

44-
### Critical Bug Fixes
42+
- **Connection.closed Property** - Added `Connection.closed` property to check if a connection is closed, improving connection state management.
4543

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.
4745

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.
46+
- **Copilot Prompts** - Introduced Copilot prompts for AI-assisted development, enhancing developer productivity.
4947

50-
- **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
5149

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.
5351

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.
5553

56-
- **Query Timeout Consistency** - Refactored timeout handling to set query timeout during cursor initialization, reducing overhead and ensuring consistent timeout application.
54+
### CI/Infrastructure
5755

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.
5957

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.
6159

6260
For more information, please visit the project link on Github: https://github.com/microsoft/mssql-python
6361

mssql_python/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from .helpers import Settings, get_settings, _settings, _settings_lock
1616

1717
# Driver version
18-
__version__ = "1.1.0"
18+
__version__ = "1.2.0"
1919

2020
# Exceptions
2121
# https://www.python.org/dev/peps/pep-0249/#exceptions

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def finalize_options(self):
9696

9797
setup(
9898
name="mssql-python",
99-
version="1.1.0",
99+
version="1.2.0",
100100
description="A Python library for interacting with Microsoft SQL Server",
101101
long_description=open("PyPI_Description.md", encoding="utf-8").read(),
102102
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)