New 2.0 API. Viz is now a class, and has separate render functions that return promises. The code generated by Emscripten is now distributed as separate files, which can be loaded as web workers.
Add yInvert option. (#118)
Fix lite in IE.
Update Emscripten version.
v1.8.1
6 years ago
Add Travis CI configuration for testing and release
Reorganize browser tests
Move API docs to wiki
Update Expat to 2.2.5
Build with Emscripten 1.37.33
Add TypeScript declaration file and tests
v1.8.1-pre.5
6 years ago
Add tests for TypeScript declaration file.
Update TypeScript declaration file.
v1.8.1-pre.4
6 years ago
Add Travis CI configuration for testing and release
Reorganize browser tests
Move API docs to wiki
Update Expat to 2.2.5
Add Typescript support
v1.8.0
6 years ago
Include viz-lite.js in NPM release. (998039a7c6d8e6c422703788bfd83a45a8203cd7, #88)
Use the -Oz optimization option. (0a7096fcb37abaf5b31dac6cc7a55c82244adf07)
Set NO_DYNAMIC_EXECUTION, which removes uses of eval. (e2d9ac6f73e9ab91961ece5e238d4222a90fc709, #75)
Add version numbers for Graphviz, Expat, and Emscripten to the top of builds. (83740b6b39ad50427bc62505d4489f928d2b4e67, 1d87fe40ec65ced18f43923a724acb78fa820136)
Add "browser" property to package.json. (1f12dfeb5fcbf1641d75459720f324c8118d1a41, #83)
Add "files" and "images" options. (4437a03c0135dd0bd13b295798d99d355d1dcaf9, 5e0a451eb0955e417a6155522e8e1a149ae101e6)
v1.7.1
7 years ago
Ensure that non-ASCII characters are handled correctly when using the png-image-element format or the svgXmlToPng functions.
Improve error reporting in svgXmlToPngImageElement.
v1.7.0
7 years ago
Don't allow memory growth. See #74.
Accept the totalMemory option, which sets TOTAL_MEMORY when initializing the Module. See #74.
v1.6.0
7 years ago
Update to Graphviz 2.40.1
v1.5.1
7 years ago
Make sure UTF8ToString is included in EXPORTED_RUNTIME_METHODS and include a test for characters outside of basic ASCII. This addresses #71.
Ensure that we return after invoking the callback with an error in svgXmlToPngImageElement.
v1.5.0
7 years ago
Introduced viz-lite.js, a smaller build that omits Expat and the NEATO layout plugin for a savings of about 700 KB over the regular version. b8370ad6100ad0d5343c3e8729b29ca4806673dd
Changed build settings to ensure that the -Os optimization setting is used for Graphviz and Expat as well as Viz.js. This results in a smaller build for both the regular and lite versions. 416776e1cde5d9d8911029f654579a4aed3c8518
A new Module instance is now created for every call of the Viz JavaScript function. This avoids errors that could occur when freeing memory from the Viz.js C code and when Graphviz would encounter a syntax error. See issues #65 and #59. 2257a4017ed3bdc4bbf635279d9cd066091a425b
Memory growth is now allowed. b1df4a9662188fb1aefb0489ae6f1c4667bec81f
Introduce Viz.svgXmlToPngBase64 and add a callback API for Viz.svgXmlToPngImageElement. 1b317da40c20ed5f406336d38a08613f94eb4863