Skip to content

RELEASE:1.19.0 - #922

Merged
Jahnvi Thakkar (jahnvi480) merged 3 commits into
mainfrom
jahnvi/jubilant-robot
Nov 27, 2026
Merged

Jahnvi Thakkar (jahnvi480) merged 3 commits into
mainfrom
jahnvi/jubilant-robot

Conversation

@jahnvi480

@jahnvi480 Jahnvi Thakkar (jahnvi480) commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Work Item / Issue Reference

AB#50319


Summary

Prepare mssql-python 1.19.0. Bump the package version in mssql_python/__init__.py and setup.py, and replace the previous release highlights in PyPI_Description.md.

Enhancements

Bug Fixes

Release status and gates

  • ADO-GitHub synchronization completed into ADO main via ADO PR !9120.
  • Ready for reviewer approval. The equivalent ADO release PR follows approval of this GitHub PR.
  • Do not merge this release PR until the required PyPI and Conda publication and verification gates are complete.
  • Release builds, publication, and release qualification remain outstanding; marking this PR ready for review does not authorize publication or merging.

Validation

  • .\.venv\Scripts\python.exe -m pre_commit run black-check --all-files --hook-stage pre-push - passed.
  • git diff --check - passed.
  • Source-only checks verified matching 1.19.0 version declarations, one current "What's new" section, and the agreed description scope.
  • Native build and runtime pytest were not run for this version/description-only change; release qualification remains required.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

PR Performance Report

✅ No regression detected

No consistent slowdowns detected across all 2 environments.

0 IMPROVEMENTS 0 SLOWDOWNS 2/2 ENVIRONMENTS

Coverage: 2 of 2 environments completed. Advisory result; does not block merging.

Performance diagnostics

Phase times are inclusive diagnostics and must not be added together. They identify where measured time changed, not why it changed.

No affected phases or call-count changes were recorded.

All database tasks and timings

Unix / SQL Server 2022

Database task Before After Paired change Result
Connection opening 11.100 ms 10.729 ms -1.3% no signal
SELECT queries 1.326 ms 1.338 ms +2.4% no signal
Row insertion 31.870 ms 31.947 ms +1.2% no signal
Executemany inserts 161.258 ms 160.434 ms -0.3% no signal
Fetch-all queries 123.199 ms 121.596 ms +0.1% no signal
Row-by-row fetching 6.045 ms 6.023 ms -0.5% no signal
Batched row fetching 122.164 ms 119.542 ms -0.8% no signal
Transaction commit and rollback 109.245 ms 109.008 ms +0.3% no signal
Arrow row fetching 93.145 ms 92.033 ms -1.2% no signal
100,000-row insertion 395.893 ms 380.144 ms -1.4% no signal
Row fetching in batches of 100 128.003 ms 125.853 ms +2.0% no signal
Row fetching in batches of 10,000 132.527 ms 146.817 ms +0.1% no signal
Repeated positional queries 34.432 ms 33.785 ms -1.7% no signal
Repeated named-parameter queries 34.428 ms 34.322 ms +0.3% no signal
Legacy 100,000-row insertion 287.260 ms 296.993 ms +6.0% no signal
Insertion with explicit input sizes 442.911 ms 440.255 ms +0.0% no signal
Joined aggregation queries 182.329 ms 184.409 ms -0.5% no signal
Large joined-result fetching 201.586 ms 206.020 ms +2.5% no signal
1.2-million-row fetching 3553.527 ms 3514.697 ms -1.1% no signal
Common table expression queries 5.951 ms 5.802 ms -3.0% no signal
256 KiB VARCHAR(MAX) / fetchall() 1.381 ms 1.376 ms -0.4% no signal
10,000 scalar values / fetchval() (debug disabled) 19.439 ms 19.212 ms -1.2% no signal
10,000 output-converted rows / fetchall() 20.087 ms 20.025 ms -1.2% no signal
10,000 output-converted rows / fetchmany(1000) 26.498 ms 26.448 ms +1.6% no signal
10,000 INT/NVARCHAR rows / fetchmany(1) 27.975 ms 28.148 ms -1.0% no signal
5,000 x 8 VARCHAR(8000) / ASCII to UTF-16 47.428 ms 46.821 ms -7.5% no signal
5,000 x 8 VARCHAR(8000) / CP1252 to UTF-16 57.263 ms 57.364 ms +0.2% no signal
5,000 x 8 VARCHAR(8000) / UTF-8 to UTF-16 (astral) 110.299 ms 113.537 ms +2.9% no signal
5,000 x 8 NVARCHAR(4000) / UTF-16 (astral) 89.930 ms 87.236 ms +9.2% no signal
5,000 x 8 VARCHAR(8000) / short ASCII 11.154 ms 11.017 ms -2.8% no signal
200 x 8 VARCHAR(8000) / full-width ASCII 51.262 ms 43.821 ms -14.5% no signal
5,000 x 8 VARCHAR(8000) / short CP1252 13.765 ms 13.186 ms -6.7% no signal
200 x 8 VARCHAR(8000) / full-width CP1252 42.480 ms 43.287 ms +1.1% no signal
5,000 x 8 VARCHAR(8000) / short UTF-8 (astral) 16.592 ms 16.590 ms +1.1% no signal
200 x 8 VARCHAR(8000) / full-width UTF-8 (astral) 46.920 ms 48.035 ms +2.4% no signal
5,000 x 8 NVARCHAR(4000) / short UTF-16 (astral) 14.747 ms 15.263 ms +4.7% no signal
200 x 8 NVARCHAR(4000) / full-width UTF-16 (astral) 60.150 ms 58.665 ms -6.5% no signal
200,000 x 8 VARCHAR(32) / fetchall control 523.268 ms 524.752 ms +0.3% no signal
200,000 x 8 INT / fetchall control 294.590 ms 293.308 ms -1.2% no signal
10,000 rows x 32 columns / dict(row._mapping) (warm) 31.811 ms 31.303 ms -1.0% no signal

