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 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 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.

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
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.

3 participants