1.8.3.txt 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. ==========================
  2. Django 1.8.3 release notes
  3. ==========================
  4. *Under development*
  5. Django 1.8.3 fixes several bugs in 1.8.2.
  6. Bugfixes
  7. ========
  8. * Fixed ``BaseRangeField.prepare_value()`` to use each ``base_field``’s
  9. ``prepare_value()`` method (:ticket:`24841`).
  10. * Fixed crash during :djadmin:`makemigrations` if a migrations module either
  11. is missing ``__init__.py`` or is a file (:ticket:`24848`).
  12. * Fixed ``QuerySet.exists()`` returning incorrect results after annotation with
  13. ``Count()`` (:ticket:`24835`).
  14. * Corrected ``HStoreField.has_changed()`` (:ticket:`24844`).
  15. * Reverted an optimization to the CSRF template context processor which caused
  16. a regression (:ticket:`24836`).
  17. * Fixed a regression which caused template context processors to overwrite
  18. variables set on a ``RequestContext`` after it's created (:ticket:`24847`).
  19. * Prevented the loss of ``null``/``not null`` column properties during field
  20. renaming of MySQL databases (:ticket:`24817`).
  21. * Fixed a crash when using a reverse one-to-one relation in
  22. ``ModelAdmin.list_display`` (:ticket:`24851`).
  23. * Fixed quoting of SQL when renaming a field to ``AutoField`` in PostgreSQL
  24. (:ticket:`24892`).
  25. * Fixed lack of unique constraint when changing a field from
  26. ``primary_key=True`` to ``unique=True`` (:ticket:`24893`).
  27. * Fixed queryset pickling when using ``prefetch_related()`` after deleting
  28. objects (:ticket:`24831`).
  29. * Allowed using ``choices`` longer than 1 day with ``DurationField``
  30. (:ticket:`24897`).
  31. * Fixed a crash when loading squashed migrations from two apps with a
  32. dependency between them, where the dependent app's replaced migrations are
  33. partially applied (:ticket:`24895`).
  34. * Fixed recording of applied status for squashed (replacement) migrations
  35. (:ticket:`24628`).
  36. * Fixed queryset annotations when using ``Case`` expressions with ``exclude()``
  37. (:ticket:`24833`).
  38. * Corrected join promotion for multiple ``Case`` expressions. Annotating a
  39. query with multiple ``Case`` expressions could unexpectedly filter out
  40. results (:ticket:`24924`).
  41. * Fixed usage of transforms in subqueries (:ticket:`24744`).
  42. * Fixed ``SimpleTestCase.assertRaisesMessage()`` on Python 2.7.10
  43. (:ticket:`24903`).
  44. * Provided better backwards compatibility for the ``verbosity`` argument in
  45. ``optparse`` management commands by casting it to an integer
  46. (:ticket:`24769`).
  47. * Fixed ``prefetch_related()`` on databases other than PostgreSQL for models
  48. using UUID primary keys (:ticket:`24912`).
  49. * Fixed removing ``unique_together`` constraints on MySQL (:ticket:`24972`).
  50. * Fixed crash when uploading images with MIME types that Pillow doesn't detect,
  51. such as bitmap, in ``forms.ImageField`` (:ticket:`24948`).
  52. * Fixed a regression when deleting a model through the admin that has a
  53. ``GenericRelation`` with a ``related_query_name`` (:ticket:`24940`).