Skip to content

Upcoming Release Notes

mShan0 edited this page Apr 26, 2024 · 25 revisions

This page includes anticipated release notes for work-in-progress. Each release note will tell you what's intended to be added, updated or fixed. It will also describe any backwards-incompatible changes made in that version. Please be advised that these notes are subject to change.

mssql-django 1.5 Release Notes (April 2024)

Added:

  • Add flag to db_comments condition (#373)
    • Users can now set the supports_comments feature to false to disable comment retrieval

Fixed:

  • Fix add autofield (#357)
  • Fix param format bug (#378)
  • Fix query, ensure that we only check tables in the right schema (#381)

mssql-django 1.4.2 Release Notes (March 2024)

Fixed:

  • restore original uuid behaviour (#364) Will be adding native UUID support in future release

mssql-django 1.4.1 Release Notes (March 2024)

Added:

  • add support for boolean aggregates (#332)
  • Support GeneratedField (#335)

Fixed:

  • revert can_return_rows_from_bulk_insert to False (#336)
  • Modify bulk update default value (#341)
  • Remove subqueries from group by. Fixes #343 (#344)
  • Set boolean expr flag to false, unskip constraint tests (#349)
  • Fix aggregate queries with case expressions (#354)
  • Update SQL query for split parameters function (#358)

mssql-django 1.4 Release Notes (January 2024)

Added:

  • Add db_comment support (#318)
  • Django 5.0 support (#327)

Fixed:

  • Fix introspection test on SmallAutoField (#287)
  • Fix converting date/time from character string. (#290)
  • Add logic to include deleting _meta.indexes to _delete_indexes (#292)
  • Implement fix for empty aggregate (#324)

mssql-django 1.3 Release Notes (May 2023)

Added:

  • Add case-sensitive feature for Replace function (#222)
  • Add support for Django 4.2 (#269)

Fixed:

  • Fix #196: changed getting system datetime to cached_property (#217)
  • Fix an issue of adding OFFSET keyword for legacy SQL Server versions (#218)
  • Fix left padding function to return strings with correct length (#226)
  • Fix limit_offset_sql to handle cases when there is no OFFSET (#235)

mssql-django 1.2 Release Notes (December 2022)

Added:

  • Timezone support (To use will need to do some manual migrations. See the wiki page on timezone support) (#140, #160)
  • Fixed inserting into tables with triggers fails (#158, #161)
  • Returning rows after bulk insert is off by default and can be enabled by setting return_rows_bulk_insert in the OPTIONS dictionary to True (#161)
  • Add capability to convert to and from AutoField and BigAutoField (#128)
  • Added hashing function support (#152)
  • Add xor bit shift support (#172)
  • Add support for left and right arithmetic bit shift (#182)
  • Add jsonfield support for sql managed instance (#198)
  • Add support for sql server 2022 (#202)
  • Add support for Django 4.1 (#208)

Fixed:

  • Fix #137: handle legacy unique together constraint (#138)
  • Fix random order by issue (#142)
  • Fix altering unique, nullable field to non-nullable error (#163)
  • Fix date_trunc_sql() to work with < 4-digit year (#188)

mssql-django 1.1.3 Release Notes (April 2022)

Added:

  • Add possibility for token authentication (#102)
  • Returning ids/rows after bulk insert (#107)
  • Unit test for issues #110 and #90 (#115)

Fixed:

  • Only drop necessary indexes during field rename (#97)
  • KeyTransformExact applied to all databases (#98)
  • Alter nullability for foreign key (#93)
  • Overridden functions not working with other DBs (#105)
  • reset_sequences argument in sql_flush (#112)
  • Add offset clause for all Django versions (#117)
  • Fixed issues related to unique constraints (#106)

mssql-django 1.1.2 Release Notes (January 2022)

Fixed:

  • Duplicated index created when alter foreignkey
  • Migration error when alter fields to JSONField/TextField
  • Migration not detected for non-default schema
  • Unique index lost when renaming M2M field

mssql-django 1.1.1 Release Notes (December 2021)

Fixed:

  • Migration alterfield and indexes issue

Added:

  • setencoding and setdecoding in settings.py

mssql-django 1.1 Release Notes (November 2021)

Added:

  • Core support for Django 4.0
  • ActiveDirectoryMsi authentication
  • inspectdb with --schema flag

Fixed Issues:

  • Azure SQL version/features is now checked correctly
  • Collation conflict when creating temp table
  • Fixed unicode constraint name error
  • bulk_update set fields to null
  • Index name error for user-defined schema
  • bulk batch size exceeding parameters limit
  • Migration Alter(rename) field