Skip to content

RELEASE: 1.7.4 - #544

Merged
bewithgaurav merged 1 commit into
devfrom
release/1.7.4
Jul 24, 2026
Merged

RELEASE: 1.7.4#544
bewithgaurav merged 1 commit into
devfrom
release/1.7.4

Conversation

@bewithgaurav

@bewithgaurav bewithgaurav commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator

mssql-django 1.7.4 Release Notes (July 2026)

mssql-django 1.7.4 is a patch release that fixes two bugs in raw and annotated GROUP BY query handling.


Bug Fixes

FIX: Preserve escaped %% in GROUP BY params (#537, closes #476)

  • What changed: GROUP BY queries mixing escaped %% literals with real params no longer raise IndexError; placeholder rewriting now only touches %% and %s.
  • Who benefits: Anyone running raw/annotated GROUP BY queries with escaped percent literals.
  • Impact: Those queries run correctly instead of erroring (also fixes one Query results different on 1.5 on static query. #394 case of silently wrong rows).

FIX: Support IntegerChoices params in raw GROUP BY queries (#541, closes #540)

  • What changed: Passing an IntegerChoices value into a raw GROUP BY query no longer raises NotImplementedError; type checks now use isinstance.
  • Who benefits: Anyone passing enum choices as params into raw GROUP BY queries.
  • Impact: Enum choices bind correctly; bool still binds BIT, plain int unchanged.

Test Improvements


Version Compatibility

Component Supported Versions
Django 3.2, 4.0, 4.1, 4.2, 5.0, 5.1, 5.2, 6.0
Python 3.8 – 3.14
SQL Server 2016, 2017, 2019, 2022, 2025; Azure SQL DB / Managed Instance / Microsoft Fabric
ODBC Driver 17 or 18 for SQL Server (v18 is the default)

Breaking Changes

None. This is a fully backward-compatible patch release.


Contributors

All changes in this release were made by the maintainers. Thanks to @josh-rum for reporting #540.


Full Changelog

PRs included: #537, #541

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 24, 2026 08:41

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.

Pull request overview

This PR bumps the mssql-django package version to 1.7.4 as part of the release process for the backend.

Changes:

  • Update package version from 1.7.3 to 1.7.4.

Comment thread setup.py
@bewithgaurav
bewithgaurav merged commit 6dc509b into dev Jul 24, 2026
7 of 67 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants