Skip to content

Releases: mdaines/viz-js

v1.8.1-pre.5

07 Mar 13:25
Compare
Choose a tag to compare
v1.8.1-pre.5 Pre-release
Pre-release
  • Add tests for TypeScript declaration file.
  • Update TypeScript declaration file.

v1.8.1-pre.4

26 Feb 16:39
Compare
Choose a tag to compare
v1.8.1-pre.4 Pre-release
Pre-release
  • 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

20 May 13:52
Compare
Choose a tag to compare
  • Include viz-lite.js in NPM release. (998039a, #88)
  • Use the -Oz optimization option. (0a7096f)
  • Set NO_DYNAMIC_EXECUTION, which removes uses of eval. (e2d9ac6, #75)
  • Add version numbers for Graphviz, Expat, and Emscripten to the top of builds. (83740b6, 1d87fe4)
  • Add "browser" property to package.json. (1f12dfe, #83)
  • Add "files" and "images" options. (4437a03, 5e0a451)

v1.7.1

03 Mar 21:49
Compare
Choose a tag to compare
  • 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

31 Jan 15:33
Compare
Choose a tag to compare
  • Don't allow memory growth. See #74.
  • Accept the totalMemory option, which sets TOTAL_MEMORY when initializing the Module. See #74.

v1.6.0

26 Jan 15:09
Compare
Choose a tag to compare
  • Update to Graphviz 2.40.1

v1.5.1

17 Jan 13:25
Compare
Choose a tag to compare
  • 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

16 Jan 16:40
Compare
Choose a tag to compare
  • 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. b8370ad
  • 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. 416776e
  • 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. 2257a40
  • Memory growth is now allowed. b1df4a9
  • Introduce Viz.svgXmlToPngBase64 and add a callback API for Viz.svgXmlToPngImageElement. 1b317da

v1.4.1

21 Nov 17:34
Compare
Choose a tag to compare
  • Correct license in package.json.
  • Expand pre.js to include more information about the software distributed as part of Viz.js.

v1.4.0

18 Nov 20:32
Compare
Choose a tag to compare
  • Added "scale" option for use with the "png-image-element" format. Previously, window.devicePixelRatio or 1 would be used for this value, which is still the default if no scale factor is specified.
  • Optional support for the "png-image-element" format in IE 10 and 11. Viz.js will check for Fabric.js, and if present, use its SVG parser. This works around a CORS issue with data URIs in these browsers.
  • Fixes for building with the latest emscripten SDK.
  • More tests, and added support for cross-browser testing with Sauce Labs.
  • Switch to MIT license.