Skip to content

Releases: choojs/hyperx

v3.0.0

02 Nov 16:43
Compare
Choose a tag to compare

This release contains some fixes for long-standing parsing issues:

  • support direct descendant css selectors when parsing inline <style> tags. fixes #82
  • handle optional closing tags for self-closing tags. fixes #41
  • handle <style> tags that include attributes. fixes #82

Since these changes all modify parsing behavior it's prudent to bump the major package version.

v2.5.2

14 Feb 08:47
8361482
Compare
Choose a tag to compare

Fix template parts inside comments (#75)

Now you can do:

html`
  <div>
    <!-- ${someElementThatIWantHidden()} -->
    ${someElementThatIWantShown()}
  </div>
`

The someElementThatIWantHidden() call is still evaluated, but hyperx won't output it.

v2.5.1

11 Feb 13:02
2316653
Compare
Choose a tag to compare

undefined or null attributes are no longer added as strings. (@s9k in #57, @JRJurman in #70)

v2.5.0

06 Dec 11:09
6b1edf9
Compare
Choose a tag to compare