Skip to content

Conversation

@gargsaumya
Copy link
Contributor

@gargsaumya gargsaumya commented Jan 16, 2026

Work Item / Issue Reference

AB#41674

GitHub Issue: #<ISSUE_NUMBER>


Summary

This pull request updates the package to version 1.2.0 and introduces several new features and bug fixes. The most notable changes include new properties for connection management, enhanced parameter handling, and important bug fixes for data retrieval and file handling.

Version bump:

  • Updated the package version from 1.1.0 to 1.2.0 in setup.py, mssql_python/__init__.py, and the documentation. [1] [2] [3]

Feature enhancements:

  • Added the Connection.closed property for improved connection state management.
  • Enabled support for passing parameters as dictionaries, allowing more flexible query parameterization.
  • Introduced Copilot prompts for AI-assisted development.

Bug fixes:

  • Fixed fetchmany(n) to correctly respect batch size when working with LOB columns.
  • Resolved path resolution issues for files with non-ASCII characters on Windows.

Copilot AI review requested due to automatic review settings January 16, 2026 09:59
@github-actions github-actions bot added the pr-size: small Minimal code update label Jan 16, 2026
Copy link
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

This pull request updates the mssql-python package from version 1.1.0 to 1.2.0, introducing new features for connection management and parameter handling, along with important bug fixes for data retrieval and file path handling.

Changes:

  • Updated package version to 1.2.0 across setup.py, mssql_python/init.py, and documentation
  • Replaced v1.1.0 release notes with v1.2.0 release notes in PyPI_Description.md, documenting new Connection.closed property, dictionary parameter support, Copilot prompts, and bug fixes for LOB column fetching and non-ASCII path resolution

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
setup.py Updated package version from 1.1.0 to 1.2.0
mssql_python/init.py Updated version constant from 1.1.0 to 1.2.0
PyPI_Description.md Updated "What's new" section from v1.1.0 to v1.2.0 with new enhancements and bug fixes

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

@github-actions
Copy link

github-actions bot commented Jan 16, 2026

📊 Code Coverage Report

🔥 Diff Coverage

100%


🎯 Overall Coverage

76%


📈 Total Lines Covered: 5442 out of 7117
📁 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.hpp: 58.8%
mssql_python.pybind.logger_bridge.cpp: 59.2%
mssql_python.row.py: 66.2%
mssql_python.helpers.py: 67.5%
mssql_python.pybind.ddbc_bindings.cpp: 69.4%
mssql_python.pybind.ddbc_bindings.h: 71.7%
mssql_python.pybind.connection.connection.cpp: 73.6%
mssql_python.ddbc_bindings.py: 79.6%
mssql_python.pybind.connection.connection_pool.cpp: 79.6%
mssql_python.connection.py: 84.1%

🔗 Quick Links

⚙️ Build Summary 📋 Coverage Details

View Azure DevOps Build

Browse Full Coverage Report

jahnvi480
jahnvi480 previously approved these changes Jan 16, 2026
sumitmsft
sumitmsft previously approved these changes Jan 16, 2026
@gargsaumya gargsaumya dismissed stale reviews from sumitmsft and jahnvi480 via a22490e January 16, 2026 11:19
@gargsaumya gargsaumya merged commit 95e0836 into main Jan 16, 2026
29 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