Skip to content

Releases: damianstasik/vue-svg-loader

v0.17.0-beta.2

13 Sep 19:58
Compare
Choose a tag to compare
v0.17.0-beta.2 Pre-release
Pre-release
  • Updated non-direct dependencies
  • Fixed issue with missing SVGO
  • Moved docs dependencies out to a separate package.json
  • Reduced memory footprint by importing specific function from semver package

v0.17.0-beta.0

23 Aug 14:27
Compare
Choose a tag to compare
v0.17.0-beta.0 Pre-release
Pre-release

Long time no see! It's been a while since the last release and the issue list has gotten quite long, it's time to fix this! I've been focused on my SVG-to-Vue plugin for Vite (vite-plugin-svg) and now that we are close to a stable release of Vue 3 I wanted to clean up this plugin too. I plan to continue supporting Vue 2, but you should see Vue 3 support in the following days.

You don't need to use babel-loader with this plugin, but you need to add vue-loader before vue-svg-loader. Please check out the documentation on the dev branch to see the configuration examples.

This move saves us from many headaches: broken IE 11, issues with event listeners, custom handling of class and style bindings and a few more caused by some of my decisions.

v0.16.0

10 Feb 09:21
Compare
Choose a tag to compare

Nothing new, just package updates for both svg-to-vue and vue-svg-loader to keep everything up-to-date.

v0.11.0

11 Oct 20:56
Compare
Choose a tag to compare
  • Moved the logic to a separate package: svg-to-vue, so that it can also be used by rollup-plugin-vue-svg.
  • Generated components:
    • use ESM export format to take advantage of webpack's dead-code detection,
    • are now set as functional.
  • Updated non-direct dependencies.

v0.10.0

17 Sep 20:28
Compare
Choose a tag to compare
  • Added option to disable SVGO (set svgo to false)
  • Refactored loader code
  • Updated packages:
    • svgo to v1.1.1
    • vuepress to v0.14.4
    • vue-tabs-component to v1.5.0
    • ... and a lot non-direct dependencies

v0.9.0

05 Sep 20:38
57a9848
Compare
Choose a tag to compare
  • Added class/style merging behavior for functional SVG components

v0.8.0

21 Aug 17:08
Compare
Choose a tag to compare

v0.7.0

21 Aug 04:50
Compare
Choose a tag to compare
  • Upgrade vuepress and vue-template-compiler

v0.6.0

21 Aug 04:41
Compare
Choose a tag to compare
  • Removed the toString from the SVG component definition

v0.5.0

30 Jan 23:20
04dabc6
Compare
Choose a tag to compare
  • Upgraded svgo to v1.0.4 (#13, #16)
  • Removed useless svgo config
  • Refactored compiler code - render function is not using with statement anymore (#18)
  • Changed how imported SVG file path can be retrieved, which helped simplify code a bit (#14)
import TestIcon from 'icons/test.svg';

// This will display an absolute path to the icon above
console.log(TestIcon.toString());