Django-unicorn

Latest version: v0.61.0

Safety actively analyzes 682387 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 14

0.42.0

- Remove all blank spaces from JSON responses.
- Optional support for minifying response HTML with [`htmlmin`](https://pypi.org/project/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](https://github.com/adamghill/django-unicorn/issues/342) by [liamlawless35](https://github.com/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](https://github.com/zurtri)

0.41.0

- Support using a context variable for a component name. [314](https://github.com/adamghill/django-unicorn/pull/314) by [robwa](https://github.com/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/adamghill/django-unicorn/issues/299]

0.39.1

- Prefer `prefetch_related` to reduce database calls for many-to-many fields.

Page 5 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.