This release could not have been made possible without the generous support of @winrid and @om-proptech. Thank you for sponsoring me and believing in django-unicorn
! It also includes critical improvements to nested components from @imankulov.
- Handle a list of
ValidationError
or just a string instead of requiring a thedict
version. - Better support for type annotations for component fields.
- Improved nested component support by imankulov.
- Add
force_render
and$parent
.
Breaking changes
Child components will not by default render the parent component anymore. If this is required for your child component, specify self.parent.force_render = True
in any action that requires the parent to re-render. This change will reduce network bandwidth and isolates the amount of re-rendering required for nested components.