Skip to content

Commit 38bbc5e

Browse files
committed
chore(release): 5.0.0
1 parent c084ec7 commit 38bbc5e

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,22 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
<a name="5.0.0"></a>
6+
# [5.0.0](https://github.com/JetBrains/svg-sprite-loader/compare/v4.3.0...v5.0.0) (2020-05-11)
7+
8+
9+
### Bug Fixes
10+
11+
* pass proper context param to runtime generator ([c084ec7](https://github.com/JetBrains/svg-sprite-loader/commit/c084ec7)), closes [#186](https://github.com/JetBrains/svg-sprite-loader/issues/186)
12+
13+
14+
### BREAKING CHANGES
15+
16+
* Possible breaks third-party runtime generators. Earlier `context` param 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.
17+
If your custom runtime generator breaks after this update use `loaderContext.rootContext` option instead of `context`.
18+
19+
20+
521
<a name="4.3.0"></a>
622
# [4.3.0](https://github.com/JetBrains/svg-sprite-loader/compare/v4.2.7...v4.3.0) (2020-05-03)
723

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "svg-sprite-loader",
3-
"version": "4.3.0",
3+
"version": "5.0.0",
44
"description": "Webpack loader for creating SVG sprites",
55
"keywords": [
66
"svg",

0 commit comments

Comments
 (0)