I'm pleased to announce the 0.0.4 release of hyperscript.
I would like to thank Deniz Akşimşek and Ben Pate for their assistance in getting this major release out the door by providing code, discussion and moral support. Thank you guys!
This release involved a massive refactor of the hyperscript runtime to fully support async transparancy.
Most commands from the
0.0.3 release are still available, except for the
ajax command, which has been replaced with
the (much different)
ajax command may return as an add-on in a future release.
In addition to the big runtime change, a slew of new features were added:
elsewhere(that is, on an element not in the current element's hierarchy)
deffeature that allows you to define hyperscript functions
workerfeature that allows you to define WebWorkers in hyperscript (!!!)
pluggable grammarfeature that allows you to define new hyperscript commands, features, and leaf & indirect expressions
throwcommands have been added to support hyperscript functions
forcommand has been added to support many different forms of iteration
repeatcommands can now wait for events to occur, allowing for event driven control flow
noexpression that returns true if the left hand side is
is notas aliases for
asyncexpression to prevent the hyperscript runtime from syncing on a Promise returned by an expression