Skip to content

Releases: edemaine/svgtiler

v3.4.1

28 Aug 15:01

Choose a tag to compare

  • New --use-defs option wraps <symbol>s etc. in <defs>, which shouldn't be necessary but works around an Inkscape bug with <symbol>s nested inside <symbol>s, which arise e.g. when combining SVG Tiler outputs together with SVG Tiler.

Full Changelog: v3.4.0...v3.4.1

v3.4.0

26 Aug 17:57

Choose a tag to compare

  • External SVG files (loaded via either a mapping to filename.svg or by calling require("filename.svg")) get their ids/hrefs automatically prefixed by a globally unique prefix based on the filename, to avoid id collisions especially between multiple included files.
    • In particular, this makes it easy to use SVG Tiler to combine together other SVG Tiler outputs, such as when drawing gadgets and then gadget assemblies.
    • Thanks to @slef for finding this issue and helping write the fix.
  • SVG Tiler now warns if the output SVG has duplicate ids, which is invalid XML/SVG. This will help with future debugging, such as when manually building ids in mappings.

Full Changelog: v3.3.0...v3.4.0

v3.3.0

10 Jun 10:14

Choose a tag to compare

  • New file type: .psv is Pipe-Separated Values which uses separator |. This separator is both uncommon and looks nice to humans (unlike tabs in .tsv). It also looks like Markdown tables (but keys aren't automatically trimmed of whitespace).
  • New example: Mario crossover gadget
  • Easier debugging of SVG parse errors on the web: detect and display <parseerror>s generated by web platform's XML parser
  • Fix --margin without --uneven (previously added an extra blank row at the end) (#110)
  • Fix path handling on Windows (previously, absolute paths with drive names sometimes got directories such as ./ prepended, which in particular made require buggy)
  • Fix handling of absent boundingBox/overflowBox (probably just occurred on web)
  • Fix documentation (links, Mario palettes)

Full Changelog: v3.2.1...v3.3.0

v3.2.1

24 Jul 16:06

Choose a tag to compare

Full Changelog: v3.2.0...v3.2.1

v3.2.0

24 Jul 16:02

Choose a tag to compare

  • LaTeX <text> alignment (with -t / --tex) improvements:
    • Fix text-align support: previously, the emitted \llap/\rlap was backwards
    • Use \makebox(0,0)[...] instead of \llap/\rlap to enable:
    • Support alignment-baseline, specifically top/text-top for t, middle/central for vertical centering behavior of \makebox, and anything else for b (effectively the default, as before).

Full Changelog: v3.1.8...v3.2.0

v3.1.8

24 Jul 14:17

Choose a tag to compare

  • Support non-.xls* files (such as .ods files) which lack sheet metadata, but warn that such files don't support "hidden sheet" detection. (#108)

Full Changelog: v3.1.7...v3.1.8

v3.1.7

16 Apr 01:09

Choose a tag to compare

  • Fix bug with global defs not getting assigned the correct id when re-used

Full Changelog: v3.1.6...v3.1.7

v3.1.6

08 Sep 19:21

Choose a tag to compare

  • The Witness definitions are now much more extensive, thanks to the corresponding paper, with several more examples
  • API documentation fleshed out more, in particular relating to DOM methods
  • Fix handling of spaces in JSX (#107)
  • Upgrade babel, glob, preact, stylus, xmldom dependencies

Full Changelog: v3.1.5...v3.1.6

v3.1.5

30 Aug 17:05

Choose a tag to compare

  • Update dependencies, in particular removing some (unlikely) security issues
  • Examples improvements
    • Mario tileset now includes items and allows for firebars made of multiple fires. Example of Mario clause gadget.
    • Fix tests of unevenLengths

Full Changelog: v3.1.4...v3.1.5

v3.1.4

28 Jan 20:28

Choose a tag to compare

  • Fix re-use of global svgtiler.defs in multiple drawings

Full Changelog: v3.1.3...v3.1.4