Unix / SQL Server 2025

Database task Before After Paired change Result
Connection opening 81.583 ms 80.594 ms -0.1% no signal
SELECT queries 1.414 ms 1.262 ms -9.6% no signal
Row insertion 31.741 ms 31.684 ms -0.5% no signal
Executemany inserts 150.194 ms 152.809 ms +1.7% no signal
Fetch-all queries 120.164 ms 120.291 ms +0.1% no signal
Row-by-row fetching 6.008 ms 6.061 ms +0.3% no signal
Batched row fetching 116.916 ms 117.217 ms +0.4% no signal
Transaction commit and rollback 108.062 ms 108.632 ms +0.5% no signal
Arrow row fetching 89.276 ms 90.901 ms +2.0% no signal
100,000-row insertion 365.858 ms 364.911 ms -0.2% no signal
Row fetching in batches of 100 125.629 ms 125.259 ms -1.7% no signal
Row fetching in batches of 10,000 125.948 ms 133.778 ms -1.6% no signal
Repeated positional queries 33.184 ms 33.444 ms +0.1% no signal
Repeated named-parameter queries 33.680 ms 33.596 ms -0.6% no signal
Legacy 100,000-row insertion 276.596 ms 275.349 ms +0.4% no signal
Insertion with explicit input sizes 419.591 ms 420.823 ms +0.4% no signal
Joined aggregation queries 166.438 ms 164.287 ms -0.7% no signal
Large joined-result fetching 184.734 ms 184.380 ms +1.5% no signal
1.2-million-row fetching 3418.169 ms 3450.082 ms +0.6% no signal
Common table expression queries 5.211 ms 5.277 ms +1.3% no signal
256 KiB VARCHAR(MAX) / fetchall() 1.768 ms 1.735 ms -12.7% no signal
10,000 scalar values / fetchval() (debug disabled) 19.630 ms 19.459 ms -0.9% no signal
10,000 output-converted rows / fetchall() 20.082 ms 20.152 ms -0.2% no signal
10,000 output-converted rows / fetchmany(1000) 23.945 ms 23.931 ms +2.6% no signal
10,000 INT/NVARCHAR rows / fetchmany(1) 27.987 ms 27.751 ms -0.8% no signal
5,000 x 8 VARCHAR(8000) / ASCII to UTF-16 49.280 ms 49.839 ms +2.9% no signal
5,000 x 8 VARCHAR(8000) / CP1252 to UTF-16 60.239 ms 60.558 ms +1.5% no signal
5,000 x 8 VARCHAR(8000) / UTF-8 to UTF-16 (astral) 112.554 ms 117.831 ms +6.0% no signal
5,000 x 8 NVARCHAR(4000) / UTF-16 (astral) 121.339 ms 118.497 ms -3.0% no signal
5,000 x 8 VARCHAR(8000) / short ASCII 10.169 ms 10.119 ms +1.1% no signal
200 x 8 VARCHAR(8000) / full-width ASCII 50.535 ms 50.455 ms -0.2% no signal
5,000 x 8 VARCHAR(8000) / short CP1252 12.426 ms 12.934 ms +3.4% no signal
200 x 8 VARCHAR(8000) / full-width CP1252 50.879 ms 53.810 ms +2.1% no signal
5,000 x 8 VARCHAR(8000) / short UTF-8 (astral) 15.991 ms 15.887 ms -1.4% no signal
200 x 8 VARCHAR(8000) / full-width UTF-8 (astral) 52.238 ms 52.414 ms +0.3% no signal
5,000 x 8 NVARCHAR(4000) / short UTF-16 (astral) 14.392 ms 14.377 ms +0.6% no signal
200 x 8 NVARCHAR(4000) / full-width UTF-16 (astral) 76.889 ms 76.350 ms -3.4% no signal
200,000 x 8 VARCHAR(32) / fetchall control 499.479 ms 498.290 ms -1.6% no signal
200,000 x 8 INT / fetchall control 264.709 ms 264.973 ms +0.1% no signal
10,000 rows x 32 columns / dict(row._mapping) (warm) 31.111 ms 30.963 ms -0.5% no signal
Build and measurement details

