From 64d6860672aa32db08f2045c239de7ce5b5ec154 Mon Sep 17 00:00:00 2001 From: Gaurav Sharma Date: Fri, 19 Sep 2025 08:59:21 +0530 Subject: [PATCH 1/2] RELEASE: 0.11.0 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 8d25addf..e933b277 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ def finalize_options(self): setup( name='mssql-python', - version='0.10.0', + version='0.11.0', description='A Python library for interacting with Microsoft SQL Server', long_description=open('PyPI_Description.md', encoding='utf-8').read(), long_description_content_type='text/markdown', From a38812f827eec0bc0199217b37dc5d3a3d2a0bb3 Mon Sep 17 00:00:00 2001 From: Gaurav Sharma Date: Fri, 19 Sep 2025 10:19:03 +0530 Subject: [PATCH 2/2] PyPI Description.MD --- PyPI_Description.md | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/PyPI_Description.md b/PyPI_Description.md index ddb1cf5a..5207face 100644 --- a/PyPI_Description.md +++ b/PyPI_Description.md @@ -39,20 +39,15 @@ PyBind11 provides: We are currently in **Public Preview**. -## What's new in v0.10.0 - -- **SUSE Linux Support:** Added full support for SUSE and openSUSE distributions alongside existing other Linux distros support, broadening enterprise Linux compatibility. -- **Context Manager Support:** Implemented Python `with` statement support for Connection and Cursor classes with automatic transaction management and resource cleanup. -- **Large Text Streaming:** Added Data At Execution (DAE) support for streaming large text parameters (`NVARCHAR(MAX)`, `VARCHAR(MAX)`), eliminating memory constraints for bulk text `execute()` operations. - - `VARBINARY(MAX)` support to follow alongwith streaming support for fetch operations. -- **Enhanced Unicode Handling:** Improved emoji and international character support with robust UTF-16 encoding for reliable multilingual data processing. -- **PyODBC Compatibility:** Enhanced API compatibility with pyodbc including: - - DB-API 2.0 exception classes: `Warning`, `Error`, `InterfaceError`, `DatabaseError`, `DataError`, `OperationalError`, `IntegrityError`, `InternalError`, `ProgrammingError`, `NotSupportedError` - - Context manager support with `with` statements for Connection and Cursor - - Encoding configuration APIs: `setencoding()`, `getencoding()`, `setdecoding()`, `getdecoding()` - - Cursor navigation APIs: `next()`, `__iter__()`, `scroll()`, `skip()`, `fetchval()` - - Cursor attributes: `rownumber`, `messages` - - Additional methods: `cursor.commit()`, `cursor.rollback()`, `table()` +## What's new in v0.11.0 + +- **Database Metadata & Introspection:** Added comprehensive `getInfo()` method and extensive catalog APIs (`SQLGetTypeInfo`, `SQLProcedures`, `SQLForeignKeys`, `SQLColumns`) for complete database schema discovery and introspection capabilities. +- **Advanced Parameter Management:** Implemented `setinputsizes()` with SQL type constants and enhanced parameter validation through the `SQLTypes` class for precise type control in parameterized queries. +- **Large Data Streaming Enhancements:** Extended streaming support to VARBINARY(MAX) and VARCHAR(MAX) across all fetch operations (`fetchone`, `fetchmany`, `fetchall`) with improved chunked retrieval for efficient memory usage. +- **Output Data Conversion System:** Introduced flexible output converter framework with `add_output_converter()`, `remove_output_converter()`, and related methods for customizable data transformations during result fetching. +- **Connection-Level Execute:** Added direct `execute()` method to Connection class for streamlined query execution without explicit cursor management. +- **Financial Data Type Support:** Comprehensive support for SQL Server MONEY and SMALLMONEY types with proper boundary value handling and decimal precision. +- **Enhanced Configuration APIs:** Added connection timeout control, decimal separator configuration (`getDecimalSeperator()`, `setDecimalSeperator()`), and improved global variable management. For more information, please visit the project link on Github: https://github.com/microsoft/mssql-python