Releases: adamghill/django-unicorn
Releases · adamghill/django-unicorn
0.35.2
- Fix: Make sure
visible:elements
trigger as expected in more cases.
- Prevent the visibile element from continuing to trigger if the visbility element method returns
False
.
0.35.0
- Trigger an event for a model element from JavaScript
- Visibility event with
unicorn:visible
attribute
Breaking changes
db_model
Python decorator, unicorn:db
, unicorn:field
, unicorn:pk
template attributes are removed.
0.34.0
- Initial prototype for component template lifecycle events
- Fix: elements after a child component would not get initialized (@joshiggins #262)
- Fix: cache would fail in some instances (#258)
0.33.0
- Fix: Allow comments, blank lines, or text at the top of component templates before the root element.
0.32.0
- Add debounce support to actions
0.31.0
- Move JavaScript static assets into
unicorn
sub-folder
- Determine correct path for installed app passed to
startunicorn
management command
- Call
startapp
management command if app is not already installed
0.30.0
- Look in all
INSTALLED_APPS
for components instead of only in a unicorn
app (210)
- Support
settings.APPS_DIR
which is the default for django-cookiecutter
instead of just settings.BASE_DIR
(214)
Breaking changes
- Require an application name when running the
startunicorn
management command for where the component should be created
0.29.0
- Sanitize initial JSON to prevent XSS
0.28.0
- Re-fire poll method after tab/window comes back into focus after losing visibility (#202 by frbor)
0.27.2
- Fix bug with relationship fields on a Django model