1 | # Changelog
|
---|
2 |
|
---|
3 | 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.
|
---|
4 |
|
---|
5 | ## [2.0.0](https://github.com/webpack/loader-utils/compare/v1.4.0...v2.0.0) (2020-03-17)
|
---|
6 |
|
---|
7 |
|
---|
8 | ### ⚠ BREAKING CHANGES
|
---|
9 |
|
---|
10 | * minimum required `Node.js` version is `8.9.0` ([#166](https://github.com/webpack/loader-utils/issues/166)) ([c937e8c](https://github.com/webpack/loader-utils/commit/c937e8c77231b42018be616b784a6b45eac86f8a))
|
---|
11 | * the `getOptions` method returns empty object on empty query ([#167](https://github.com/webpack/loader-utils/issues/167)) ([b595cfb](https://github.com/webpack/loader-utils/commit/b595cfba022d3f04f3d310dd570b0253e461605b))
|
---|
12 | * Use `md4` by default
|
---|
13 |
|
---|
14 | <a name="1.4.0"></a>
|
---|
15 | # [1.4.0](https://github.com/webpack/loader-utils/compare/v1.3.0...v1.4.0) (2020-02-19)
|
---|
16 |
|
---|
17 |
|
---|
18 | ### Features
|
---|
19 |
|
---|
20 | * the `resourceQuery` is passed to the `interpolateName` method ([#163](https://github.com/webpack/loader-utils/issues/163)) ([cd0e428](https://github.com/webpack/loader-utils/commit/cd0e428))
|
---|
21 |
|
---|
22 |
|
---|
23 |
|
---|
24 | <a name="1.3.0"></a>
|
---|
25 | # [1.3.0](https://github.com/webpack/loader-utils/compare/v1.2.3...v1.3.0) (2020-02-19)
|
---|
26 |
|
---|
27 |
|
---|
28 | ### Features
|
---|
29 |
|
---|
30 | * support the `[query]` template for the `interpolatedName` method ([#162](https://github.com/webpack/loader-utils/issues/162)) ([469eeba](https://github.com/webpack/loader-utils/commit/469eeba))
|
---|
31 |
|
---|
32 |
|
---|
33 |
|
---|
34 | <a name="1.2.3"></a>
|
---|
35 | ## [1.2.3](https://github.com/webpack/loader-utils/compare/v1.2.2...v1.2.3) (2018-12-27)
|
---|
36 |
|
---|
37 |
|
---|
38 | ### Bug Fixes
|
---|
39 |
|
---|
40 | * **interpolateName:** don't interpolated `hashType` without `hash` or `contenthash` ([#140](https://github.com/webpack/loader-utils/issues/140)) ([3528fd9](https://github.com/webpack/loader-utils/commit/3528fd9))
|
---|
41 |
|
---|
42 |
|
---|
43 |
|
---|
44 | <a name="1.2.2"></a>
|
---|
45 | ## [1.2.2](https://github.com/webpack/loader-utils/compare/v1.2.1...v1.2.2) (2018-12-27)
|
---|
46 |
|
---|
47 |
|
---|
48 | ### Bug Fixes
|
---|
49 |
|
---|
50 | * fixed a hash type extracting in interpolateName ([#137](https://github.com/webpack/loader-utils/issues/137)) ([f8a71f4](https://github.com/webpack/loader-utils/commit/f8a71f4))
|
---|
51 |
|
---|
52 |
|
---|
53 |
|
---|
54 | <a name="1.2.1"></a>
|
---|
55 | ## [1.2.1](https://github.com/webpack/loader-utils/compare/v1.2.0...v1.2.1) (2018-12-25)
|
---|
56 |
|
---|
57 |
|
---|
58 | ### Bug Fixes
|
---|
59 |
|
---|
60 | * **isUrlRequest:** better handle absolute urls and non standards ([#134](https://github.com/webpack/loader-utils/issues/134)) ([aca43da](https://github.com/webpack/loader-utils/commit/aca43da))
|
---|
61 |
|
---|
62 |
|
---|
63 | ### Reverts
|
---|
64 |
|
---|
65 | * PR [#79](https://github.com/webpack/loader-utils/issues/79) ([#135](https://github.com/webpack/loader-utils/issues/135)) ([73d350a](https://github.com/webpack/loader-utils/commit/73d350a))
|
---|
66 |
|
---|
67 |
|
---|
68 |
|
---|
69 | <a name="1.2.0"></a>
|
---|
70 | # [1.2.0](https://github.com/webpack/loader-utils/compare/v1.1.0...v1.2.0) (2018-12-24)
|
---|
71 |
|
---|
72 |
|
---|
73 | ### Features
|
---|
74 |
|
---|
75 | * **interpolateName:** support `[contenthash]`
|
---|
76 |
|
---|
77 | ### Fixes
|
---|
78 |
|
---|
79 | * **urlToRequest:** empty urls are not rewritten to relative requests
|
---|
80 | * **urlToRequest:** don't rewrite absolute urls
|
---|
81 | * **isUrlRequest:** ignore all url with `extension` (like `moz-extension:`, `ms-browser-extension:` and etc)
|
---|
82 | * **isUrlRequest:** ignore `about:blank`
|
---|
83 | * **interpolateName:** failing explicitly when ran out of emoji
|
---|
84 | * **interpolateName:** `[hash]` token regex in interpolate string to capture any hash algorithm name
|
---|
85 | * **interpolateName:** parse string for emoji count before use
|
---|
86 |
|
---|
87 |
|
---|
88 |
|
---|
89 | <a name="1.1.0"></a>
|
---|
90 | # [1.1.0](https://github.com/webpack/loader-utils/compare/v1.0.4...v1.1.0) (2017-03-16)
|
---|
91 |
|
---|
92 |
|
---|
93 | ### Features
|
---|
94 |
|
---|
95 | * **automatic-release:** Generation of automatic release ([7484d13](https://github.com/webpack/loader-utils/commit/7484d13))
|
---|
96 | * **parseQuery:** export parseQuery ([ddf64e4](https://github.com/webpack/loader-utils/commit/ddf64e4))
|
---|