RELEASE: 2.0.0 - #612
RELEASE: 2.0.0#612
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🟢 Approval recommended
The changes are limited to consistent release metadata updates (version + changelog) with no functional code impact identified.
Pull request overview
Prepares the mssql-django package for the 2.0.0 release by updating the distribution version metadata and publishing the 2.0.0 changelog entry and links.
Changes:
- Bump package version to
2.0.0and refine PyPI classifiers (platform + CPython implementation). - Add the
2.0.0dated section toCHANGELOG.md, update compare links, and add the missing PR reference link.
File summaries
| File | Description |
|---|---|
| setup.py | Bumps the package version to 2.0.0 and updates classifiers to reflect supported platforms/CPython. |
| CHANGELOG.md | Adds the 2.0.0 release entry, updates the Unreleased compare link base, and adds the 2.0.0 compare link + PR reference. |
Review details
- Files reviewed: 2/2 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
One or more custom setup steps configured for this repository failed during this Copilot code review run: Setup steps run before each review. If the review above is missing context, or no review was posted at all, the failing step above may be the cause. See the workflow run for failure details, fix your setup steps configuration, and re-request a review. Note You can configure setup steps for Copilot code review separately from Copilot cloud agent with a |
📊 Code Coverage Report
Diff CoverageDiff: dev...HEAD, staged and unstaged changesNo lines with coverage information in this diff. 📋 Files Needing Attention📉 Files with overall lowest coverage (click to expand)- mssql/creation.py: 60.3% (73 lines)
- mssql/operations.py: 79.2% (399 lines)
- mssql/management/commands/inspectdb.py: 81.8% (11 lines)
- mssql/compiler.py: 83.5% (643 lines)
- mssql/functions.py: 87.1% (427 lines)
- mssql/client.py: 87.5% (40 lines)
- mssql/schema.py: 88.4% (718 lines)
- mssql/introspection.py: 90.9% (132 lines)
- mssql/base.py: 93.5% (555 lines)
- mssql/__init__.py: 100.0% (1 lines)🔗 Quick Links
|
mssql-django 2.0 Release Notes (September 2026)
mssql-django 2.0 adds per-connection mssql-python support, modernizes the supported runtime matrix, and includes compatibility and reliability fixes across SQL Server and Microsoft Fabric. mssql-python is installed as a required dependency, while pyodbc remains the default database driver.
Highlights
ENGINE; omitpython_driverto continue using pyodbc.mssql-python-odbccompanion package automatically.Features
FEAT: Add per-connection mssql-python selection (#596, #597, #599)
OPTIONS["python_driver"] = "mssql_python"selects mssql-python for one database alias. Other aliases can continue using pyodbc. Connection strings, pooling, retries, transactions, savepoints,datetimeoffset, introspection, and Microsoft Entra authentication are handled through the selected driver.ENGINE.FEAT: Modernize the support matrix (#598, #605)
Improvements
Replace pytz with zoneinfo and tzdata (#535)
zoneinfomodule withtzdatafor environments without a system IANA timezone database.Accept future SQL Server versions (#609)
Bug Fixes
FIX: Default empty mssql-python HOST to localhost (#613)
HOST, including Django's normalized value when the setting is omitted, now useslocalhoston the mssql-python path.HOST.SERVER=.FIX: Honor explicit MARS settings for Fabric Warehouse (#600, closes #415)
MARS_Connectionvalues are preserved instead of being overridden. ORM iteration buffers results when MARS is disabled.FIX: Escape bracket wildcards in expression lookups (#575, closes #573)
F()expressions now escape SQL Server[wildcards correctly.contains,startswith, and related pattern lookups.FIX: Escape quotes in inspectdb schema names (#583)
inspectdb --schemametadata queries are escaped correctly.Version Compatibility
Breaking Changes
Contributors
Full Changelog
Product PRs included: #535, #575, #583, #596, #597, #598, #599, #600, #605,
#609, and #613.
Full comparison: 1.8.0...2.0.0