Skip to content

Conversation

@bewithgaurav
Copy link
Collaborator

@bewithgaurav bewithgaurav commented Oct 14, 2025

Work Item / Issue Reference

AB#39534


Summary

This pull request updates the package to version 0.13.1 and introduces several reliability and stability improvements, particularly around authentication, timezone handling, connection pooling, and type processing. These changes are reflected in both the documentation and the package configuration.

Release and documentation updates:

  • Updated the package version to 0.13.1 in setup.py to reflect the new release.
  • Revised the "What's new" section in PyPI_Description.md to highlight the main changes and improvements in v0.13.1.

Reliability and stability improvements:

  • Fixed token handling for Microsoft Entra ID authentication to ensure stable and reliable connections.
  • Enhanced connection pool shutdown mechanism to prevent resource leaks and ensure reliable cleanup.

Data handling improvements:

  • Removed forced UTC conversion for datetimeoffset values, preserving original timezone information in Python datetime objects.
  • Refined UUID string parameter handling to prevent automatic type coercion, ensuring predictable string processing.

Copilot AI review requested due to automatic review settings October 14, 2025 13:29
@github-actions github-actions bot added the pr-size: small Minimal code update label Oct 14, 2025
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 bumps the package version to 0.13.1 and updates the documentation to reflect the new release's key improvements, focusing on authentication reliability, timezone handling, connection pooling stability, and type processing enhancements.

  • Updated package version from 0.13.0 to 0.13.1 in setup.py
  • Revised PyPI description to highlight v0.13.1 features instead of v0.13.0

Reviewed Changes

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

File Description
setup.py Version bump from 0.13.0 to 0.13.1
PyPI_Description.md Updated "What's new" section to describe v0.13.1 improvements

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@github-actions
Copy link

📊 Code Coverage Report

🔥 Diff Coverage

100%


🎯 Overall Coverage

74%


📈 Total Lines Covered: 4186 out of 5607
📁 Project: mssql-python


Diff Coverage

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

No lines with coverage information in this diff.


📋 Files Needing Attention

📉 Files with overall lowest coverage (click to expand)
mssql_python.pybind.connection.connection.cpp: 68.3%
mssql_python.ddbc_bindings.py: 68.5%
mssql_python.pybind.ddbc_bindings.cpp: 69.3%
mssql_python.cursor.py: 79.7%
mssql_python.connection.py: 81.7%
mssql_python.helpers.py: 84.7%
mssql_python.auth.py: 85.3%
mssql_python.type.py: 86.8%
mssql_python.pooling.py: 87.5%
mssql_python.exceptions.py: 90.4%

🔗 Quick Links

⚙️ Build Summary 📋 Coverage Details

View Azure DevOps Build

Browse Full Coverage Report

@bewithgaurav bewithgaurav merged commit 5a0bc59 into main Oct 15, 2025
46 checks passed
gargsaumya pushed a commit that referenced this pull request Nov 3, 2025
### Work Item / Issue Reference  
<!-- 
IMPORTANT: Please follow the PR template guidelines below.
For mssql-python maintainers: Insert your ADO Work Item ID below (e.g.
AB#37452)
For external contributors: Insert Github Issue number below (e.g. #149)
Only one reference is required - either GitHub issue OR ADO Work Item.
-->

<!-- mssql-python maintainers: ADO Work Item -->
>
[AB#39534](https://sqlclientdrivers.visualstudio.com/c6d89619-62de-46a0-8b46-70b92a84d85e/_workitems/edit/39534)

-------------------------------------------------------------------
### Summary   
<!-- Insert your summary of changes below. Minimum 10 characters
required. -->
This pull request updates the package to version 0.13.1 and introduces
several reliability and stability improvements, particularly around
authentication, timezone handling, connection pooling, and type
processing. These changes are reflected in both the documentation and
the package configuration.

Release and documentation updates:

* Updated the package version to `0.13.1` in `setup.py` to reflect the
new release.
* Revised the "What's new" section in `PyPI_Description.md` to highlight
the main changes and improvements in v0.13.1.

Reliability and stability improvements:

* Fixed token handling for Microsoft Entra ID authentication to ensure
stable and reliable connections.
* Enhanced connection pool shutdown mechanism to prevent resource leaks
and ensure reliable cleanup.

Data handling improvements:

* Removed forced UTC conversion for `datetimeoffset` values, preserving
original timezone information in Python `datetime` objects.
* Refined UUID string parameter handling to prevent automatic type
coercion, ensuring predictable string processing.

<!-- 
### PR Title Guide

> For feature requests
FEAT: (short-description)

> For non-feature requests like test case updates, config updates ,
dependency updates etc
CHORE: (short-description) 

> For Fix requests
FIX: (short-description)

> For doc update requests 
DOC: (short-description)

> For Formatting, indentation, or styling update
STYLE: (short-description)

> For Refactor, without any feature changes
REFACTOR: (short-description)

> For release related changes, without any feature changes
RELEASE: #<RELEASE_VERSION> (short-description) 

### Contribution Guidelines

External contributors:
- Create a GitHub issue first:
https://github.com/microsoft/mssql-python/issues/new
- Link the GitHub issue in the "GitHub Issue" section above
- Follow the PR title format and provide a meaningful summary

mssql-python maintainers:
- Create an ADO Work Item following internal processes
- Link the ADO Work Item in the "ADO Work Item" section above  
- Follow the PR title format and provide a meaningful summary
-->
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.

4 participants