github adamghill/django-unicorn 0.58.0

latest release: 0.58.1
10 months ago

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.

Don't miss a new django-unicorn release

NewReleases is sending notifications on new releases.