Skip to content

0.58.0

Compare
Choose a tag to compare
@adamghill adamghill released this 24 Dec 02:56
· 131 commits to main since this release

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 the dict 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.