Skip to content

Releases

v1.5.2

Choose a tag to compare

@LucLor06 LucLor06 released this 02 Apr 05:38

[1.5.2] - 2025-04-01

Fixed

  • Fixed misleading docstring for serializer.hs_serializer and serializer.get_hs_fields

v1.5.1

Choose a tag to compare

@LucLor06 LucLor06 released this 01 Apr 04:37

[1.5.1] - 2025-04-01

Changed

  • wrap kwarg in hs_dump defaults to True

v1.5.0

Choose a tag to compare

@LucLor06 LucLor06 released this 01 Apr 04:31

[1.5.0] - 2025-04-01

Breaking

  • show kwarg renamed to preserve
  • translate kwarg renamed to camelize
  • Using hs_expand will raise an error unless removed or replaced with hs_dump using the flatten kwarg

Changed

  • Core functionality for building hyperscript has been turned into its own library hyperscript-dump

Deprecated

  • hs_expand is now deprecated. Use the flatten kwarg in hs_dump instead.

v1.4.1

Choose a tag to compare

@LucLor06 LucLor06 released this 01 Apr 02:34

Added CHANGELOG.md

v1.4.0

Choose a tag to compare

@LucLor06 LucLor06 released this 31 Mar 21:46

Added basic model and queryset serialization through hs_serialize. Uses non-editable fields defined on a model by default, or can be explicitly set by setting hs_fields as a model attr, a list of field names as strings.

v1.3.0

Choose a tag to compare

@LucLor06 LucLor06 released this 28 Mar 08:30

Added class kwarg to specify HTML classes to be placed on the wrapper div. Set to "hs-wrapper" by default.

v1.2.0

Choose a tag to compare

@LucLor06 LucLor06 released this 27 Mar 06:49

Added event kwarg for specifying an event that fires assignment logic

v1.1.0

Choose a tag to compare

@LucLor06 LucLor06 released this 27 Mar 05:30

Added debug kwarg for debugging assignments by logging variable name and value to console

v1.0.3

Choose a tag to compare

@LucLor06 LucLor06 released this 27 Mar 01:40
fbd4cc4

Fixed f-string formatting in error handling in hyperscript.py that caused parser errors

Django Hyperscript v1.0.2

Choose a tag to compare

@LucLor06 LucLor06 released this 19 Nov 18:34

Fix icon sizing in README and use url as source instead of path