Skip to content

RELEASE:1.5.0#508

Merged
gargsaumya merged 2 commits intomainfrom
release/1.5.0
Apr 10, 2026
Merged

RELEASE:1.5.0#508
gargsaumya merged 2 commits intomainfrom
release/1.5.0

Conversation

@gargsaumya
Copy link
Copy Markdown
Contributor

@gargsaumya gargsaumya commented Apr 10, 2026

Work Item / Issue Reference

AB#43946

GitHub Issue: #<ISSUE_NUMBER>


Summary

This pull request updates the library to version 1.5.0 and introduces several major new features, enhancements, and bug fixes. The release focuses on improving data integration performance, expanding SQL Server type support, and increasing library usability and reliability.

New Features and Enhancements

  • Apache Arrow Fetch Support: Added high-performance Arrow-based data fetching via cursor.arrow(), cursor.arrow_batch(), and cursor.arrow_reader(), enabling zero-copy integration with pandas, Polars, and other Arrow-native data frameworks.
  • sql_variant Type Support: Added support for the sql_variant complex SQL Server data type.
  • Native UUID Support: Added native support for fetching and binding UUID/GUID values without manual string conversion.
  • Row Class Export: The Row class is now publicly exported from the top-level mssql_python module for easier use in type annotations and downstream code.

Bug Fixes and Reliability Improvements

  • Qmark False Positive Fix: Fixed false positive qmark (?) detection for ? appearing inside bracketed identifiers, string literals, and SQL comments.
  • NULL VARBINARY Parameter Fix: Fixed NULL parameter type mapping for VARBINARY columns.
  • Bulkcopy Auth Fix: Fixed stale auth fields being retained in pycore_context after token acquisition during bulk copy operations.
  • Explicit Module Exports: Added explicit __all__ exports from the main library module to prevent import resolution issues.
  • Credential Cache Fix: Fixed credential instance cache to correctly reuse and invalidate cached credential objects.
  • datetime.time Microseconds Fix: Fixed stored datetime.time values incorrectly having microseconds set to zero.
  • Arrow Time Fractional Seconds Fix: Fixed time handling in Arrow integration to correctly include fractional seconds.

Version Updates

  • Updated the version number to 1.5.0 in __init__.py and setup.py to reflect the new release. [1] [2]

For a full list of changes and more details, refer to the updated release notes in PyPI_Description.md.

Copilot AI review requested due to automatic review settings April 10, 2026 05:26
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

This release PR prepares mssql-python for the 1.5.0 release by updating package version metadata and refreshing the PyPI long description “What’s new” section.

Changes:

  • Bumped package version to 1.5.0 in distribution metadata (setup.py) and runtime metadata (mssql_python/__init__.py).
  • Updated PyPI_Description.md release notes section to “What’s new in v1.5.0” with new feature/bug-fix bullets.

Reviewed changes

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

File Description
setup.py Updates the package version used for builds/distribution.
PyPI_Description.md Updates PyPI long description release notes for v1.5.0.
mssql_python/init.py Updates the runtime __version__ constant to 1.5.0.

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

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 10, 2026

📊 Code Coverage Report

🔥 Diff Coverage

100%


🎯 Overall Coverage

79%


📈 Total Lines Covered: 6639 out of 8403
📁 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.2%
mssql_python.pybind.connection.connection.cpp: 75.3%
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.2%

🔗 Quick Links

⚙️ Build Summary 📋 Coverage Details

View Azure DevOps Build

Browse Full Coverage Report

@github-actions github-actions bot added the pr-size: small Minimal code update label Apr 10, 2026
@gargsaumya gargsaumya merged commit 9688b10 into main Apr 10, 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.

4 participants