Releases: adamghill/django-unicorn
Releases · adamghill/django-unicorn
0.44.1
- Fix: Some types of type annotations on a component method would cause an error when it was called #392 by nerdoc
- Add
component_id
, component_name
, component_key
to the unicorn
dictionary in the template context #389 by nerdoc
0.44.0
- Add support for raising a
ValidationError
from component methods
0.43.1
- Fix bug where direct views were not caching the component correctly
0.43.0
- Defer displaying
messages
when an action method returns a redirect
- Prevent morphing or other changes when redirecting
0.42.1
- 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
- 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
- Fix: Handle excluding a field's attribute when the field is
None
.
0.41.1
- Fix: Handle component classes with a
bool
class attribute and a form_class
with a BooleanField
. Reported by zurtri
0.41.0
- Support using a context variable for a component name. #314 by robwa
0.40.0
- 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]