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 | ### [5.0.2](https://github.com/webpack-contrib/file-loader/compare/v5.0.1...v5.0.2) (2019-11-25)
|
6 |
|
7 |
|
8 | ### Chore
|
9 |
|
10 | * add the `funding` field in `package.json`
|
11 |
|
12 |
|
13 |
|
14 | ### [5.0.1](https://github.com/webpack-contrib/file-loader/compare/v5.0.0...v5.0.1) (2019-11-25)
|
15 |
|
16 |
|
17 | ### Bug Fixes
|
18 |
|
19 | * name of `esModule` option in source code ([#346](https://github.com/webpack-contrib/file-loader/issues/346)) ([31d6589](https://github.com/webpack-contrib/file-loader/commit/31d6589b71b471f83908e80380dff9b9eada2d06))
|
20 |
|
21 | ## [5.0.0](https://github.com/webpack-contrib/file-loader/compare/v4.2.0...v5.0.0) (2019-11-22)
|
22 |
|
23 |
|
24 | ### BREAKING CHANGES
|
25 |
|
26 | * minimum required nodejs version is `10.13.0`
|
27 | * rename the `esModules` option to `esModule`
|
28 | * switch to ES modules by default (the option `esModule` is `true` by default)
|
29 |
|
30 |
|
31 |
|
32 | ## [4.3.0](https://github.com/webpack-contrib/file-loader/compare/v4.2.0...v4.3.0) (2019-11-21)
|
33 |
|
34 |
|
35 | ### Features
|
36 |
|
37 | * new `esModules` option to output ES modules ([#340](https://github.com/webpack-contrib/file-loader/issues/340)) ([9b9cd8d](https://github.com/webpack-contrib/file-loader/commit/9b9cd8d22b3dbe4677be9bdd0bf5fbe07815df54))
|
38 |
|
39 | ## [4.2.0](https://github.com/webpack-contrib/file-loader/compare/v4.1.0...v4.2.0) (2019-08-07)
|
40 |
|
41 |
|
42 | ### Features
|
43 |
|
44 | * `postTransformPublicPath` option ([#334](https://github.com/webpack-contrib/file-loader/issues/334)) ([c136f44](https://github.com/webpack-contrib/file-loader/commit/c136f44))
|
45 |
|
46 |
|
47 |
|
48 | ## [4.1.0](https://github.com/webpack-contrib/file-loader/compare/v4.0.0...v4.1.0) (2019-07-18)
|
49 |
|
50 |
|
51 | ### Features
|
52 |
|
53 | * improved validation error messages ([#339](https://github.com/webpack-contrib/file-loader/issues/339)) ([705eed4](https://github.com/webpack-contrib/file-loader/commit/705eed4))
|
54 |
|
55 |
|
56 |
|
57 | ## [4.0.0](https://github.com/webpack-contrib/file-loader/compare/v3.0.1...v4.0.0) (2019-06-05)
|
58 |
|
59 |
|
60 | ### chore
|
61 |
|
62 | * **deps:** update ([#333](https://github.com/webpack-contrib/file-loader/issues/333)) ([0d2f9b8](https://github.com/webpack-contrib/file-loader/commit/0d2f9b8))
|
63 |
|
64 |
|
65 | ### BREAKING CHANGES
|
66 |
|
67 | * **deps:** minimum required nodejs version is `8.9.0`
|
68 |
|
69 |
|
70 |
|
71 | <a name="3.0.1"></a>
|
72 | ## [3.0.1](https://github.com/webpack-contrib/file-loader/compare/v3.0.0...v3.0.1) (2018-12-20)
|
73 |
|
74 |
|
75 | ### Bug Fixes
|
76 |
|
77 | * 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))
|
78 |
|
79 |
|
80 |
|
81 | <a name="3.0.0"></a>
|
82 | # [3.0.0](https://github.com/webpack-contrib/file-loader/compare/v2.0.0...v3.0.0) (2018-12-20)
|
83 |
|
84 |
|
85 | ### Code Refactoring
|
86 |
|
87 | * 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))
|
88 | * more validations in `options` schema
|
89 |
|
90 |
|
91 | ### Features
|
92 |
|
93 | * `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))
|
94 | * `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))
|
95 |
|
96 |
|
97 | ### BREAKING CHANGES
|
98 |
|
99 | * removed the `useRelativePath` option. It is dangerously and break url when you use multiple entry points.
|
100 | * drop support for webpack < 4
|
101 |
|
102 |
|
103 |
|
104 | <a name="2.0.0"></a>
|
105 | # [2.0.0](https://github.com/webpack-contrib/file-loader/compare/v1.1.11...v2.0.0) (2018-08-21)
|
106 |
|
107 |
|
108 | ### Code Refactoring
|
109 |
|
110 | * **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))
|
111 |
|
112 |
|
113 | ### BREAKING CHANGES
|
114 |
|
115 | * **defaults:** Enforces `engines` of `"node": ">=6.9.0 < 7.0.0 || >= 8.9.0"`
|
116 |
|
117 |
|
118 |
|
119 | <a name="1.1.11"></a>
|
120 | ## [1.1.11](https://github.com/webpack/file-loader/compare/v1.1.10...v1.1.11) (2018-03-01)
|
121 |
|
122 |
|
123 | ### Reverts
|
124 |
|
125 | * **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))
|
126 |
|
127 |
|
128 |
|
129 | <a name="1.1.10"></a>
|
130 | ## [1.1.10](https://github.com/webpack/file-loader/compare/v1.1.9...v1.1.10) (2018-02-26)
|
131 |
|
132 |
|
133 | ### Bug Fixes
|
134 |
|
135 | * **package:** add `webpack >= 4` (`peerDependencies`) ([#255](https://github.com/webpack/file-loader/issues/255)) ([3a6a7a1](https://github.com/webpack/file-loader/commit/3a6a7a1))
|
136 |
|
137 |
|
138 |
|
139 | <a name="1.1.9"></a>
|
140 | ## [1.1.9](https://github.com/webpack/file-loader/compare/v1.1.8...v1.1.9) (2018-02-21)
|
141 |
|
142 |
|
143 | ### Bug Fixes
|
144 |
|
145 | * **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))
|
146 | * **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))
|
147 |
|
148 |
|
149 |
|
150 | <a name="1.1.8"></a>
|
151 | ## [1.1.8](https://github.com/webpack/file-loader/compare/v1.1.7...v1.1.8) (2018-02-20)
|
152 |
|
153 |
|
154 | ### Bug Fixes
|
155 |
|
156 | * **index:** `context` takes precedence over `issuer.context` (`options.useRelativePath`) ([3b071f5](https://github.com/webpack/file-loader/commit/3b071f5))
|
157 | * **index:** don't append `outputPath` to the original `url` (`options.outputPath` `{Function}`) ([4c1ccaa](https://github.com/webpack/file-loader/commit/4c1ccaa))
|
158 | * **index:** normalize and concat paths via `path.join()` ([26e47ca](https://github.com/webpack/file-loader/commit/26e47ca))
|
159 |
|
160 |
|
161 |
|
162 | <a name="1.1.7"></a>
|
163 | ## [1.1.7](https://github.com/webpack/file-loader/compare/v1.1.6...v1.1.7) (2018-02-19)
|
164 |
|
165 |
|
166 | ### Bug Fixes
|
167 |
|
168 | * **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))
|
169 |
|
170 |
|
171 |
|
172 | <a name="1.1.6"></a>
|
173 | ## [1.1.6](https://github.com/webpack/file-loader/compare/v1.1.5...v1.1.6) (2017-12-16)
|
174 |
|
175 |
|
176 | ### Bug Fixes
|
177 |
|
178 | * 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)
|
179 |
|
180 |
|
181 |
|
182 | <a name="1.1.5"></a>
|
183 | ## [1.1.5](https://github.com/webpack/file-loader/compare/v1.1.4...v1.1.5) (2017-10-05)
|
184 |
|
185 |
|
186 | ### Bug Fixes
|
187 |
|
188 | * **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))
|
189 |
|
190 |
|
191 |
|
192 | <a name="1.1.4"></a>
|
193 | ## [1.1.4](https://github.com/webpack/file-loader/compare/v1.1.3...v1.1.4) (2017-09-30)
|
194 |
|
195 |
|
196 | ### Bug Fixes
|
197 |
|
198 | * **index:** revert to CJS exports ([#212](https://github.com/webpack/file-loader/issues/212)) ([f412b3e](https://github.com/webpack/file-loader/commit/f412b3e))
|
199 |
|
200 |
|
201 |
|
202 | <a name="1.1.3"></a>
|
203 | ## [1.1.3](https://github.com/webpack/file-loader/compare/v1.1.2...v1.1.3) (2017-09-30)
|
204 |
|
205 |
|
206 |
|
207 | <a name="1.1.2"></a>
|
208 | ## [1.1.2](https://github.com/webpack/file-loader/compare/v1.1.1...v1.1.2) (2017-09-30)
|
209 |
|
210 |
|
211 | ### Bug Fixes
|
212 |
|
213 | * **cjs:** export `raw` value ([#183](https://github.com/webpack/file-loader/issues/183)) ([daeff0e](https://github.com/webpack/file-loader/commit/daeff0e))
|
214 |
|
215 |
|
216 |
|
217 | <a name="1.1.1"></a>
|
218 | ## [1.1.1](https://github.com/webpack/file-loader/compare/v1.1.0...v1.1.1) (2017-09-30)
|
219 |
|
220 |
|
221 | ### Bug Fixes
|
222 |
|
223 | * **schema:** allow `additionalProperties` ([#207](https://github.com/webpack/file-loader/issues/207)) ([cf7c85a](https://github.com/webpack/file-loader/commit/cf7c85a))
|
224 |
|
225 |
|
226 |
|
227 | <a name="1.1.0"></a>
|
228 | # [1.1.0](https://github.com/webpack/file-loader/compare/v1.0.0...v1.1.0) (2017-09-29)
|
229 |
|
230 |
|
231 | ### Features
|
232 |
|
233 | * add `options` validation (`schema-utils`) ([#184](https://github.com/webpack/file-loader/issues/184)) ([696ca77](https://github.com/webpack/file-loader/commit/696ca77))
|
234 |
|
235 |
|
236 |
|
237 | <a name="1.0.0"></a>
|
238 | # [1.0.0](https://github.com/webpack/file-loader/compare/v1.0.0-rc.0...v1.0.0) (2017-07-26)
|
239 |
|
240 |
|
241 | ### Bug Fixes
|
242 |
|
243 | * remove `=` from default export (`SyntaxError`) ([#178](https://github.com/webpack/file-loader/issues/178)) ([3fe2d12](https://github.com/webpack/file-loader/commit/3fe2d12))
|
244 |
|
245 |
|
246 | ### Code Refactoring
|
247 |
|
248 | * 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))
|
249 | * Apply webpack-defaults ([#167](https://github.com/webpack/file-loader/issues/167)) ([632ed72](https://github.com/webpack/file-loader/commit/632ed72))
|
250 |
|
251 |
|
252 | ### BREAKING CHANGES
|
253 |
|
254 | * Enforces Webpack standard NodeJS engines range.
|
255 | at the time of merge `>= 4.3 < 5.0.0 || >= 5.10`.
|
256 |
|
257 |
|
258 |
|
259 | <a name="1.0.0-rc.0"></a>
|
260 | # [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)
|
261 |
|
262 |
|
263 | ### Bug Fixes
|
264 |
|
265 | * remove `=` from default export (`SyntaxError`) ([#178](https://github.com/webpack/file-loader/issues/178)) ([3fe2d12](https://github.com/webpack/file-loader/commit/3fe2d12))
|
266 |
|
267 |
|
268 |
|
269 | <a name="1.0.0-beta.1"></a>
|
270 | # [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)
|
271 |
|
272 | ### Code Refactoring
|
273 |
|
274 | * 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))
|
275 |
|
276 |
|
277 | <a name="1.0.0-beta.0"></a>
|
278 | # [1.0.0-beta.0](https://github.com/webpack/file-loader/compare/v0.11.2...v1.0.0-beta.0) (2017-06-07)
|
279 |
|
280 |
|
281 | ### Code Refactoring
|
282 |
|
283 | * Apply webpack-defaults ([#167](https://github.com/webpack/file-loader/issues/167)) ([632ed72](https://github.com/webpack/file-loader/commit/632ed72))
|
284 |
|
285 |
|
286 | ### BREAKING CHANGES
|
287 |
|
288 | * Enforces Webpack standard NodeJS engines range.
|
289 | at the time of merge `>= 4.3 < 5.0.0 || >= 5.10`.
|
290 |
|
291 |
|
292 |
|
293 | <a name="0.11.2"></a>
|
294 | ## [0.11.2](https://github.com/webpack/file-loader/compare/v0.11.1...v0.11.2) (2017-06-05)
|
295 |
|
296 |
|
297 | ### Bug Fixes
|
298 |
|
299 | * **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))
|
300 | * init `publicPath` to undefined ([#159](https://github.com/webpack/file-loader/issues/159)) ([e4c0b2a](https://github.com/webpack/file-loader/commit/e4c0b2a))
|
301 |
|
302 |
|
303 |
|
304 | <a name="0.11.1"></a>
|
305 | ## [0.11.1](https://github.com/webpack/file-loader/compare/v0.11.0...v0.11.1) (2017-04-01)
|
306 |
|
307 |
|
308 | ### Bug Fixes
|
309 |
|
310 | * outputPath function overriden by useRelativePath ([#139](https://github.com/webpack/file-loader/issues/139)) ([80cdee2](https://github.com/webpack/file-loader/commit/80cdee2))
|
311 |
|
312 |
|
313 |
|
314 | <a name="0.11.0"></a>
|
315 | # [0.11.0](https://github.com/webpack/file-loader/compare/v0.10.1...v0.11.0) (2017-03-31)
|
316 |
|
317 |
|
318 | ### Features
|
319 |
|
320 | * Emit files with relative urls ([#135](https://github.com/webpack/file-loader/issues/135)) ([dbcd6cc](https://github.com/webpack/file-loader/commit/dbcd6cc))
|
321 |
|
322 |
|
323 |
|
324 | <a name="0.10.1"></a>
|
325 | ## [0.10.1](https://github.com/webpack/file-loader/compare/v0.10.0...v0.10.1) (2017-02-25)
|
326 |
|
327 |
|
328 | ### Bug Fixes
|
329 |
|
330 | * **getOptions:** deprecation warn in loaderUtils ([#129](https://github.com/webpack/file-loader/issues/129)) ([a8358a0](https://github.com/webpack/file-loader/commit/a8358a0))
|
331 |
|
332 |
|
333 |
|
334 | <a name="0.10.0"></a>
|
335 | # [0.10.0](https://github.com/webpack/file-loader/compare/v0.9.0...v0.10.0) (2017-01-28)
|
336 |
|
337 |
|
338 | ### Features
|
339 |
|
340 | * **resources:** specify custom public file name ([6833c70](https://github.com/webpack/file-loader/commit/6833c70))
|
341 |
|
342 |
|
343 |
|
344 | # Change Log
|
345 |
|
346 | 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.
|