Skip to content

Releases: microsoft/mssql-django

1.5

26 Apr 22:59
9f0f562
Compare
Choose a tag to compare

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)

1.4.2

15 Mar 00:04
bca6aab
Compare
Choose a tag to compare

mssql-django 1.4.2 Release Notes (March 2024)

Fixed:

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

1.4.1

12 Mar 21:24
c073328
Compare
Choose a tag to compare

mssql-django 1.4.1 Release Notes (March 2024)

Added:

  • add support for boolean aggregates (#332)
  • Support GeneratedField (#335)
  • Native support for UUID (From Char(32) to uniqueidentifier) (#329)

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)

1.4

15 Jan 22:44
c50a9bb
Compare
Choose a tag to compare
1.4

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)

1.3

01 Jun 22:57
1828598
Compare
Choose a tag to compare
1.3

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)

1.2

08 Dec 23:27
fce7664
Compare
Choose a tag to compare
1.2

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)

1.1.3

27 Apr 23:25
c0476cf
Compare
Choose a tag to compare

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)

1.1.2

31 Jan 23:55
39ee995
Compare
Choose a tag to compare

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

1.1.1

09 Dec 18:31
Compare
Choose a tag to compare

Fixed:

  • Migration alterfield and indexes issue

Added:

  • setencoding and setdecoding in settings.py

1.1

30 Nov 18:28
a88c246
Compare
Choose a tag to compare
1.1

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