Releases: iconfu/svg-inject
Releases · iconfu/svg-inject
Version 1.2.3
Version 1.2.2
- handle root element correctly for ID uniquification
Version 1.2.1
- fixes a bug where cached SVGs are not injected correctly
Version 1.2.0
- major performance improvements for cached SVGs
- added performance testing in /test/test_performance.html - SVGInject is super fast!
- add onAllFinish hook to options
- now a Promise object is returned from the SVGInject() call when all SVGs are injected (similar to onAllFinish)
- handles some edge cases for making ids unique
Version 1.1.2
- Support for SVGs exported from Inkscape and Corel Draw
- Code cleanup
Version 1.1.1
- Handle empty and missing
src
attributes gracefully - Handle: Id not converted if reference is in style attribute
- use DOMParser instead of innerHTML to create SVGs from String
- added Test for malformed SVGs
Version 1.1.0
- add beforeLoad hook as option
- code cleanup
- improved code comments
- change name of option cache to useCache
Version 1.0.5
- change suffix in makeUniqueIds to use a counter instead of a random string
- code optimization/cleanup
- improved code comments
Version 1.0.4
- update distribution files
Version 1.0.3
- fix: Empty SVGs on Internet Explorer
- workaround for IE8 (only) in some cases not displaying images after src attribute gets replaced dynamically