RELEASE:1.13.0 - #707
Open
Subrata (subrata-ms) wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Work Item / Issue Reference
Summary
Release mssql-python v1.13.0.
Version bump to 1.13.0. Updates
mssql_python/__init__.py,setup.py,PyPI_Description.md, and the README "Important Note" section. Bundledmssql_py_corebumped from 0.1.7 to 0.1.8 (no source/API changes — dev-nightly to stable pin).Enhancements
mssql-python-odbc(Phase 2) — Thelibs/fallback introduced in v1.12.0 has been removed.mssql-pythonnow hard-depends onmssql-python-odbc==18.6.2.1;pip install mssql-pythonstill pulls the driver package transparently. Smaller wheels; driver binaries managed independently (REFACTOR: remove bundled ODBC driver from mssql-python wheel; require mssql-python-odbc (Phase 2) #693).Cursor.bulkcopy_arrow(table_name, source)method for high-performance bulk loading frompyarrow.Table/RecordBatch/ Arrow C Data Interface sources; classicbulkcopy()now raisesTypeErrorfor Arrow inputs and steers users to the new method (FEAT: Support for Apache Arrow in Bulk Copy API #665).token_provider=parameter for Azure Identity credentials —connect()accepts any credential with a.get_token(scope)method (DefaultAzureCredential,AzureCliCredential,ManagedIdentityCredential, …). Mutually exclusive withAuthentication=in the connection string (FEAT: Add "token_provider= " parameter for custom Azure Identity credential support #603, issue Azure Entra Auth Options #577).Bug Fixes
executemanybatches on late NULLs — Fixed numeric array parameter binding paths (TINYINT/SMALLINT/INT/FLOAT) that left indicator slots uninitialized when a NULL appeared partway through the batch (FIX: Initialize numeric array indicators in executemany #702, issue executemany() sporadically fails to insert rows, throws no exception #670).SQL_WVARCHARoutput converter applied as catch-all to non-string columns — Fallback now gated onstr/bytesmapped types (FIX: gate SQL_WVARCHAR output-converter fallback to string/binary columns (#691) #692, issue BUG: SQL_WVARCHAR output converter is applied as an unconditional catch-all to non-string columns (INT/DECIMAL/DATE) #691).add_output_converter(SQL_DECIMAL, ...)and other integer SQL type code keys now dispatch correctly (pyodbc parity) (FIX: dispatch output converters on integer ODBC SQL type codes (#684) #690, issue add_output_converter documents/accepts an integer SQL type, but dispatch keys on the Python type (integer keys silently never fire) #684).RecordBatchReader.Close()for Arrow result sets —Cursor.arrow_reader()now returns a wrapper whose.close()releases server-side resources and leaves the parent cursor usable (FIX: Implementing RecordBatchReader.Close() functionality for Arrow #644, issue Question: RecordBatchReader.close() behavior #643).AttributeErrorinCursor.__del__on partially-initialized cursor —__init__setsclosed/hstmtbefore any raise;__del__uses correctsys.is_finalizing()guard (FIX: prevent AttributeError in __del__ on partially-initialized Cursor #646, issue Test Failures in the pipeline #642).Version Bump
mssql_python/__init__.py:__version__ = "1.13.0"setup.py:version="1.13.0"PyPI_Description.md:## What's new in v1.13.0section refreshedREADME.md: "Important Note" updated for Phase 2 (no morelibs/fallback,mssql-python-odbc==18.6.2.1)