UNPKG

1.42 kBMarkdownView Raw
1## 2.0.0 - 2020-07-25
2- Add: `title` prop
3- Fix: `transform-source` to react on property change and not to only transform on initial load
4- **BREAKING**: `transform-source` now doesn't affect resulting SVG's attributes, use attrs on the component instead
5- **BREAKING** Add: `keep-during-loading` prop, `true` by default. It makes vue-inline-svg to preserve old image visible, when new image is being loaded. Pass `false` to disable it and switch to old behaviour.
6
7## 1.3.1 - 2020-05-08
8- Add: `browser` field to package.json. No more extra Webpack configuration is needed by default.
9
10## 1.3.0 - 2020-03-23
11- Fix: `@loaded` event fired to early (it was fired on SVG load, not on component render)
12- Add: pass SVG element as argument to the `@loaded` callback
13
14## 1.2.0 - 2019-11-26
15- Add: `transformSource` prop [#9](https://github.com/shrpne/vue-inline-svg/pull/9)
16
17## 1.1.3 - 2019-09-06
18- Fixed: don't fail on invalid SVG file parse
19- Fixed: update component attrs now correctly launch component rerender
20- Refactor: don't patch innerHTML manually, but use render function's domProps
21- Add: emit `Error` on error
22
23## 1.1.2 - 2019-08-22
24- Fixed: now listeners correctly passes [#4](https://github.com/shrpne/vue-inline-svg/pull/4)
25
26## 1.1.1 - 2019-03-18
27- Fixed: don't use Vue's merge attrs logic
28
29## 1.1.0 - 2019-03-18
30- Added: don't pass attrs with `false` value to `<svg>`
31
32
33## 1.0.0 - 2019-03-17
34- Initial release