tag:github.com,2008:https://github.com/microsoft/mssql-python/releasesTags from mssql-python2026-02-27T08:35:37Ztag:github.com,2008:Repository/921684538/v1.4.02026-02-27T08:40:13Zv1.4.0<p>RELEASE:1.4.0 (<a class="issue-link js-issue-link" href="https://github.com/microsoft/mssql-python/pull/456">#456</a>)</p>
<p>### Work Item / Issue Reference
<br /><!--
<br />IMPORTANT: Please follow the PR template guidelines below.
<br />For mssql-python maintainers: Insert your ADO Work Item ID below
<br />For external contributors: Insert Github Issue number below
<br />Only one reference is required - either GitHub issue OR ADO Work Item.
<br />--></p>
<p><!-- mssql-python maintainers: ADO Work Item -->
<br />>
<br />[AB#42855](<a href="https://sqlclientdrivers.visualstudio.com/c6d89619-62de-46a0-8b46-70b92a84d85e/_workitems/edit/42855">https://sqlclientdrivers.visualstudio.com/c6d89619-62de-46a0-8b46-70b92a84d85e/_workitems/edit/42855</a>)</p>
<p><!-- External contributors: GitHub Issue -->
<br />> GitHub Issue: #<ISSUE_NUMBER></p>
<p>-------------------------------------------------------------------
<br />### Summary
<br /><!-- Insert your summary of changes below. Minimum 10 characters
<br />required. --></p>
<p>This pull request updates the package to version 1.4.0, introducing
<br />several new features and bug fixes aimed at improving performance,
<br />compatibility, and developer experience. The most important changes are
<br />summarized below:</p>
<p>Version bump and release notes:</p>
<p>* Updated the package version to `1.4.0` in `setup.py`, `__init__.py`,
<br />and the documentation, reflecting the new release.
<br />[[1]](diffhunk://#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7L176-R176)
<br />[[2]](diffhunk://#diff-d95f3a67986de29f30453416b1b4c34e6a43207e9a33e2b1b80ef0c378b0a538L18-R18)
<br />[[3]](diffhunk://#diff-5236254592b2fea0773f17424b16acf82e3aa351ad8bae33871de5c98eb76eedL38-R53)</p>
<p>New features:</p>
<p>* Added bulk copy support with a high-performance data loading API for
<br />large-scale ETL workloads, including configurable batch sizes and column
<br />mappings.
<br />* Introduced spatial type support for geography, geometry, and
<br />hierarchyid types.
<br />* Upgraded to `mssql-py-core` version 0.1.0 with enhanced connection
<br />string parameter support.
<br />* Added `py.typed` marker for improved type checking, and included Azure
<br />SQL Database in the PR validation pipeline matrix.</p>
<p>Bug fixes and improvements:</p>
<p>* Fixed issues with VARCHAR encoding for non-ASCII CP1252 characters,
<br />segmentation faults during fetch operations, date/time type code
<br />mappings, and updated pipeline configurations.
<br /><!--
<br />### PR Title Guide</p>
<p>> For feature requests
<br />FEAT: (short-description)</p>
<p>> For non-feature requests like test case updates, config updates ,
<br />dependency updates etc
<br />CHORE: (short-description) </p>
<p>> For Fix requests
<br />FIX: (short-description)</p>
<p>> For doc update requests
<br />DOC: (short-description)</p>
<p>> For Formatting, indentation, or styling update
<br />STYLE: (short-description)</p>
<p>> For Refactor, without any feature changes
<br />REFACTOR: (short-description)</p>
<p>> For release related changes, without any feature changes
<br />RELEASE: #<RELEASE_VERSION> (short-description) </p>
<p>### Contribution Guidelines</p>
<p>External contributors:
<br />- Create a GitHub issue first:
<br /><a href="https://github.com/microsoft/mssql-python/issues/new">https://github.com/microsoft/mssql-python/issues/new</a>
<br />- Link the GitHub issue in the "GitHub Issue" section above
<br />- Follow the PR title format and provide a meaningful summary</p>
<p>mssql-python maintainers:
<br />- Create an ADO Work Item following internal processes
<br />- Link the ADO Work Item in the "ADO Work Item" section above
<br />- Follow the PR title format and provide a meaningful summary
<br />--></p>gargsaumyatag:github.com,2008:Repository/921684538/v1.3.02026-01-30T15:17:44Zv1.3.0<p>RELEASE: 1.3.0 (<a class="issue-link js-issue-link" href="https://github.com/microsoft/mssql-python/pull/419">#419</a>)</p>
<p>### Work Item / Issue Reference
<br /><!--
<br />IMPORTANT: Please follow the PR template guidelines below.
<br />For mssql-python maintainers: Insert your ADO Work Item ID below
<br />For external contributors: Insert Github Issue number below
<br />Only one reference is required - either GitHub issue OR ADO Work Item.
<br />--></p>
<p><!-- mssql-python maintainers: ADO Work Item -->
<br />>
<br />[AB#41886](<a href="https://sqlclientdrivers.visualstudio.com/c6d89619-62de-46a0-8b46-70b92a84d85e/_workitems/edit/41886">https://sqlclientdrivers.visualstudio.com/c6d89619-62de-46a0-8b46-70b92a84d85e/_workitems/edit/41886</a>)</p>
<p><!-- External contributors: GitHub Issue -->
<br />> GitHub Issue: #<ISSUE_NUMBER></p>
<p>-------------------------------------------------------------------
<br />### Summary
<br /><!-- Insert your summary of changes below. Minimum 10 characters
<br />required. --></p>
<p>This pull request updates the package to version 1.3.0 and revises the
<br />release notes to reflect the latest changes. The most significant update
<br />is a bug fix addressing a segmentation fault in the underlying driver.</p>
<p>Version bump and documentation:</p>
<p>* Updated the package version to `1.3.0` in both
<br />`mssql_python/__init__.py` and `setup.py`, ensuring consistency across
<br />the codebase and distribution metadata.
<br />[[1]](diffhunk://#diff-d95f3a67986de29f30453416b1b4c34e6a43207e9a33e2b1b80ef0c378b0a538L18-R18)
<br />[[2]](diffhunk://#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7L99-R99)
<br />* Revised the release notes in `PyPI_Description.md` to document the new
<br />version, removing previous entries and highlighting the segmentation
<br />fault fix in `libmsodbcsql-18.5` during `SQLFreeHandle()`.
<br /><!--
<br />### PR Title Guide</p>
<p>> For feature requests
<br />FEAT: (short-description)</p>
<p>> For non-feature requests like test case updates, config updates ,
<br />dependency updates etc
<br />CHORE: (short-description) </p>
<p>> For Fix requests
<br />FIX: (short-description)</p>
<p>> For doc update requests
<br />DOC: (short-description)</p>
<p>> For Formatting, indentation, or styling update
<br />STYLE: (short-description)</p>
<p>> For Refactor, without any feature changes
<br />REFACTOR: (short-description)</p>
<p>> For release related changes, without any feature changes
<br />RELEASE: #<RELEASE_VERSION> (short-description) </p>
<p>### Contribution Guidelines</p>
<p>External contributors:
<br />- Create a GitHub issue first:
<br /><a href="https://github.com/microsoft/mssql-python/issues/new">https://github.com/microsoft/mssql-python/issues/new</a>
<br />- Link the GitHub issue in the "GitHub Issue" section above
<br />- Follow the PR title format and provide a meaningful summary</p>
<p>mssql-python maintainers:
<br />- Create an ADO Work Item following internal processes
<br />- Link the ADO Work Item in the "ADO Work Item" section above
<br />- Follow the PR title format and provide a meaningful summary
<br />--></p>gargsaumyatag:github.com,2008:Repository/921684538/v1.2.02026-01-16T13:58:25Zv1.2.0<p>RELEASE: 1.2.0 (<a class="issue-link js-issue-link" href="https://github.com/microsoft/mssql-python/pull/404">#404</a>)</p>
<p>### Work Item / Issue Reference
<br /><!--
<br />IMPORTANT: Please follow the PR template guidelines below.
<br />For mssql-python maintainers: Insert your ADO Work Item ID below (e.g.
<br />AB#37452)
<br />For external contributors: Insert Github Issue number below (e.g. <a class="issue-link js-issue-link" href="https://github.com/microsoft/mssql-python/pull/149">#149</a>)
<br />Only one reference is required - either GitHub issue OR ADO Work Item.
<br />--></p>
<p><!-- mssql-python maintainers: ADO Work Item -->
<br />>
<br />[AB#41674](<a href="https://sqlclientdrivers.visualstudio.com/c6d89619-62de-46a0-8b46-70b92a84d85e/_workitems/edit/41674">https://sqlclientdrivers.visualstudio.com/c6d89619-62de-46a0-8b46-70b92a84d85e/_workitems/edit/41674</a>)</p>
<p><!-- External contributors: GitHub Issue -->
<br />> GitHub Issue: #<ISSUE_NUMBER></p>
<p>-------------------------------------------------------------------
<br />### Summary
<br /><!-- Insert your summary of changes below. Minimum 10 characters
<br />required. -->
<br />This pull request updates the package to version 1.2.0 and introduces
<br />several new features and bug fixes. The most notable changes include new
<br />properties for connection management, enhanced parameter handling, and
<br />important bug fixes for data retrieval and file handling.</p>
<p>Version bump:</p>
<p>* Updated the package version from 1.1.0 to 1.2.0 in `setup.py`,
<br />`mssql_python/__init__.py`, and the documentation.
<br />[[1]](diffhunk://#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7L99-R99)
<br />[[2]](diffhunk://#diff-d95f3a67986de29f30453416b1b4c34e6a43207e9a33e2b1b80ef0c378b0a538L18-R18)
<br />[[3]](diffhunk://#diff-5236254592b2fea0773f17424b16acf82e3aa351ad8bae33871de5c98eb76eedL38-R52)</p>
<p>Feature enhancements:</p>
<p>* Added the `Connection.closed` property for improved connection state
<br />management.
<br />* Enabled support for passing parameters as dictionaries, allowing more
<br />flexible query parameterization.
<br />* Introduced Copilot prompts for AI-assisted development.</p>
<p>Bug fixes:</p>
<p>* Fixed `fetchmany(n)` to correctly respect batch size when working with
<br />LOB columns.
<br />* Resolved path resolution issues for files with non-ASCII characters on
<br />Windows.</p>
<p><!--
<br />### PR Title Guide</p>
<p>> For feature requests
<br />FEAT: (short-description)</p>
<p>> For non-feature requests like test case updates, config updates ,
<br />dependency updates etc
<br />CHORE: (short-description) </p>
<p>> For Fix requests
<br />FIX: (short-description)</p>
<p>> For doc update requests
<br />DOC: (short-description)</p>
<p>> For Formatting, indentation, or styling update
<br />STYLE: (short-description)</p>
<p>> For Refactor, without any feature changes
<br />REFACTOR: (short-description)</p>
<p>> For release related changes, without any feature changes
<br />RELEASE: #<RELEASE_VERSION> (short-description) </p>
<p>### Contribution Guidelines</p>
<p>External contributors:
<br />- Create a GitHub issue first:
<br /><a href="https://github.com/microsoft/mssql-python/issues/new">https://github.com/microsoft/mssql-python/issues/new</a>
<br />- Link the GitHub issue in the "GitHub Issue" section above
<br />- Follow the PR title format and provide a meaningful summary</p>
<p>mssql-python maintainers:
<br />- Create an ADO Work Item following internal processes
<br />- Link the ADO Work Item in the "ADO Work Item" section above
<br />- Follow the PR title format and provide a meaningful summary
<br />--></p>gargsaumyatag:github.com,2008:Repository/921684538/v1.1.02025-12-19T12:50:45Zv1.1.0<p>RELEASE: v1.1.0 (<a class="issue-link js-issue-link" href="https://github.com/microsoft/mssql-python/pull/382">#382</a>)</p>
<p>### Work Item / Issue Reference
<br /><!--
<br />IMPORTANT: Please follow the PR template guidelines below.
<br />For mssql-python maintainers: Insert your ADO Work Item ID below (e.g.
<br />AB#37452)
<br />For external contributors: Insert Github Issue number below (e.g. <a class="issue-link js-issue-link" href="https://github.com/microsoft/mssql-python/pull/149">#149</a>)
<br />Only one reference is required - either GitHub issue OR ADO Work Item.
<br />--></p>
<p><!-- mssql-python maintainers: ADO Work Item -->
<br />>
<br />[AB#41191](<a href="https://sqlclientdrivers.visualstudio.com/c6d89619-62de-46a0-8b46-70b92a84d85e/_workitems/edit/41191">https://sqlclientdrivers.visualstudio.com/c6d89619-62de-46a0-8b46-70b92a84d85e/_workitems/edit/41191</a>)</p>
<p><!-- External contributors: GitHub Issue -->
<br />> GitHub Issue: #<ISSUE_NUMBER></p>
<p>-------------------------------------------------------------------
<br />### Summary
<br />This pull request updates the `mssql-python` package to version 1.1.0,
<br />introducing several critical bug fixes, enhancements, and improvements
<br />to platform-specific packaging and metadata. The update also removes
<br />unused global connection cleanup logic from the package initialization.
<br />Below are the most important changes:</p>
<p>## Major Enhancements and Bug Fixes</p>
<p>- **Critical Stability and Security Fixes:**
<br />- Introduced thread-safe encoding/decoding with mutex-based protection
<br />and strict validation for SQL_WCHAR types.
<br />- Fixed a critical double-free issue on Linux, improved UTF-16 string
<br />decoding, ensured connection pooling isolation resets, corrected
<br />connection string escaping, improved NULL parameter array handling,
<br />ensured consistent query timeout, fixed IntegrityError detection, and
<br />improved sensitive parameter filtering.
<br />- **Documentation Update:**
<br />- Updated the `PyPI_Description.md` to reflect new features,
<br />enhancements, and bug fixes for version 1.1.0.</p>
<p>## Package Initialization and Versioning</p>
<p>- **Version Bump:**
<br />- Updated the package version from `1.0.0` to `1.1.0` in both
<br />`mssql_python/__init__.py` and `setup.py`.
<br />- **Removed Connection Cleanup Logic:**
<br />- Eliminated global weakref-based connection tracking and atexit cleanup
<br />logic from `mssql_python/__init__.py`, as it is no longer needed.</p>
<p>## Packaging and Distribution Improvements</p>
<p>- **Platform-Specific Packaging:**
<br />- Refactored `setup.py` to use consistent double quotes, improved
<br />architecture and platform tag detection, and expanded logic for adding
<br />platform-specific package data for Windows, macOS, and Linux.
<br />- **Metadata Consistency:**
<br />- Updated all metadata fields (e.g., author, description, classifiers)
<br />and ensured consistent formatting and requirements in `setup.py`.</p>
<p>These changes collectively improve package stability, security, and
<br />cross-platform compatibility, while also ensuring accurate documentation
<br />and streamlined packaging.</p>gargsaumyatag:github.com,2008:Repository/921684538/v1.0.02025-11-18T18:14:42Zv1.0.0 - General Availability Releasesumitmsfttag:github.com,2008:Repository/921684538/v0.14.0-preview2025-11-15T06:19:58Zv0.14.0-preview<p>Merge branch 'main' of <a href="https://sqlclientdrivers.visualstudio.com/mssql-python/_git/mssql-python">https://sqlclientdrivers.visualstudio.com/mssq…</a></p>
<p><a href="https://sqlclientdrivers.visualstudio.com/mssql-python/_git/mssql-python">…l-python/_git/mssql-python</a> into release/0.14.0</p>bewithgauravtag:github.com,2008:Repository/921684538/v0.13.1-preview2025-10-14T15:08:35Zv0.13.1-previewbewithgauravtag:github.com,2008:Repository/921684538/v0.13.0-preview2025-10-14T15:06:29Zv0.13.0-previewbewithgauravtag:github.com,2008:Repository/921684538/v0.12.0-preview2025-09-26T10:16:34Zv0.12.0-previewbewithgauravtag:github.com,2008:Repository/921684538/v0.11.0-preview2025-09-19T06:18:33Zv0.11.0-previewbewithgaurav