Skip to content

Releases: pelme/htpy

25.4.1

12 Apr 08:52
Compare
Choose a tag to compare

25.4.0

10 Apr 17:20
Compare
Choose a tag to compare

25.3.0

16 Mar 13:37
Compare
Choose a tag to compare

25.2.0

01 Feb 14:07
Compare
Choose a tag to compare
  • Make Context's repr debug friendly PR #96. Thanks to Stein Magnus Jodal (@jodal).
  • Context providers longer require wrapping nodes in a function/lambda. This simplifies context usage while still being backward compatible. Thanks to Thomas Scholtes (@geigerzaehler) for the patch. PR #83.

25.1.0

27 Jan 21:14
Compare
Choose a tag to compare
  • Adjust typing for attributes: Allow Mapping instead of just dict. Thanks to David Svenson (@Majsvaffla) for the initial report+patch. PR #80.

24.12.0

15 Dec 20:23
Compare
Choose a tag to compare
  • Fixed handling of non-generator iterators such as itertools.chain() as children. Thanks to Aleksei Pirogov (@astynax). PR #72.

24.10.1

24 Oct 19:13
Compare
Choose a tag to compare
  • Fix handling of Python keywords such as <del> in html2htpy. PR #61.

24.10.0

24 Oct 19:13
Compare
Choose a tag to compare
  • Implement Element.__html__. This avoids double escaping when passed to markupsafe.escape and Django's django.utils.html.conditional_escape. PR #65.
  • Raise errors directly on invalid children. This avoids cryptic stack traces. PR #56.
  • Raise TypeError rather than ValueError when invalid types are passed as attributes or children. PR #59.

24.9.1

09 Sep 09:42
Compare
Choose a tag to compare
  • Raise errors directly on invalid attributes. This avoids cryptic stack traces for invalid attributes. Issue #49 PR #55.

24.8.2

23 Aug 20:29
Compare
Choose a tag to compare

What's Changed

  • Added support for passing data between components via Context. See the Usage docs for more information. PR #48.
  • Added Django template backend. The Django template backend allows you to integrate htpy components directly with Django. See the docs for more information. PR #37.