Skip to content

Releases: edemaine/svgtiler

v1.7.1

03 Jun 16:08
Compare
Choose a tag to compare
  • Add z-index attribute support as alternative to style="z-index:..." (#36)
  • Fix CSV/SSV/etc. parsing (was crashing since v1.6.0 from bug in 826a1c4 code cleanup)
  • Improve maze example
  • Improve documentation
  • Fix root Makefile somewhat (#26)

v1.7.0

31 May 13:22
Compare
Choose a tag to compare

v1.6.2

23 May 20:39
Compare
Choose a tag to compare
  • Add support for __dirname and __filename in .coffee/.js formats
  • Errors in .coffee/.js files are now prefixed with correct filename and line numbers
    • Use sourceURL mapping for .js
    • Correctly rewrite line numbers in .coffee errors
  • Fix bug with numeric entries in xlsx sheets
  • Code cleanup to use fewer static methods

v1.6.1

23 May 12:06
Compare
Choose a tag to compare
  • Better error message when accidentally returning null from symbol function (js/coffee modes)
  • Treat empty returned string (in js/coffee modes) as blank 0-by-0 SVG tile (fixing #30)
  • Bug fix embedding of SVG files with root id property accidentally overwriting actual id of symbol

v1.6.0

20 Dec 17:27
Compare
Choose a tag to compare
  • Ignore hidden sheets in .xlsx files, making it easy to deprecate sheets (#29). You can override this behavior with --hidden
  • Force Unix-style \n newlines for consistent builds across architectures (better Windows support!)
  • Upgrade csv-parse and xlsx NPM packages
  • Much nicer SVG parse errors/warnings (#21).
  • Beginning of exports for module or browser use

v1.5.2

16 Jun 14:13
Compare
Choose a tag to compare
  • Detect invalid -j, --tw, --th arguments (#25)

v1.5.1

25 Feb 20:25
Compare
Choose a tag to compare
  • Inkscape-generated PDF is now automatically sanitized to remove any /CreationDate, unless --no-sanitize command-line option is specified. This is useful for version control: you can regenerate all your figures and generally not get any diffs if nothing changed.

v1.5.0

20 Feb 22:54
Compare
Choose a tag to compare
  • New command-line option -j N or --jobs N runs up to N Inkscape jobs in parallel, similar to make. The default behavior remains running the Inkscape jobs one after the other, but if you want to use your multiple cores/CPUs, you can specify e.g. -j 4 to run up to four Inkscape jobs in parallel. (SVG Tiler occupies another thread, but it's rarely much of a bottleneck, so it doesn't count as a "job" in N.)
  • Along the way, I thoroughly tested and cleaned up error handling when running Inkscape. If Inkscape fails, you should now definitely be told about it, running in both sequential and parallel mode.
  • Update to CoffeeScript 2. So you can use CS2 features in your .coffee code if you want (and if your Node version supports the output; e.g., if you use await, you should have Node 8+).

v1.4.2

11 Feb 18:20
Compare
Choose a tag to compare
  • Fix PDF and PNG generation to workaround an Inkscape bug that causes the ignoring of any symbols that had strange characters (e.g. |) that required percent encoding. The workaround is to replace % encoding to instead use the character $, another allowed (but not specially interpreted) symbol in SVG ids.
  • As a consequence, Tetris examples now have black background as intended (properly interpreting space).

v1.4.1

12 Dec 15:42
Compare
Choose a tag to compare
  • Support PNG export via the -P / --png command-line option. Uses Inkscape like PDF export.