All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
- Option to execute jobs in a batch serially, rather than concurrently
Bit of a flub with dist-tags, skipped version
- If no HTML is returned from the render function then Hypernova will reject the Promise.
- Number of CPUs is now configurable.
- Host is configurable.
- You may now return a Promise from the top-level render function.
-
toScript
function signature changed. It now expects an object of data attributes to value.// before toScript('foo', 'bar', { hello: 'world' }) // now toScript({ foo: 'bar' }, { hello: 'world' })
-
fromScript
function signature changed.// before fromScript('foo', 'bar') // now fromScript({ foo: 'bar' })
- Exceptions that are not Errors are no longer wrapped in an Error so the stack trace does not include the Hypernova callsite.
- Passing in
context
intogetComponent
which contains things like theprops
that the component will receive.
- Documentation fixes.
- Allows non-errors to be rejected from Promises in getComponent.
- Sets worker count to 1 when cpu count is 1.
- Makes the endpoint configurable.
- Exports worker functions so you can customize your own worker.
Initial Release