Skip to content

Releases: adamghill/django-unicorn

0.44.0

28 Mar 02:09
Compare
Choose a tag to compare
  • Add support for raising a ValidationError from component methods

0.43.1

06 Mar 21:39
Compare
Choose a tag to compare
  • Fix bug where direct views were not caching the component correctly

0.43.0

05 Mar 17:38
Compare
Choose a tag to compare
  • Defer displaying messages when an action method returns a redirect
  • Prevent morphing or other changes when redirecting

0.42.1

10 Feb 03:31
Compare
Choose a tag to compare
  • Fix bug where dictionaries in a component would generate incorrect checksums and trigger a Checksum does not match error
  • Remove some serializations that was happening unnecessarily on every render
  • Add Python 3.10 and Django 4.0 to test matrix

0.42.0

29 Jan 14:20
Compare
Choose a tag to compare
  • Remove all blank spaces from JSON responses.
  • Optional support for minifying response HTML with htmlmin.
  • Log warning message if the component HTML doesn't appear to be well-formed (i.e. an element does not have an ending tag). #342 by liamlawless35

Breaking changes

  • Bump supported Python to >=3.7.

0.41.2

17 Jan 15:16
Compare
Choose a tag to compare
  • Fix: Handle excluding a field's attribute when the field is None.

0.41.1

30 Dec 14:32
Compare
Choose a tag to compare
  • Fix: Handle component classes with a bool class attribute and a form_class with a BooleanField. Reported by zurtri

0.41.0

24 Dec 03:38
Compare
Choose a tag to compare
  • Support using a context variable for a component name. #314 by robwa

0.40.0

18 Dec 22:02
Compare
Choose a tag to compare
  • Add direct view so that components can be added directly to urls without being required to be included in a regular Django template.
  • Add capability for startunicorn to created components in sub-folders (#299)[https://github.com//issues/299]

0.39.1

04 Dec 21:54
Compare
Choose a tag to compare
  • Prefer prefetch_related to reduce database calls for many-to-many fields.