From aa7a3d3fe26a09f499dda96e5459b823075cdf1e Mon Sep 17 00:00:00 2001 From: Gaurav Sharma Date: Fri, 26 Sep 2025 14:02:20 +0530 Subject: [PATCH 1/3] RELEASE: 0.12.0 --- PyPI_Description.md | 16 +++++++--------- setup.py | 2 +- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/PyPI_Description.md b/PyPI_Description.md index 5207face..2c42b32c 100644 --- a/PyPI_Description.md +++ b/PyPI_Description.md @@ -39,15 +39,13 @@ PyBind11 provides: We are currently in **Public Preview**. -## 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. +## What's new in v0.12.0 + +- **Complex Data Type Support:** Added native support for DATETIMEOFFSET and UNIQUEIDENTIFIER data types with full round-trip handling, enabling seamless integration with Python's timezone-aware `datetime` objects and `uuid.UUID` types. +- **Enhanced Financial Data Operations:** Extended MONEY and SMALLMONEY support to `executemany` operations with proper NULL handling and decimal conversion for improved bulk financial data processing. +- **Comprehensive Development Infrastructure:** Implemented unified Python and C++ code coverage reporting with automated build instrumentation, CodeQL security analysis, and enhanced PR automation workflows. +- **Improved Database Metadata API:** Refactored `getinfo()` method with enhanced ODBC metadata retrieval, consistent type handling, and expanded constant exposure for more reliable database information access. +- **Data Processing Optimizations:** Removed aggressive datetime parsing to prevent incorrect type conversions and improve data integrity across diverse datetime formats and string data. For more information, please visit the project link on Github: https://github.com/microsoft/mssql-python diff --git a/setup.py b/setup.py index e933b277..8f9be2f8 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ def finalize_options(self): setup( name='mssql-python', - version='0.11.0', + version='0.12.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 310d838fcb792300c197a1aa1c609fed178e540a Mon Sep 17 00:00:00 2001 From: Gaurav Sharma Date: Fri, 26 Sep 2025 14:05:37 +0530 Subject: [PATCH 2/3] RELEASE: 0.12.0 --- PyPI_Description.md | 1 - 1 file changed, 1 deletion(-) diff --git a/PyPI_Description.md b/PyPI_Description.md index 2c42b32c..fd9b7fe5 100644 --- a/PyPI_Description.md +++ b/PyPI_Description.md @@ -43,7 +43,6 @@ We are currently in **Public Preview**. - **Complex Data Type Support:** Added native support for DATETIMEOFFSET and UNIQUEIDENTIFIER data types with full round-trip handling, enabling seamless integration with Python's timezone-aware `datetime` objects and `uuid.UUID` types. - **Enhanced Financial Data Operations:** Extended MONEY and SMALLMONEY support to `executemany` operations with proper NULL handling and decimal conversion for improved bulk financial data processing. -- **Comprehensive Development Infrastructure:** Implemented unified Python and C++ code coverage reporting with automated build instrumentation, CodeQL security analysis, and enhanced PR automation workflows. - **Improved Database Metadata API:** Refactored `getinfo()` method with enhanced ODBC metadata retrieval, consistent type handling, and expanded constant exposure for more reliable database information access. - **Data Processing Optimizations:** Removed aggressive datetime parsing to prevent incorrect type conversions and improve data integrity across diverse datetime formats and string data. From 9e316a2c58d5fc530899726292d3677a47c94a51 Mon Sep 17 00:00:00 2001 From: Gaurav Sharma Date: Fri, 26 Sep 2025 14:24:34 +0530 Subject: [PATCH 3/3] RELEASE: 0.12.0 --- PyPI_Description.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PyPI_Description.md b/PyPI_Description.md index fd9b7fe5..9c6c81f8 100644 --- a/PyPI_Description.md +++ b/PyPI_Description.md @@ -42,8 +42,8 @@ We are currently in **Public Preview**. ## What's new in v0.12.0 - **Complex Data Type Support:** Added native support for DATETIMEOFFSET and UNIQUEIDENTIFIER data types with full round-trip handling, enabling seamless integration with Python's timezone-aware `datetime` objects and `uuid.UUID` types. -- **Enhanced Financial Data Operations:** Extended MONEY and SMALLMONEY support to `executemany` operations with proper NULL handling and decimal conversion for improved bulk financial data processing. -- **Improved Database Metadata API:** Refactored `getinfo()` method with enhanced ODBC metadata retrieval, consistent type handling, and expanded constant exposure for more reliable database information access. +- **Support for monetary or currency values data types:** Extended MONEY and SMALLMONEY support to `executemany` operations with proper NULL handling and decimal conversion for improved bulk financial data processing. +- **Improved Database Metadata API:** Added `getinfo()` method with enhanced ODBC metadata retrieval, allowing users to query driver/data source information using ODBC info types. - **Data Processing Optimizations:** Removed aggressive datetime parsing to prevent incorrect type conversions and improve data integrity across diverse datetime formats and string data. For more information, please visit the project link on Github: https://github.com/microsoft/mssql-python