Skip to content

Releases: choojs/hyperx

v3.0.0

Choose a tag to compare

@mreinstein mreinstein released this 02 Nov 16:43

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

Choose a tag to compare

@goto-bus-stop goto-bus-stop released this 14 Feb 08:47
8361482

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

Choose a tag to compare

@goto-bus-stop goto-bus-stop released this 11 Feb 13:02
2316653

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

v2.5.0

Choose a tag to compare

@goto-bus-stop goto-bus-stop released this 06 Dec 11:09
6b1edf9