Skip to content

Releases: adamghill/django-unicorn

0.14.0

01 Jan 15:36
Compare
Choose a tag to compare

0.13.0

21 Dec 04:35
Compare
Choose a tag to compare
  • Component key to allow disambiguation of components of the same name
  • $returnValue special argument
  • Get the last action method's return value

0.12.0

21 Dec 04:34
Compare
Choose a tag to compare
  • Redirect from action method in component

0.11.2

13 Dec 22:38
Compare
Choose a tag to compare
  • Fix encoding issue with default component template on Windows (#91)
  • Fix circular import when creating the component (#92)

0.11.0

13 Dec 22:37
Compare
Choose a tag to compare
  • $model special argument and decorator.
  • $toggle special method.
  • Support nested properties when using the set shortcut.
  • Fix action string arguments that would get spaces removed inadvertently.

Breaking changes:

All existing special methods now start with a $ to signify they are magical. Therefore, refresh is now $refresh, reset is now $reset, and validate is now $validate.

0.10.1

05 Dec 04:55
Compare
Choose a tag to compare
  • Use LRU cache for constructed components to prevent ever-expanding memory.
  • Loosen beautifulsoup4 version requirement.
  • Fix bug to handle floats so that they don't lose precision when serialized to JSON.
  • Fix bug to handle related models (ForeignKeys, OneToOne, etc) fields in Django models.

0.10.0

28 Nov 20:54
Compare
Choose a tag to compare
  • Add support for passing kwargs into component
  • Provide access to the current request in the component's methods

0.9.4

25 Nov 01:50
Compare
Choose a tag to compare
  • Fix: Prevent Django CharField form field from stripping whitespaces when used for validation.
  • Fix: Handle edge case that would generate a null exception.
  • Fix: Only change loading state when an action method gets called, not on every event fire.

0.9.2

23 Nov 00:52
Compare
Choose a tag to compare
  • Handle events on internal elements

0.9.1

22 Nov 20:59
Compare
Choose a tag to compare
  • Fix: certain actions weren't triggering model values to get set correctly