github svg/svgo v2.1.0

latest releases: v3.2.0, v3.1.0, v3.0.5...
3 years ago

This release introduced two big changes

  • we forked sax parser to fix issues inaccessible from public api (https://github.com/svg/sax)
  • we added regression tests which already caught 4 bugs (WIP)

See fixed bugs

  • fixed empty <svg /> with enabled cleanupIDs plugin (9b97e06)
  • fail when file specified in --config flag does not exist or json string is specified (a855b40)
  • disabled convertStyleToAttrs by default (#1365)
  • preserve whitespace in elements containing text (#1220)
  • fixed removing xml:space="preserve" (776ec1e)
  • preserve whitespace in nested textual elements (9de471a)
  • keep empty <g> when filter attribute is specified (c1d5f0f)
  • fixed parsing xml entities (#1371 isaacs/sax-js#200)

Thanks to @XhmikosR @sk- @chromakode @devongovett and @TrySound

Don't miss a new svgo release

NewReleases is sending notifications on new releases.