ADO build 195472

PR head: aa12a3623c902759fcd60b52dc53e7f8dc248dc8
Base: cfd8b9e69699e5e44d7c1d62115dd8b706ac7985
Measured merge: ed3b5d4e40e8586352b9cdb24a50ee4c6e2592c6

  • Unix / SQL Server 2022: Python 3.12.3, x86_64, SQL 16.0.4325.4; 5 paired comparisons and 1 warmup.
  • Unix / SQL Server 2025: Python 3.12.3, x86_64, SQL 17.0.5065.9; 5 paired comparisons and 1 warmup.

A consistent change requires more than 20% median paired movement, at least 1 ms between the median runtimes, and at least 80% of pairs exceeding the relative threshold in the same direction. A slowdown without enough pair agreement is reported as inconsistent.

The displayed change is the median of paired before-and-after ratios. It is not recalculated from the two displayed median runtimes.

Both revisions use profiling-enabled builds on the same agent and database, with alternating order and discarded warmups. Results are diagnostic and do not represent production-wheel latency.

Raw samples and logs are attached to the ADO run as profiler-* artifacts.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Human confirmation is needed because #752 remains open, required PyPI/Conda publication and release-qualification gates are unverified, and #915 documents an unresolved fetch-performance shipping blocker.

No open issues 🎉

What changed in this PR

Prepares mssql-python 1.19.0 by updating release metadata and PyPI highlights. No feature implementations are changed.

Changes:

  • Align package and runtime version declarations at 1.19.0.
  • Replace previous highlights with connection retries, table-valued parameters, structured diagnostics, cancellation, native hardening, and data-fidelity fixes.

The #752 Decimal fix is documented in anticipation of merging; release qualification and publication gates remain separate from these changes.

File Description
setup.py Bumps the distribution version to 1.19.0.
PyPI_Description.md Replaces v1.18.0 highlights with v1.19.0 enhancements and fixes.
mssql_python/​__init__.py Updates __version__ to match the distribution version.

Review effort: Balanced

@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

📊 Code Coverage Report

🔥 Diff Coverage

100%


🎯 Overall Coverage

86%


📈 Total Lines Covered: 13555 out of 15714
📁 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.performance_counter.hpp: 0.7%
mssql_python.pybind.logger_bridge.cpp: 57.9%
mssql_python.pybind.vector_support.hpp: 59.5%
mssql_python.pybind.ddbc_bindings.h: 69.5%
mssql_python._native_fetch.py: 80.1%
mssql_python.pybind.ddbc_bindings.cpp: 80.5%
mssql_python.pybind.row_mapping_cache.hpp: 81.5%
mssql_python.pybind.connection.connection_pool.cpp: 82.5%
mssql_python.pybind.connection.connection.cpp: 84.1%
mssql_python.logging.py: 86.8%

🔗 Quick Links

⚙️ Build Summary 📋 Coverage Details

View Azure DevOps Build

Browse Full Coverage Report

Copilot AI balanced review requested due to automatic review settings November 26, 2026 15:53
@jahnvi480
Jahnvi Thakkar (jahnvi480) marked this pull request as ready for review November 26, 2026 15:54

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Required PyPI/Conda publication and verification gates remain unconfirmed, and the unresolved fetch-performance shipping warning requires maintainer reconciliation.

No open issues 🎉

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings November 27, 2026 08:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Release artifact verification, cross-platform runtime qualification, and PyPI/Conda publication gates remain outstanding and require maintainer confirmation before final approval.

No open issues 🎉

Review effort: Balanced

@jahnvi480
Jahnvi Thakkar (jahnvi480) merged commit 5eb50e1 into main Nov 27, 2026
38 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

3 participants