@neoziro neoziro released this Nov 4, 2018 · 29 commits to master since this release

Assets 2

Lighter, Better, Faster, Stronger!

⚡️ Twice faster @svgr/webpack (used in create-react-app)
Ids are now automatically prefixed using filename
🔥 All new engine powered by rehype + Babel

Bug Fixes

  • prevent babel read babel.config.js (#206) (514d43d)
  • cli: fix --out-dir usage with absolute path (#208) (c922e2e)

Features

  • svgo: prefix ids by default (06c338d), closes #210
  • v4: new architecture (ac8b8ca)
  • allow dynamic properties in replaceAttrValues option (15f55fe), closes #205

BREAKING CHANGES

  • v4: template option must now returns a Babel AST
  • @svgr/core does not include svgo & prettier by default
  • h2x is replace by @svgr/plugin-jsx