Change Log
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
5.1.1 (2020-12-05)
5.1.0 (2020-12-05)
Features
 
5.0.0 (2020-05-11)
Bug Fixes
 
 
 - pass proper context param to runtime generator (c084ec7), closes #186
BREAKING CHANGES
 
 
 - Possible breaks third-party runtime generators. Earlier contextparam was containing path to compilation root context, e.g. folder where webpack compilation occurs. This is wrong behaviour, because meaning of this param is a folder where svg image is located. So it was changed in this commit.
 If your custom runtime generator breaks after this update useloaderContext.rootContextoption instead ofcontext.
4.3.0 (2020-05-03)
Features
 
 
 - outputPath: add possibility to define output path (2c7eceb)
4.2.7 (2020-04-28)
Bug Fixes
 
 
 - move mask&clipPathelements outside symbol (ae70786), closes #325
4.2.6 (2020-04-26)
Bug Fixes
 
 
 - drop webpack version detector (7131578)
4.2.5 (2020-04-12)
Bug Fixes
 
 
 - refers to transpiled code in svg-baker-runtime (65ece05), closes #385
4.2.4 (2020-04-12)
Bug Fixes
 
 
 - don't create additional chunk for sprite (80ebfa3), closes #364
4.2.3 (2020-04-08)
Bug Fixes
 
 
 - check properly when window.angular properly (1c76824)
4.2.2 (2020-04-02)
Bug Fixes
 
 
 - add aria-hidden attribute to sprite node for proper accessibility behaviour (bb08665), closes #315
4.2.1 (2020-01-31)
Bug Fixes
 
 
 - drop npm-shrinkwrap.json due to it causes installation of old dependencies when npm is used (7439e61), closes #378 #379
4.2.0 (2020-01-24)
Bug Fixes
 
Features
 
 
 - add clipPath & mask to "move-from-symbol-to-root" transform defaults (02d0c33), closes #288 #325
4.1.6 (2019-04-27)
Bug Fixes
 
 
 - incorrect items order after sorting (ded8146)
4.1.5 (2019-04-27)
Bug Fixes
 
 
 - replace all instances of urls in attribute (d6fdf94), closes #300
4.1.4 (2019-04-27)
Bug Fixes
 
 
 - incorrect detection webpack version, closes #309
- Fix the bug of publicPath, closes #311
- configuration make possible to use oneOfin loader rules
- configuration: make default config work with yarn PnP (dc931e2)
- runtime-generator: fix module not found errors for custom spriteModule or symbolModule (44bbcfe)
4.1.3 (2018-10-29)
Bug Fixes
 
 
 - update svg-baker to fix security vulnerability (4408ccd)
4.1.2 (2018-09-28)
Bug Fixes
 
4.1.1 (2018-09-19)
Bug Fixes
 
 
 - interpolate publicPath properly (22f10e6)
4.1.0 (2018-09-19)
Features
 
 
 - add ARIA attrs to whitelist symbol attributes (4bbccab), closes #304
4.0.0 (2018-09-19)
3.9.0 (2018-05-26)
Features
 
 
 - support symbol id interpolator as function (3691d86)
3.8.0 (2018-05-26)
Bug Fixes
 
 
 - error link in pr template (7b6cf30)
Features
 
 
 - support publicPathoption (793a7bf)
- support custom outputPath (80f7520)
3.7.3 (2018-03-19)
Bug Fixes
 
 
 - utils: fix linting errors (f5239a0)
- utils: prevent errors for modules without resources (467daa6)
3.7.2 (2018-03-19)
3.7.1 (2018-03-12)
Bug Fixes
 
 
 - loader: wrong build target (66e98f9)
3.7.0 (2018-03-10)
Features
 
3.6.2 (2017-12-27)
Bug Fixes
 
 
 - plugin: prevent outer symbol ast modifications (0c8c3d0)
3.6.1 (2017-12-25)
Bug Fixes
 
 
 - plugin: don't hide sprite by default (fd629bd)
3.6.0 (2017-12-22)
Features
 
 
 - plugin: add ability to specify sprite attributes in extract mode (a6a5e30)
3.5.4 (2017-12-19)
Bug Fixes
 
 
 - plugin: refer to sprite file properly in plainSprite mode (e4789a4)
3.5.3 (2017-12-19)
Bug Fixes
 
 
 - loader: drop "2 applied rules" warning (e18f7d6)
3.5.2 (2017-12-12)
Bug Fixes
 
 
 - loader: #203 support use in rule.oneOf (cb3d2da)
3.5.1 (2017-12-08)
Bug Fixes
 
 
 - package: drop postinstall script (8a46c78)
3.5.0 (2017-12-08)
Features
 
 
 - loader: add functional type of spriteFilename (297a957)
3.4.1 (2017-10-23)
Bug Fixes
 
 
 - plugin: make sprite file hash more stable (7e9c53e)
3.4.0 (2017-10-19)
Features
 
 
 - better html-webpack-plugin interop in extract mode (8a2d63e)
3.3.1 (2017-10-16)
Bug Fixes
 
 
 - loader: check this.cacheable existence before call it (c1ed50a)
3.3.0 (2017-10-16)
Features
 
 
 - plugin: allow to render external sprite without styles and usages (fcf3939)
3.2.6 (2017-09-28)
Bug Fixes
 
 
 - loader: #187 support rule.oneOf config (75df92e)
- loader: support resourceQuery in extract mode with webpack version above 1 (6652d78)
3.2.5 (2017-08-31)
Bug Fixes
 
 
 - runtime: don't encode "(", ")" and "~" symbols when replacing urls in  references (388ce74)
3.2.4 (2017-08-20)
Bug Fixes
 
 
 - preserve `fill` and `stroke` attrs when transform svg to symbol (d845aa3)
3.2.3 (2017-08-18)
Bug Fixes
 
 
 - deal with deprecation warnings from webpack 3 (d150035)
3.2.2 (2017-08-17)
Bug Fixes
 
 
 - plugin: webpack-manifest-plugin compatibility (d88ac31)
3.2.1 (2017-08-16)
Bug Fixes
 
 
 - runtime: apply styles in dynamically appended symbols in Edge (299bfe2)
3.2.0 (2017-08-16)
Features
 
 
 - runtime: add ability to create sprite from existing DOM node (4056d7b)
3.1.7 (2017-08-15)
Bug Fixes
 
 
 - runtime: store global sprite object in window which allows to mount symbols in one place betwee (13e3d47)
3.1.6 (2017-08-10)
Bug Fixes
 
 
 - loader: interpolate sprite filename properly (b17e5e0)
3.1.5 (2017-08-10)
Bug Fixes
 
 
 - loader: throw an exception if input is not valid SVG (413246e), closes #170
3.1.4 (2017-08-09)
Bug Fixes
 
 
 - loader: quick workaround for breaking changes in webpack@3.5 (modulesprop dropped in ConcatenatedModule) (f15030d)
3.1.3 (2017-08-08)
Bug Fixes
 
 
 - loader: throw proper error message when runtime not found (ef83fac)
3.1.2 (2017-08-05)
Bug Fixes
 
 
 - loader: decode entities in