Skip to content

v0.2.0

Compare
Choose a tag to compare
@edemaine edemaine released this 02 Jun 17:19
· 19 commits to main since this release
  • You can now specify a directory name to automatically convert *.svg within that directory, or specify an arbitrary glob pattern (e.g. figs/**/*.svg).
  • This feature works especially well in combination with watch mode: svgink will automatically detect new matching files in addition to changed existing files. Just be sure to quote globs so that your shell doesn't expand them.
  • API gains convertGlob() for converting directories or globs.
  • API now has events, which includes notifications for all matching input files, all successful conversions, all successful run jobs, and all errors. This is an easy way to consume what happens from convertGlob() and watch().
  • BREAKING CHANGE in API: watch() no longer asynchronously generates results. Instead, you're encouraged to use the event interface.

Full Changelog: v0.1.0...v0.2.0