1 | # Change Log
|
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 | <a name="3.0.1"></a>
|
6 | ## [3.0.1](https://github.com/webpack-contrib/file-loader/compare/v3.0.0...v3.0.1) (2018-12-20)
|
7 |
|
8 |
|
9 | ### Bug Fixes
|
10 |
|
11 | * relax options validation for additional properties ([#309](https://github.com/webpack-contrib/file-loader/issues/309)) ([c74d44e](https://github.com/webpack-contrib/file-loader/commit/c74d44e))
|
12 |
|
13 |
|
14 |
|
15 | <a name="3.0.0"></a>
|
16 | # [3.0.0](https://github.com/webpack-contrib/file-loader/compare/v2.0.0...v3.0.0) (2018-12-20)
|
17 |
|
18 |
|
19 | ### Code Refactoring
|
20 |
|
21 | * drop support for webpack < 4 ([#303](https://github.com/webpack-contrib/file-loader/issues/303)) ([203a4ee](https://github.com/webpack-contrib/file-loader/commit/203a4ee))
|
22 | * more validations in `options` schema
|
23 |
|
24 |
|
25 | ### Features
|
26 |
|
27 | * `resourcePath` is now available in `outputPath` and `publicPath` ([#304](https://github.com/webpack-contrib/file-loader/issues/304)) ([0d66e64](https://github.com/webpack-contrib/file-loader/commit/0d66e64))
|
28 | * `context` is now available in `outputPath` and `publicPath` ([#305](https://github.com/webpack-contrib/file-loader/issues/305)) ([d5eb823](https://github.com/webpack-contrib/file-loader/commit/d5eb823))
|
29 |
|
30 |
|
31 | ### BREAKING CHANGES
|
32 |
|
33 | * removed the `useRelativePath` option. It is dangerously and break url when you use multiple entry points.
|
34 | * drop support for webpack < 4
|
35 |
|
36 |
|
37 |
|
38 | <a name="2.0.0"></a>
|
39 | # [2.0.0](https://github.com/webpack-contrib/file-loader/compare/v1.1.11...v2.0.0) (2018-08-21)
|
40 |
|
41 |
|
42 | ### Code Refactoring
|
43 |
|
44 | * **defaults:** update to latest webpack-defaults ([#268](https://github.com/webpack-contrib/file-loader/issues/268)) ([687f422](https://github.com/webpack-contrib/file-loader/commit/687f422))
|
45 |
|
46 |
|
47 | ### BREAKING CHANGES
|
48 |
|
49 | * **defaults:** Enforces `engines` of `"node": ">=6.9.0 < 7.0.0 || >= 8.9.0"`
|
50 |
|
51 |
|
52 |
|
53 | <a name="1.1.11"></a>
|
54 | ## [1.1.11](https://github.com/webpack/file-loader/compare/v1.1.10...v1.1.11) (2018-03-01)
|
55 |
|
56 |
|
57 | ### Reverts
|
58 |
|
59 | * **index:** `context` takes precedence over `issuer.context` (`options.useRelativePath`) ([#260](https://github.com/webpack/file-loader/issues/260)) ([e73131f](https://github.com/webpack/file-loader/commit/e73131f))
|
60 |
|
61 |
|
62 |
|
63 | <a name="1.1.10"></a>
|
64 | ## [1.1.10](https://github.com/webpack/file-loader/compare/v1.1.9...v1.1.10) (2018-02-26)
|
65 |
|
66 |
|
67 | ### Bug Fixes
|
68 |
|
69 | * **package:** add `webpack >= 4` (`peerDependencies`) ([#255](https://github.com/webpack/file-loader/issues/255)) ([3a6a7a1](https://github.com/webpack/file-loader/commit/3a6a7a1))
|
70 |
|
71 |
|
72 |
|
73 | <a name="1.1.9"></a>
|
74 | ## [1.1.9](https://github.com/webpack/file-loader/compare/v1.1.8...v1.1.9) (2018-02-21)
|
75 |
|
76 |
|
77 | ### Bug Fixes
|
78 |
|
79 | * **index:** handle protocol URL's correctly (`options.publicPath`) ([#253](https://github.com/webpack/file-loader/issues/253)) ([54fa5a3](https://github.com/webpack/file-loader/commit/54fa5a3))
|
80 | * **index:** use `path.posix` for platform consistency ([#254](https://github.com/webpack/file-loader/issues/254)) ([2afe0af](https://github.com/webpack/file-loader/commit/2afe0af))
|
81 |
|
82 |
|
83 |
|
84 | <a name="1.1.8"></a>
|
85 | ## [1.1.8](https://github.com/webpack/file-loader/compare/v1.1.7...v1.1.8) (2018-02-20)
|
86 |
|
87 |
|
88 | ### Bug Fixes
|
89 |
|
90 | * **index:** `context` takes precedence over `issuer.context` (`options.useRelativePath`) ([3b071f5](https://github.com/webpack/file-loader/commit/3b071f5))
|
91 | * **index:** don't append `outputPath` to the original `url` (`options.outputPath` `{Function}`) ([4c1ccaa](https://github.com/webpack/file-loader/commit/4c1ccaa))
|
92 | * **index:** normalize and concat paths via `path.join()` ([26e47ca](https://github.com/webpack/file-loader/commit/26e47ca))
|
93 |
|
94 |
|
95 |
|
96 | <a name="1.1.7"></a>
|
97 | ## [1.1.7](https://github.com/webpack/file-loader/compare/v1.1.6...v1.1.7) (2018-02-19)
|
98 |
|
99 |
|
100 | ### Bug Fixes
|
101 |
|
102 | * **index:** don't concat `options.outputPath` and `options.publicPath` ([#246](https://github.com/webpack/file-loader/issues/246)) ([98bf052](https://github.com/webpack/file-loader/commit/98bf052))
|
103 |
|
104 |
|
105 |
|
106 | <a name="1.1.6"></a>
|
107 | ## [1.1.6](https://github.com/webpack/file-loader/compare/v1.1.5...v1.1.6) (2017-12-16)
|
108 |
|
109 |
|
110 | ### Bug Fixes
|
111 |
|
112 | * rootContext compatibility fix for legacy / v4 (#237) ([1e4b7cf](https://github.com/webpack/file-loader/commit/1e4b7cf)), closes [#237](https://github.com/webpack/file-loader/issues/237)
|
113 |
|
114 |
|
115 |
|
116 | <a name="1.1.5"></a>
|
117 | ## [1.1.5](https://github.com/webpack/file-loader/compare/v1.1.4...v1.1.5) (2017-10-05)
|
118 |
|
119 |
|
120 | ### Bug Fixes
|
121 |
|
122 | * **schema:** allow `name` to be a `{Function}` (`options.name`) ([#216](https://github.com/webpack/file-loader/issues/216)) ([fbfb160](https://github.com/webpack/file-loader/commit/fbfb160))
|
123 |
|
124 |
|
125 |
|
126 | <a name="1.1.4"></a>
|
127 | ## [1.1.4](https://github.com/webpack/file-loader/compare/v1.1.3...v1.1.4) (2017-09-30)
|
128 |
|
129 |
|
130 | ### Bug Fixes
|
131 |
|
132 | * **index:** revert to CJS exports ([#212](https://github.com/webpack/file-loader/issues/212)) ([f412b3e](https://github.com/webpack/file-loader/commit/f412b3e))
|
133 |
|
134 |
|
135 |
|
136 | <a name="1.1.3"></a>
|
137 | ## [1.1.3](https://github.com/webpack/file-loader/compare/v1.1.2...v1.1.3) (2017-09-30)
|
138 |
|
139 |
|
140 |
|
141 | <a name="1.1.2"></a>
|
142 | ## [1.1.2](https://github.com/webpack/file-loader/compare/v1.1.1...v1.1.2) (2017-09-30)
|
143 |
|
144 |
|
145 | ### Bug Fixes
|
146 |
|
147 | * **cjs:** export `raw` value ([#183](https://github.com/webpack/file-loader/issues/183)) ([daeff0e](https://github.com/webpack/file-loader/commit/daeff0e))
|
148 |
|
149 |
|
150 |
|
151 | <a name="1.1.1"></a>
|
152 | ## [1.1.1](https://github.com/webpack/file-loader/compare/v1.1.0...v1.1.1) (2017-09-30)
|
153 |
|
154 |
|
155 | ### Bug Fixes
|
156 |
|
157 | * **schema:** allow `additionalProperties` ([#207](https://github.com/webpack/file-loader/issues/207)) ([cf7c85a](https://github.com/webpack/file-loader/commit/cf7c85a))
|
158 |
|
159 |
|
160 |
|
161 | <a name="1.1.0"></a>
|
162 | # [1.1.0](https://github.com/webpack/file-loader/compare/v1.0.0...v1.1.0) (2017-09-29)
|
163 |
|
164 |
|
165 | ### Features
|
166 |
|
167 | * add `options` validation (`schema-utils`) ([#184](https://github.com/webpack/file-loader/issues/184)) ([696ca77](https://github.com/webpack/file-loader/commit/696ca77))
|
168 |
|
169 |
|
170 |
|
171 | <a name="1.0.0"></a>
|
172 | # [1.0.0](https://github.com/webpack/file-loader/compare/v1.0.0-rc.0...v1.0.0) (2017-07-26)
|
173 |
|
174 |
|
175 | ### Bug Fixes
|
176 |
|
177 | * remove `=` from default export (`SyntaxError`) ([#178](https://github.com/webpack/file-loader/issues/178)) ([3fe2d12](https://github.com/webpack/file-loader/commit/3fe2d12))
|
178 |
|
179 |
|
180 | ### Code Refactoring
|
181 |
|
182 | * Upgrade to defaults 1.3.0 ([#170](https://github.com/webpack-contrib/file-loader/pull/170)) ([632ed72](https://github.com/webpack/file-loader/commit/acd6c2f))
|
183 | * Apply webpack-defaults ([#167](https://github.com/webpack/file-loader/issues/167)) ([632ed72](https://github.com/webpack/file-loader/commit/632ed72))
|
184 |
|
185 |
|
186 | ### BREAKING CHANGES
|
187 |
|
188 | * Enforces Webpack standard NodeJS engines range.
|
189 | at the time of merge `>= 4.3 < 5.0.0 || >= 5.10`.
|
190 |
|
191 |
|
192 |
|
193 | <a name="1.0.0-rc.0"></a>
|
194 | # [1.0.0-rc.0](https://github.com/webpack/file-loader/compare/v1.0.0-beta.1...v1.0.0-rc.0) (2017-07-26)
|
195 |
|
196 |
|
197 | ### Bug Fixes
|
198 |
|
199 | * remove `=` from default export (`SyntaxError`) ([#178](https://github.com/webpack/file-loader/issues/178)) ([3fe2d12](https://github.com/webpack/file-loader/commit/3fe2d12))
|
200 |
|
201 |
|
202 |
|
203 | <a name="1.0.0-beta.1"></a>
|
204 | # [1.0.0-beta.1](https://github.com/webpack/file-loader/compare/v1.0.0-beta.0...v1.0.0-beta.1) (2017-06-09)
|
205 |
|
206 | ### Code Refactoring
|
207 |
|
208 | * Upgrade to defaults 1.3.0 ([#170](https://github.com/webpack-contrib/file-loader/pull/170)) ([632ed72](https://github.com/webpack/file-loader/commit/acd6c2f))
|
209 |
|
210 |
|
211 | <a name="1.0.0-beta.0"></a>
|
212 | # [1.0.0-beta.0](https://github.com/webpack/file-loader/compare/v0.11.2...v1.0.0-beta.0) (2017-06-07)
|
213 |
|
214 |
|
215 | ### Code Refactoring
|
216 |
|
217 | * Apply webpack-defaults ([#167](https://github.com/webpack/file-loader/issues/167)) ([632ed72](https://github.com/webpack/file-loader/commit/632ed72))
|
218 |
|
219 |
|
220 | ### BREAKING CHANGES
|
221 |
|
222 | * Enforces Webpack standard NodeJS engines range.
|
223 | at the time of merge `>= 4.3 < 5.0.0 || >= 5.10`.
|
224 |
|
225 |
|
226 |
|
227 | <a name="0.11.2"></a>
|
228 | ## [0.11.2](https://github.com/webpack/file-loader/compare/v0.11.1...v0.11.2) (2017-06-05)
|
229 |
|
230 |
|
231 | ### Bug Fixes
|
232 |
|
233 | * **index:** allow to override publicPath with an empty string ([#145](https://github.com/webpack/file-loader/issues/145)) ([26ab81a](https://github.com/webpack/file-loader/commit/26ab81a))
|
234 | * init `publicPath` to undefined ([#159](https://github.com/webpack/file-loader/issues/159)) ([e4c0b2a](https://github.com/webpack/file-loader/commit/e4c0b2a))
|
235 |
|
236 |
|
237 |
|
238 | <a name="0.11.1"></a>
|
239 | ## [0.11.1](https://github.com/webpack/file-loader/compare/v0.11.0...v0.11.1) (2017-04-01)
|
240 |
|
241 |
|
242 | ### Bug Fixes
|
243 |
|
244 | * outputPath function overriden by useRelativePath ([#139](https://github.com/webpack/file-loader/issues/139)) ([80cdee2](https://github.com/webpack/file-loader/commit/80cdee2))
|
245 |
|
246 |
|
247 |
|
248 | <a name="0.11.0"></a>
|
249 | # [0.11.0](https://github.com/webpack/file-loader/compare/v0.10.1...v0.11.0) (2017-03-31)
|
250 |
|
251 |
|
252 | ### Features
|
253 |
|
254 | * Emit files with relative urls ([#135](https://github.com/webpack/file-loader/issues/135)) ([dbcd6cc](https://github.com/webpack/file-loader/commit/dbcd6cc))
|
255 |
|
256 |
|
257 |
|
258 | <a name="0.10.1"></a>
|
259 | ## [0.10.1](https://github.com/webpack/file-loader/compare/v0.10.0...v0.10.1) (2017-02-25)
|
260 |
|
261 |
|
262 | ### Bug Fixes
|
263 |
|
264 | * **getOptions:** deprecation warn in loaderUtils ([#129](https://github.com/webpack/file-loader/issues/129)) ([a8358a0](https://github.com/webpack/file-loader/commit/a8358a0))
|
265 |
|
266 |
|
267 |
|
268 | <a name="0.10.0"></a>
|
269 | # [0.10.0](https://github.com/webpack/file-loader/compare/v0.9.0...v0.10.0) (2017-01-28)
|
270 |
|
271 |
|
272 | ### Features
|
273 |
|
274 | * **resources:** specify custom public file name ([6833c70](https://github.com/webpack/file-loader/commit/6833c70))
|
275 |
|
276 |
|
277 |
|
278 | # Change Log
|
279 |
|
280 | 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.
|