Skip to content

Releases: adamghill/django-unicorn

0.35.0

09 Sep 21:54
Compare
Choose a tag to compare
  • 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

28 Aug 17:54
Compare
Choose a tag to compare
  • 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

13 Aug 03:08
Compare
Choose a tag to compare
  • Fix: Allow comments, blank lines, or text at the top of component templates before the root element.

0.32.0

13 Aug 02:15
Compare
Choose a tag to compare
  • Add debounce support to actions

0.31.0

12 Jul 01:49
Compare
Choose a tag to compare
  • 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

20 Jun 20:03
Compare
Choose a tag to compare
  • 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

09 Jun 01:45
Compare
Choose a tag to compare
  • Sanitize initial JSON to prevent XSS

0.28.0

29 May 12:37
Compare
Choose a tag to compare
  • Re-fire poll method after tab/window comes back into focus after losing visibility (#202 by frbor)

0.27.2

27 Apr 03:00
Compare
Choose a tag to compare
  • Fix bug with relationship fields on a Django model

0.27.1

27 Apr 02:58
Compare
Choose a tag to compare
  • Fix some issues with many-to-many fields on a Django model