Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
[2.0.0] - 2018-07-26
Changed
- NodeJS.render/2 now returns
{:safe, html}so that calls torawin phoenix are no longer needed - Configuration now takes a keyword list. Old:
node_service_path = "assets/js/server.js"
worker(NodeJS, [node_service_path])
New:
node_service_path = "assets/js/server.js"
supervisor(NodeJS, [node_service_path: node_service_path])
Added
- NodeJS is now a supervisor
pool_sizeoption to control the number of renderers
[1.0.0] - 2018-06-12
Added
- NodeJS.get_html/2
- NodeJS.render/2