Skip to content

RELEASE:1.6.0#537

Merged
gargsaumya merged 1 commit intomainfrom
release/1.6.0
Apr 24, 2026
Merged

RELEASE:1.6.0#537
gargsaumya merged 1 commit intomainfrom
release/1.6.0

Conversation

@gargsaumya
Copy link
Copy Markdown
Contributor

@gargsaumya gargsaumya commented Apr 24, 2026

Work Item / Issue Reference

AB#44595

GitHub Issue: #<ISSUE_NUMBER>


Summary

This pull request updates the library to version 1.6.0 and delivers a focused set of reliability and concurrency improvements.

Bug Fixes and Reliability Improvements

• GIL Release During ODBC Connect/Disconnect: The driver now releases the GIL during blocking ODBC connect and disconnect calls, improving concurrency for multi-threaded Python applications.
• setinputsizes() SQL_DECIMAL Crash Fix: Fixed a crash in cursor.setinputsizes() when specifying SQL_DECIMAL type hints.
• ODBC Catalog fetchone() Fix: Fixed an issue where fetchone() on ODBC catalog method results returned incorrect data.
• cursor.execute() Invalid Cursor State Fix: Fixed cursor.execute() raising an Invalid cursor state error when called with reset_cursor=False.
• executemany Type Annotation Fix: Corrected the type annotation for executemany seq_of_parameters parameter to accept Mapping types.
• setup_logging Path Traversal Guard: Added path canonicalization and traversal guard to setup_logging's log_file_path parameter.

Version Updates

• Updated the version number to \1.6.0\ in _init_.py\ and \setup.py\ to reflect the new release.
For a full list of changes and more details, refer to the updated release notes in \PyPI_Description.md.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the package metadata and PyPI-facing release notes to publish version 1.6.0 of mssql-python.

Changes:

  • Bumped package version to 1.6.0 in distribution metadata (setup.py).
  • Bumped runtime-reported driver version to 1.6.0 (mssql_python/__init__.py).
  • Updated PyPI description “What’s new” section to v1.6.0 bug-fix notes (PyPI_Description.md).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
setup.py Updates the package distribution version to 1.6.0.
mssql_python/init.py Updates the library’s __version__ to 1.6.0.
PyPI_Description.md Updates the “What’s new” section content for the 1.6.0 release.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread PyPI_Description.md
sumitmsft
sumitmsft previously approved these changes Apr 24, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 24, 2026

📊 Code Coverage Report

🔥 Diff Coverage

100%


🎯 Overall Coverage

79%


📈 Total Lines Covered: 6756 out of 8507
📁 Project: mssql-python


Diff Coverage

Diff: main...HEAD, staged and unstaged changes

  • mssql_python/init.py (100%)

Summary

  • Total: 1 line
  • Missing: 0 lines
  • Coverage: 100%

📋 Files Needing Attention

📉 Files with overall lowest coverage (click to expand)
mssql_python.pybind.logger_bridge.cpp: 59.2%
mssql_python.pybind.ddbc_bindings.h: 67.8%
mssql_python.row.py: 70.5%
mssql_python.pybind.logger_bridge.hpp: 70.8%
mssql_python.pybind.ddbc_bindings.cpp: 74.5%
mssql_python.pybind.connection.connection.cpp: 75.8%
mssql_python.__init__.py: 77.3%
mssql_python.ddbc_bindings.py: 79.6%
mssql_python.pybind.connection.connection_pool.cpp: 79.6%
mssql_python.connection.py: 85.3%

🔗 Quick Links

⚙️ Build Summary 📋 Coverage Details

View Azure DevOps Build

Browse Full Coverage Report

bewithgaurav
bewithgaurav previously approved these changes Apr 24, 2026
@gargsaumya gargsaumya merged commit 4560aa5 into main Apr 24, 2026
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-size: small Minimal code update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants