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 | ## [12.6.0](https://github.com/webpack-contrib/sass-loader/compare/v12.5.0...v12.6.0) (2022-02-15)
|
6 |
|
7 |
|
8 | ### Features
|
9 |
|
10 | * added support for automatic loading of `sass-embedded` ([#1025](https://github.com/webpack-contrib/sass-loader/issues/1025)) ([c8dae87](https://github.com/webpack-contrib/sass-loader/commit/c8dae87f0c90b13303096e0d3aec857c4046c36b))
|
11 |
|
12 | ## [12.5.0](https://github.com/webpack-contrib/sass-loader/compare/v12.4.0...v12.5.0) (2022-02-14)
|
13 |
|
14 |
|
15 | ### Features
|
16 |
|
17 | * added support for `sass-embedded` (faster than `node-sass`), feel free to [feedback](https://github.com/webpack-contrib/sass-loader/issues/774)
|
18 | * added the `api` option (`modern` api is experimental and currently doesn't support built-in webpack resolver) ([afbe114](https://github.com/webpack-contrib/sass-loader/commit/afbe114fecf54fa99ef635aea5ae1d3db6a119c1))
|
19 |
|
20 | ## [12.4.0](https://github.com/webpack-contrib/sass-loader/compare/v12.3.0...v12.4.0) (2021-12-07)
|
21 |
|
22 |
|
23 | ### Features
|
24 |
|
25 | * add support for node-sass 7 ([#1002](https://github.com/webpack-contrib/sass-loader/issues/1002)) ([be5cbc9](https://github.com/webpack-contrib/sass-loader/commit/be5cbc9b5f851422bcead329d4bfb0c9dab5eb18))
|
26 |
|
27 | ## [12.3.0](https://github.com/webpack-contrib/sass-loader/compare/v12.2.0...v12.3.0) (2021-10-27)
|
28 |
|
29 |
|
30 | ### Features
|
31 |
|
32 | * added the `warnRuleAsWarning` option, allows to emit a warning on the `@warn` rule ([#992](https://github.com/webpack-contrib/sass-loader/issues/992)) ([c652c79](https://github.com/webpack-contrib/sass-loader/commit/c652c79b67999546d0e65f237a947b3e1b454691))
|
33 | * use webpack logger to log sass messages (only for `dart-sass`), configure it using [infrastructureLogging](https://webpack.js.org/configuration/other-options/#infrastructurelogging) ([#991](https://github.com/webpack-contrib/sass-loader/issues/991)) ([bb7cef9](https://github.com/webpack-contrib/sass-loader/commit/bb7cef97d5d9ba26dc2db2e1948a2a04b26f4031))
|
34 |
|
35 | ## [12.2.0](https://github.com/webpack-contrib/sass-loader/compare/v12.1.0...v12.2.0) (2021-10-12)
|
36 |
|
37 |
|
38 | ### Features
|
39 |
|
40 | * add link field in schema ([#976](https://github.com/webpack-contrib/sass-loader/issues/976)) ([1b453fb](https://github.com/webpack-contrib/sass-loader/commit/1b453fb4926ab27616f3c38104033fafe37633ab))
|
41 |
|
42 | ## [12.1.0](https://github.com/webpack-contrib/sass-loader/compare/v12.0.0...v12.1.0) (2021-06-10)
|
43 |
|
44 |
|
45 | ### Features
|
46 |
|
47 | * allow `String` value for the `implementation` option ([382a3ca](https://github.com/webpack-contrib/sass-loader/commit/382a3ca7ca8b7041712de30ce5ad8e6532944c1b))
|
48 |
|
49 | ## [12.0.0](https://github.com/webpack-contrib/sass-loader/compare/v11.1.1...v12.0.0) (2021-06-01)
|
50 |
|
51 |
|
52 | ### ⚠ BREAKING CHANGES
|
53 |
|
54 | * minimum supported `Node.js` version is `12.13.0`
|
55 |
|
56 | ### Bug Fixes
|
57 |
|
58 | * crash in custom importers with worker threads ([#958](https://github.com/webpack-contrib/sass-loader/issues/958)) ([67aa139](https://github.com/webpack-contrib/sass-loader/commit/67aa1391c12013aae70e08f5bbabb94e74b10a6d))
|
59 | * resolving `_index.import.scss`/`index.import.scss` in packages ([#906](https://github.com/webpack-contrib/sass-loader/issues/906)) ([6641a16](https://github.com/webpack-contrib/sass-loader/commit/6641a16d510db653fbdc2bcfc265603c9f6fcd1a))
|
60 |
|
61 | ### [11.1.1](https://github.com/webpack-contrib/sass-loader/compare/v11.1.0...v11.1.1) (2021-05-13)
|
62 |
|
63 |
|
64 | ### Bug Fixes
|
65 |
|
66 | * disabled auto importing `fiber` on node >= 16 due incompatibility problems ([#950](https://github.com/webpack-contrib/sass-loader/issues/950)) ([4ca004b](https://github.com/webpack-contrib/sass-loader/commit/4ca004b9e733bd2261ec68a7db4de07d79cf331a))
|
67 |
|
68 | ## [11.1.0](https://github.com/webpack-contrib/sass-loader/compare/v11.0.1...v11.1.0) (2021-05-10)
|
69 |
|
70 |
|
71 | ### Features
|
72 |
|
73 | * support `node-sass` v6.0.0 ([#947](https://github.com/webpack-contrib/sass-loader/issues/947)) ([7869b29](https://github.com/webpack-contrib/sass-loader/commit/7869b29916d5120037a0e67063420b3333d7f68b))
|
74 |
|
75 | ### [11.0.1](https://github.com/webpack-contrib/sass-loader/compare/v11.0.0...v11.0.1) (2021-02-08)
|
76 |
|
77 |
|
78 | ### Bug Fixes
|
79 |
|
80 | * compatibility with custom importers for `node-sass` ([#927](https://github.com/webpack-contrib/sass-loader/issues/927)) ([af5a072](https://github.com/webpack-contrib/sass-loader/commit/af5a072c5170f96f3d0643dec658248d98f65ff7))
|
81 |
|
82 | ## [11.0.0](https://github.com/webpack-contrib/sass-loader/compare/v10.1.1...v11.0.0) (2021-02-05)
|
83 |
|
84 |
|
85 | ### Notes
|
86 |
|
87 | * using `~` is deprecated and can be removed from your code (**we recommend it**), but we still support it for historical reasons.
|
88 |
|
89 | Why you can removed it?
|
90 | The loader will first try to resolve `@import`/`@use` as relative, if it cannot be resolved, the loader will try to resolve `@import`/`@use` inside [`node_modules`](https://webpack.js.org/configuration/resolve/#resolve-modules).
|
91 | Using `~` means looking for files in [`node_modules`](https://webpack.js.org/configuration/resolve/#resolve-modules) or `resolve.alias` or `resolve.fallback`.
|
92 |
|
93 | ### ⚠ BREAKING CHANGES
|
94 |
|
95 | * minimum supported `webpack` version is `5`
|
96 |
|
97 | ### Features
|
98 |
|
99 | * supported the [`resolve.byDependency`](https://webpack.js.org/configuration/resolve/#resolvebydependency) option, you can setup `{ resolve: { byDependency: { sass: { mainFiles: ['custom', '...'] } } } }`
|
100 |
|
101 | ## [10.2.0](https://github.com/webpack-contrib/sass-loader/compare/v10.1.1...v10.2.0) (2021-05-10)
|
102 |
|
103 |
|
104 | ### Features
|
105 |
|
106 | * support `node-sass` v6 ([dbbbdde](https://github.com/webpack-contrib/sass-loader/commit/dbbbdde8d73b5ebac89fdc3ca7009a644a471c5f))
|
107 |
|
108 | ### [10.1.1](https://github.com/webpack-contrib/sass-loader/compare/v10.1.0...v10.1.1) (2021-01-11)
|
109 |
|
110 |
|
111 | ### Bug Fixes
|
112 |
|
113 | * problem with resolving and the `includePaths` option ([#913](https://github.com/webpack-contrib/sass-loader/issues/913)) ([cadc75e](https://github.com/webpack-contrib/sass-loader/commit/cadc75e80caf7d32ea47de1cbaab639f9204c0eb))
|
114 |
|
115 | ## [10.1.0](https://github.com/webpack-contrib/sass-loader/compare/v10.0.5...v10.1.0) (2020-11-11)
|
116 |
|
117 |
|
118 | ### Features
|
119 |
|
120 | * allow the `additionalData` to be async ([#902](https://github.com/webpack-contrib/sass-loader/issues/902)) ([9d925ff](https://github.com/webpack-contrib/sass-loader/commit/9d925ff794e1e4cb9db253a6867bfa2405ec3428))
|
121 |
|
122 | ### [10.0.5](https://github.com/webpack-contrib/sass-loader/compare/v10.0.4...v10.0.5) (2020-11-02)
|
123 |
|
124 |
|
125 | ### Bug Fixes
|
126 |
|
127 | * support node-sass v5.0.0 ([#899](https://github.com/webpack-contrib/sass-loader/issues/899)) ([c3e279f](https://github.com/webpack-contrib/sass-loader/commit/c3e279fb4668fce4c597a6c8cd1d0f2ff8bc95e5))
|
128 |
|
129 | ### [10.0.4](https://github.com/webpack-contrib/sass-loader/compare/v10.0.3...v10.0.4) (2020-10-22)
|
130 |
|
131 |
|
132 | ### Bug Fixes
|
133 |
|
134 | * compatibility with the filesystem cache ([#896](https://github.com/webpack-contrib/sass-loader/issues/896)) ([e31f9b6](https://github.com/webpack-contrib/sass-loader/commit/e31f9b682f62e957fd2075582c3cf6cf0daf6b52))
|
135 |
|
136 | ### [10.0.3](https://github.com/webpack-contrib/sass-loader/compare/v10.0.2...v10.0.3) (2020-10-09)
|
137 |
|
138 | ### Chore
|
139 |
|
140 | * update `schema-utils`
|
141 |
|
142 | ### [10.0.2](https://github.com/webpack-contrib/sass-loader/compare/v10.0.1...v10.0.2) (2020-09-03)
|
143 |
|
144 |
|
145 | ### Bug Fixes
|
146 |
|
147 | * source maps generation ([#886](https://github.com/webpack-contrib/sass-loader/issues/886)) ([8327d55](https://github.com/webpack-contrib/sass-loader/commit/8327d55df9e8fc6e24d2759d7bd50174ed1ff1e4))
|
148 |
|
149 | ### [10.0.1](https://github.com/webpack-contrib/sass-loader/compare/v10.0.0...v10.0.1) (2020-08-25)
|
150 |
|
151 | ### Chore
|
152 |
|
153 | * update deps
|
154 |
|
155 | ## [10.0.0](https://github.com/webpack-contrib/sass-loader/compare/v10.0.0-rc.0...v10.0.0) (2020-08-24)
|
156 |
|
157 | ### Bug Fixes
|
158 |
|
159 | * handle absolute windows path in source maps
|
160 |
|
161 | ## [10.0.0-rc.0](https://github.com/webpack-contrib/sass-loader/compare/v9.0.3...v10.0.0-rc.0) (2020-08-24)
|
162 |
|
163 |
|
164 | ### ⚠ BREAKING CHANGES
|
165 |
|
166 | * loader generates absolute `sources` in source maps, also avoids modifying `sass` source maps if the `sourceMap` option is `false`
|
167 |
|
168 | ### [9.0.3](https://github.com/webpack-contrib/sass-loader/compare/v9.0.2...v9.0.3) (2020-08-05)
|
169 |
|
170 |
|
171 | ### Bug Fixes
|
172 |
|
173 | * resolution algorithm ([#875](https://github.com/webpack-contrib/sass-loader/issues/875)) ([ea73cfa](https://github.com/webpack-contrib/sass-loader/commit/ea73cfab047c751e1055d0c2ec58ef503f7dbe36))
|
174 |
|
175 | ### [9.0.2](https://github.com/webpack-contrib/sass-loader/compare/v9.0.1...v9.0.2) (2020-07-07)
|
176 |
|
177 |
|
178 | ### Bug Fixes
|
179 |
|
180 | * resolution algorithm for `node-sass` ([#866](https://github.com/webpack-contrib/sass-loader/issues/866)) ([4584c90](https://github.com/webpack-contrib/sass-loader/commit/4584c9054befbc56661e2781a55df96fb9f94673))
|
181 |
|
182 | ### [9.0.1](https://github.com/webpack-contrib/sass-loader/compare/v9.0.0...v9.0.1) (2020-07-03)
|
183 |
|
184 |
|
185 | ### Bug Fixes
|
186 |
|
187 | * do not crash on errors ([#860](https://github.com/webpack-contrib/sass-loader/issues/860)) ([e854933](https://github.com/webpack-contrib/sass-loader/commit/e8549330f8d9373ff8baccffbfd3e0c3b6f3ef61))
|
188 |
|
189 | ## [9.0.0](https://github.com/webpack-contrib/sass-loader/compare/v8.0.2...v9.0.0) (2020-07-02)
|
190 |
|
191 |
|
192 | ### ⚠ BREAKING CHANGES
|
193 |
|
194 | * minimum supported Nodejs version is `10.13`
|
195 | * prefer `sass` (`dart-sass`) by default, it is strongly recommended to migrate on `sass` (`dart-sass`)
|
196 | * the `prependData` option was removed in favor the `additionalData` option, see [docs](https://github.com/webpack-contrib/sass-loader#additionaldata)
|
197 | * when the `sourceMap` is `true`, `sassOptions.sourceMap`, `sassOptions.sourceMapContents`, `sassOptions.sourceMapEmbed`, `sassOptions.sourceMapRoot` and `sassOptions.omitSourceMapUrl` will be ignored.
|
198 |
|
199 | ### Features
|
200 |
|
201 | * pass the loader context to custom importers under the `this.webpackLoaderContext` property ([#853](https://github.com/webpack-contrib/sass-loader/issues/853)) ([d487683](https://github.com/webpack-contrib/sass-loader/commit/d487683221fcd1e5a173e083b4b40644751c8cb1))
|
202 | * supports for `process.cwd()` resolution logic by default ([#837](https://github.com/webpack-contrib/sass-loader/issues/837)) ([0c8d3b3](https://github.com/webpack-contrib/sass-loader/commit/0c8d3b3fb1cf371779b4a886cfc4e60facf68759))
|
203 | * supports for `SASS-PATH` env variable resolution logic by default ([#836](https://github.com/webpack-contrib/sass-loader/issues/836)) ([8376179](https://github.com/webpack-contrib/sass-loader/commit/83761798380dcccc5a2badde3b3affe2bac385e8))
|
204 | * supports for the `sass` property for the `exports` field from `package.json` (conditional exports, for more information read [docs](https://nodejs.org/api/esm.html))
|
205 |
|
206 | ### Bug Fixes
|
207 |
|
208 | * avoid different content on different os ([#832](https://github.com/webpack-contrib/sass-loader/issues/832)) ([68dd278](https://github.com/webpack-contrib/sass-loader/commit/68dd27883ce0536adc5bc170816242c67fb118ff))
|
209 | * resolution logic when the `includePaths` option used was improved ([#827](https://github.com/webpack-contrib/sass-loader/issues/827)) ([cbe5ad4](https://github.com/webpack-contrib/sass-loader/commit/cbe5ad407582a617be097d3eadd3ad8619e52507))
|
210 | * resolution logic for `file://` scheme was improved ([17832fd](https://github.com/webpack-contrib/sass-loader/commit/17832fdb11f91593f4e2995003d67aebefb3be90))
|
211 | * resolution logic for absolute paths and server relative URLs was improved
|
212 | * source maps generation was improved
|
213 |
|
214 | ### [8.0.2](https://github.com/webpack-contrib/sass-loader/compare/v8.0.1...v8.0.2) (2020-01-13)
|
215 |
|
216 |
|
217 | ### Bug Fixes
|
218 |
|
219 | * compatibility with node@8 ([#798](https://github.com/webpack-contrib/sass-loader/issues/798)) ([6f3852f](https://github.com/webpack-contrib/sass-loader/commit/6f3852f7d393dd0bc8f8d264d81ecc941bc72511))
|
220 |
|
221 | ### [8.0.1](https://github.com/webpack-contrib/sass-loader/compare/v8.0.0...v8.0.1) (2020-01-10)
|
222 |
|
223 |
|
224 | ### Bug Fixes
|
225 |
|
226 | * support webpack@5 ([#794](https://github.com/webpack-contrib/sass-loader/issues/794)) ([6c59e37](https://github.com/webpack-contrib/sass-loader/commit/6c59e37e3f67668d7a3908444ddfc0176bc5601f))
|
227 |
|
228 | ## [8.0.0](https://github.com/webpack-contrib/sass-loader/compare/v7.3.1...v8.0.0) (2019-08-29)
|
229 |
|
230 |
|
231 | ### ⚠ BREAKING CHANGES
|
232 |
|
233 | * minimum required `webpack` version is `4.36.0`
|
234 | * minimum required `node.js` version is `8.9.0`
|
235 | * move all sass (`includePaths`, `importer`, `functions`, `outputStyle`) options to the `sassOptions` option. The `functions` option can't be used as `Function`, you should use `sassOption` as `Function` to achieve this.
|
236 | * the `data` option was renamed to the `prependData` option
|
237 | * default value of the `sourceMap` option depends on the `devtool` value (`eval`/`false` values don't enable source map generation)
|
238 |
|
239 |
|
240 | ### Features
|
241 |
|
242 | * automatically use the `fibers` package if it is possible ([#744](https://github.com/webpack-contrib/sass-loader/issues/744)) ([96184e1](https://github.com/webpack-contrib/sass-loader/commit/96184e1))
|
243 | * source map generation depends on the `devtool` option ([#743](https://github.com/webpack-contrib/sass-loader/issues/743)) ([fcea88e](https://github.com/webpack-contrib/sass-loader/commit/fcea88e))
|
244 | * validate loader options ([#737](https://github.com/webpack-contrib/sass-loader/issues/737)) ([7b543fc](https://github.com/webpack-contrib/sass-loader/commit/7b543fc))
|
245 | * reworked error handling from `node-sass`/`sass`
|
246 | * improve resolution for `@import` (including support `_index` and `index` files in a directory)
|
247 |
|
248 | ### Bug Fixes
|
249 |
|
250 | * compatibility with `pnp`
|
251 |
|
252 |
|
253 | ### [7.3.1](https://github.com/webpack-contrib/sass-loader/compare/v7.3.0...v7.3.1) (2019-08-20)
|
254 |
|
255 |
|
256 | ### Bug Fixes
|
257 |
|
258 | * minimum `node` version in `package.json` ([#733](https://github.com/webpack-contrib/sass-loader/issues/733)) ([1175920](https://github.com/webpack-contrib/sass-loader/commit/1175920))
|
259 |
|
260 | ## [7.3.0](https://github.com/webpack-contrib/sass-loader/compare/v7.2.0...v7.3.0) (2019-08-20)
|
261 |
|
262 |
|
263 | ### Bug Fixes
|
264 |
|
265 | * handle module import ending `/` as module ([#728](https://github.com/webpack-contrib/sass-loader/issues/728)) ([997a255](https://github.com/webpack-contrib/sass-loader/commit/997a255))
|
266 | * resolution algorithm ([#720](https://github.com/webpack-contrib/sass-loader/issues/720)) ([0e94940](https://github.com/webpack-contrib/sass-loader/commit/0e94940))
|
267 | * use "compressed" output when mode is "production" ([#723](https://github.com/webpack-contrib/sass-loader/issues/723)) ([b2af379](https://github.com/webpack-contrib/sass-loader/commit/b2af379))
|
268 |
|
269 |
|
270 | ### Features
|
271 |
|
272 | * `webpackImporter` option ([#732](https://github.com/webpack-contrib/sass-loader/issues/732)) ([6f4ea37](https://github.com/webpack-contrib/sass-loader/commit/6f4ea37))
|
273 |
|
274 | <a name="7.2.0"></a>
|
275 | # [7.2.0](https://github.com/webpack-contrib/sass-loader/compare/v7.1.0...v7.2.0) (2019-08-08)
|
276 |
|
277 |
|
278 | ### Bug Fixes
|
279 |
|
280 | * better handle stdin in sources ([#681](https://github.com/webpack-contrib/sass-loader/issues/681)) ([e279f2a](https://github.com/webpack-contrib/sass-loader/commit/e279f2a))
|
281 | * prefer `sass`/`scss`/`css` extensions ([#711](https://github.com/webpack-contrib/sass-loader/issues/711)) ([6fc9d4e](https://github.com/webpack-contrib/sass-loader/commit/6fc9d4e))
|
282 | * relax node engine ([#708](https://github.com/webpack-contrib/sass-loader/issues/708)) ([2a51502](https://github.com/webpack-contrib/sass-loader/commit/2a51502))
|
283 |
|
284 |
|
285 | ### Features
|
286 |
|
287 | * allow passing `functions` option as function ([#651](https://github.com/webpack-contrib/sass-loader/issues/651)) ([6c9654d](https://github.com/webpack-contrib/sass-loader/commit/6c9654d))
|
288 | * support `data` as `Function` ([#648](https://github.com/webpack-contrib/sass-loader/issues/648)) ([aa64e1b](https://github.com/webpack-contrib/sass-loader/commit/aa64e1b))
|
289 | * support `sass` and `style` fields in `package.json` ([#647](https://github.com/webpack-contrib/sass-loader/issues/647)) ([a8709c9](https://github.com/webpack-contrib/sass-loader/commit/a8709c9))
|
290 | * support auto resolving `dart-sass` ([ff90dd6](https://github.com/webpack-contrib/sass-loader/commit/ff90dd6))
|
291 |
|
292 |
|
293 |
|
294 | <a name="7.1.0"></a>
|
295 | # [7.1.0](https://github.com/webpack-contrib/sass-loader/compare/v7.0.3...v7.1.0) (2018-08-01)
|
296 |
|
297 |
|
298 | ### Features
|
299 |
|
300 | * Make this package implementation-agnostic (#573) ([bed9fb5](https://github.com/webpack-contrib/sass-loader/commit/bed9fb5)), closes [#435](https://github.com/webpack-contrib/sass-loader/issues/435)
|
301 |
|
302 |
|
303 |
|
304 | <a name="7.0.3"></a>
|
305 | ## [7.0.3](https://github.com/webpack-contrib/sass-loader/compare/v7.0.2...v7.0.3) (2018-06-05)
|
306 |
|
307 |
|
308 | ### Bug Fixes
|
309 |
|
310 | * Bare imports not working sometimes (#579) ([c348281](https://github.com/webpack-contrib/sass-loader/commit/c348281)), closes [#566](https://github.com/webpack-contrib/sass-loader/issues/566)
|
311 |
|
312 |
|
313 |
|
314 | <a name="7.0.2"></a>
|
315 | ## [7.0.2](https://github.com/webpack-contrib/sass-loader/compare/v7.0.1...v7.0.2) (2018-06-02)
|
316 |
|
317 |
|
318 | ### Bug Fixes
|
319 |
|
320 | * Errors being swallowed when trying to load node-sass (#576) ([6dfb274](https://github.com/webpack-contrib/sass-loader/commit/6dfb274)), closes [#563](https://github.com/webpack-contrib/sass-loader/issues/563)
|
321 | * Report error to user for problems loading node-sass (#562) ([2529c07](https://github.com/webpack-contrib/sass-loader/commit/2529c07))
|
322 |
|
323 |
|
324 |
|
325 | <a name="7.0.1"></a>
|
326 | ## [7.0.1](https://github.com/webpack-contrib/sass-loader/compare/v7.0.0...v7.0.1) (2018-04-13)
|
327 |
|
328 |
|
329 | ### Bug Fixes
|
330 |
|
331 | * Wrong import precedence (#557) ([f4eeff1](https://github.com/webpack-contrib/sass-loader/commit/f4eeff1))
|
332 |
|
333 |
|
334 |
|
335 | <a name="7.0.0"></a>
|
336 | # [7.0.0](https://github.com/webpack-contrib/sass-loader/compare/v6.0.7...v7.0.0) (2018-04-13)
|
337 |
|
338 |
|
339 | ### Features
|
340 |
|
341 | * Refactor resolving and simplify webpack config aliases (#479) ([e0fde1a](https://github.com/webpack-contrib/sass-loader/commit/e0fde1a))
|
342 | * Remove `node-sass` from `peerDependencies` (#533) ([6439cef](https://github.com/webpack-contrib/sass-loader/commit/6439cef))
|
343 |
|
344 |
|
345 | ### BREAKING CHANGES
|
346 |
|
347 | * Drop official node 4 support
|
348 | * This slightly changes the resolving algorithm. Should not break in normal usage, but might break in complex configurations.
|
349 | * The sass-loader throws an error at runtime now and refuses to compile if the peer dependency is wrong. This could break applications where npm's peer dependency warning was just ignored.
|
350 |
|
351 |
|
352 |
|
353 | <a name="6.0.7"></a>
|
354 | ## [6.0.7](https://github.com/webpack-contrib/sass-loader/compare/v6.0.6...v6.0.7) (2018-03-03)
|
355 |
|
356 |
|
357 | ### Bug Fixes
|
358 |
|
359 | * **package:** add `webpack >= v4.0.0` (`peerDependencies`) ([#541](https://github.com/webpack-contrib/sass-loader/issues/541)) ([620bdd4](https://github.com/webpack-contrib/sass-loader/commit/620bdd4))
|
360 |
|
361 |
|
362 | ### Performance Improvements
|
363 |
|
364 | * use `neo-async` instead `async` ([#538](https://github.com/webpack-contrib/sass-loader/issues/538)) ([fab89dc](https://github.com/webpack-contrib/sass-loader/commit/fab89dc))
|
365 |
|
366 |
|
367 |
|
368 | <a name="6.0.6"></a>
|
369 | ## [6.0.6](https://github.com/webpack-contrib/sass-loader/compare/v6.0.5...v6.0.6) (2017-06-14)
|
370 |
|
371 | ### Chore
|
372 |
|
373 | * Adds Webpack 3.x version range to peerDependencies
|
374 |
|
375 |
|
376 | <a name="6.0.5"></a>
|
377 | # [6.0.5](https://github.com/webpack-contrib/sass-loader/compare/v6.0.5...v6.0.4) (2017-05-10)
|
378 |
|
379 | ### Bug Fixes
|
380 |
|
381 | * importing file directly from scoped npm package [#450](https://github.com/webpack-contrib/sass-loader/pull/450) ([5d06e9d](https://github.com/webpack-contrib/sass-loader/commit/5d06e9d))
|
382 |
|
383 |
|
384 | <a name="6.0.4"></a>
|
385 | # [6.0.4](https://github.com/webpack-contrib/sass-loader/compare/v6.0.4...v6.0.3) (2017-05-09)
|
386 |
|
387 | ### Bug Fixes
|
388 |
|
389 | * fix: Resolving of scoped npm packages [#447](https://github.com/webpack-contrib/sass-loader/pull/447)
|
390 |
|
391 |
|
392 | <a name="6.0.3"></a>
|
393 | # [6.0.3](https://github.com/webpack-contrib/sass-loader/compare/v6.0.3...v6.0.2) (2017-03-07)
|
394 |
|
395 | ### Bug Fixes
|
396 |
|
397 | * Fix regression with empty files [#398](https://github.com/webpack-contrib/sass-loader/pull/398)
|
398 |
|
399 |
|
400 | ### Chore
|
401 |
|
402 | * Reduce npm package size by using the [files](https://docs.npmjs.com/files/package.json#files) property in the `package.json`
|
403 |
|
404 |
|
405 | <a name="6.0.2"></a>
|
406 | # [6.0.2](https://github.com/webpack-contrib/sass-loader/compare/v6.0.2...v6.0.1) (2017-02-21)
|
407 |
|
408 | ### Chore
|
409 |
|
410 | * Update dependencies [#383](https://github.com/webpack-contrib/sass-loader/pull/383)
|
411 |
|
412 |
|
413 | <a name="6.0.1"></a>
|
414 | # [6.0.1](https://github.com/webpack-contrib/sass-loader/compare/v6.0.1...v6.0.0) (2017-02-17)
|
415 |
|
416 | ### Bug Fixes
|
417 |
|
418 | * Fix source maps in certain CWDs. [#377](https://github.com/webpack-contrib/sass-loader/pull/377)
|
419 |
|
420 |
|
421 | <a name="6.0.0"></a>
|
422 | # [6.0.0](https://github.com/webpack-contrib/sass-loader/compare/v6.0.0...v5.0.1) (2017-02-13)
|
423 |
|
424 | ### Bug Fixes
|
425 |
|
426 | * Improve source map support. [#374](https://github.com/webpack-contrib/sass-loader/issues/374)
|
427 |
|
428 |
|
429 | ### BREAKING CHANGES
|
430 |
|
431 | * This is breaking for the resolve-url-loader
|
432 |
|
433 |
|
434 | <a name="5.0.1"></a>
|
435 | # [5.0.1](https://github.com/webpack-contrib/sass-loader/compare/v5.0.1...v5.0.0) (2017-02-13)
|
436 |
|
437 | ### Bug Fixes
|
438 |
|
439 | * Fix bug where multiple compilations interfered with each other. [#369](https://github.com/webpack-contrib/sass-loader/pull/369)
|
440 |
|
441 |
|
442 | <a name="5.0.0"></a>
|
443 | # [5.0.0](https://github.com/webpack-contrib/sass-loader/compare/v5.0.0...v4.1.1) (2017-02-13)
|
444 |
|
445 | ### Code Refactoring
|
446 |
|
447 | * Remove synchronous compilation support [#334](https://github.com/webpack-contrib/sass-loader/pull/334)
|
448 |
|
449 |
|
450 | ### BREAKING CHANGES
|
451 |
|
452 | * Remove node 0.12 support. [29b30755021a834e622bf4b5bb9db4d6e5913905](https://github.com/webpack-contrib/sass-loader/commit/29b30755021a834e622bf4b5bb9db4d6e5913905)
|
453 | * Remove official node-sass@3 and webpack@1 support. [5a6bcb96d8bd7a7a11c33252ba739ffe09ca38c5](https://github.com/webpack-contrib/sass-loader/commit/5a6bcb96d8bd7a7a11c33252ba739ffe09ca38c5)
|
454 | * Remove synchronous compilation support. [#334](https://github.com/webpack-contrib/sass-loader/pull/334)
|
455 |
|
456 |
|
457 | <a name="4.1.1"></a>
|
458 | # [4.1.1](https://github.com/webpack-contrib/sass-loader/compare/v4.1.1...v4.1.0) (2016-12-21)
|
459 |
|
460 | ### Chore
|
461 |
|
462 | * Update webpack peer dependency to support 2.2.0rc. [#330](https://github.com/webpack-contrib/sass-loader/pull/330)
|
463 |
|
464 |
|
465 | <a name="4.1.0"></a>
|
466 | # [4.1.0](https://github.com/webpack-contrib/sass-loader/compare/v4.1.0...v4.0.2) (2016-12-14)
|
467 |
|
468 | ### Features
|
469 |
|
470 | * Update `node-sass@4.0.0` [#319](https://github.com/webpack-contrib/sass-loader/pull/319)
|
471 |
|
472 |
|
473 | <a name="4.0.2"></a>
|
474 | # [4.0.2](https://github.com/webpack-contrib/sass-loader/compare/v4.0.2...v4.0.1) (2016-07-07)
|
475 |
|
476 | ### Bug Fixes
|
477 |
|
478 | * Fix wrong context in customImporters [#281](https://github.com/webpack-contrib/sass-loader/pull/281)
|
479 |
|
480 |
|
481 | <a name="4.0.1"></a>
|
482 | # [4.0.1](https://github.com/webpack-contrib/sass-loader/compare/v4.0.1...v4.0.0) (2016-07-01)
|
483 |
|
484 | ### Bug Fixes
|
485 |
|
486 | * Fix custom importers receiving `'stdin'` as second argument instead of the actual `resourcePath` [#267](https://github.com/webpack-contrib/sass-loader/pull/267)
|
487 |
|
488 |
|
489 | <a name="4.0.0"></a>
|
490 | # [4.0.0](https://github.com/webpack-contrib/sass-loader/compare/v4.0.0...v3.2.2) (2016-06-27)
|
491 |
|
492 | ### Bug Fixes
|
493 |
|
494 | * Fix incorrect source map paths [#250](https://github.com/webpack-contrib/sass-loader/pull/250)
|
495 |
|
496 |
|
497 | ### BREAKING CHANGES
|
498 |
|
499 | * Release new major version because the previous release was a breaking change in certain scenarios
|
500 | See: https://github.com/webpack-contrib/sass-loader/pull/250#issuecomment-228663059
|
501 |
|
502 |
|
503 | <a name="3.2.2"></a>
|
504 | # [3.2.2](https://github.com/webpack-contrib/sass-loader/compare/v3.2.2...v3.2.1) (2016-06-26)
|
505 |
|
506 | ### Bug Fixes
|
507 |
|
508 | * Fix incorrect source map paths [#250](https://github.com/webpack-contrib/sass-loader/pull/250)
|
509 |
|
510 |
|
511 | <a name="3.2.1"></a>
|
512 | # [3.2.1](https://github.com/webpack-contrib/sass-loader/compare/v3.2.1...v3.2.0) (2016-06-19)
|
513 |
|
514 | ### Bug Fixes
|
515 |
|
516 | * Add `webpack@^2.1.0-beta` as peer dependency [#233](https://github.com/webpack-contrib/sass-loader/pull/233)
|
517 |
|
518 |
|
519 | <a name="3.2.0"></a>
|
520 | # [3.2.0](https://github.com/webpack-contrib/sass-loader/compare/v3.2.0...v3.1.2) (2016-03-12)
|
521 |
|
522 | ### Features
|
523 |
|
524 | * Append file content instead of overwriting when `data`-option is already present [#216](https://github.com/webpack-contrib/sass-loader/pull/216)
|
525 | * Make `indentedSyntax` option a bit smarter [#196](https://github.com/webpack-contrib/sass-loader/pull/196)
|
526 |
|
527 |
|
528 | <a name="3.1.2"></a>
|
529 | # [3.1.2](https://github.com/webpack-contrib/sass-loader/compare/v3.1.2...v3.1.1) (2015-11-22)
|
530 |
|
531 | ### Bug Fixes
|
532 |
|
533 | * Fix loader query not overriding webpack config [#189](https://github.com/webpack-contrib/sass-loader/pull/189)
|
534 | * Update peer-dependencies [#182](https://github.com/webpack-contrib/sass-loader/pull/182)
|
535 | - `node-sass^3.4.2`
|
536 | - `webpack^1.12.6`
|
537 |
|
538 |
|
539 | <a name="3.1.1"></a>
|
540 | # [3.1.1](https://github.com/webpack-contrib/sass-loader/compare/v3.1.1...v3.1.0) (2015-10-26)
|
541 |
|
542 | ### Bug Fixes
|
543 |
|
544 | * Fix missing module `object-assign` [#178](https://github.com/webpack-contrib/sass-loader/issues/178)
|
545 |
|
546 |
|
547 | <a name="3.1.0"></a>
|
548 | # [3.1.0](https://github.com/webpack-contrib/sass-loader/compare/v3.1.0...v3.0.0) (2015-10-25)
|
549 |
|
550 | ### Bug Fixes
|
551 |
|
552 | * Fix a problem where modules with a `.` in their names were not resolved [#167](https://github.com/webpack-contrib/sass-loader/issues/167)
|
553 |
|
554 |
|
555 | ### Features
|
556 |
|
557 | * Add possibility to also define all options in your `webpack.config.js` [#152](https://github.com/webpack-contrib/sass-loader/pull/152) [#170](https://github.com/webpack-contrib/sass-loader/pull/170)
|
558 |
|
559 |
|
560 | <a name="3.0.0"></a>
|
561 | # [3.0.0](https://github.com/webpack-contrib/sass-loader/compare/v3.0.0...v2.0.1) (2015-09-29)
|
562 |
|
563 | ### Bug Fixes
|
564 |
|
565 | * Fix crash when Sass reported an error without `file` [#158](https://github.com/webpack-contrib/sass-loader/pull/158)
|
566 |
|
567 |
|
568 | ### BREAKING CHANGES
|
569 |
|
570 | * Add `node-sass@^3.3.3` and `webpack@^1.12.2` as peer-dependency [#165](https://github.com/webpack-contrib/sass-loader/pull/165) [#166](https://github.com/webpack-contrib/sass-loader/pull/166) [#169](https://github.com/webpack-contrib/sass-loader/pull/169)
|
571 |
|
572 |
|
573 | <a name="2.0.1"></a>
|
574 | # [2.0.1](https://github.com/webpack-contrib/sass-loader/compare/v2.0.1...v2.0.0) (2015-08-14)
|
575 |
|
576 | ### Bug Fixes
|
577 |
|
578 | * Add missing path normalization (fixes [#141](https://github.com/webpack-contrib/sass-loader/pull/141))
|
579 |
|
580 |
|
581 | <a name="2.0.0"></a>
|
582 | # [2.0.0](https://github.com/webpack-contrib/sass-loader/compare/v2.0.0...v1.0.4) (2015-08-06)
|
583 |
|
584 | ### Bug Fixes
|
585 |
|
586 | * Add temporary fix for stuck processes (see [sass/node-sass#857](https://github.com/sass/node-sass/issues/857)) [#100](https://github.com/webpack-contrib/sass-loader/issues/100) [#119](https://github.com/webpack-contrib/sass-loader/issues/119) [#132](https://github.com/webpack-contrib/sass-loader/pull/132)
|
587 | * Fix path resolving on Windows [#108](https://github.com/webpack-contrib/sass-loader/issues/108)
|
588 | * Fix file watchers on Windows [#102](https://github.com/webpack-contrib/sass-loader/issues/102)
|
589 | * Fix file watchers for files with errors [#134](https://github.com/webpack-contrib/sass-loader/pull/134)
|
590 |
|
591 |
|
592 | ### Code Refactoring
|
593 |
|
594 | * Refactor [import resolving algorithm](https://github.com/webpack-contrib/sass-loader/blob/089c52dc9bd02ec67fb5c65c2c226f43710f231c/index.js#L293-L348). ([#138](https://github.com/webpack-contrib/sass-loader/issues/138)) ([c8621a1](https://github.com/webpack-contrib/sass-loader/commit/80944ccf09cd9716a100160c068d255c5d742338))
|
595 |
|
596 |
|
597 | ### BREAKING CHANGES
|
598 |
|
599 | * The new algorithm is aligned to libsass' way of resolving files. This yields to different results if two files with the same path and filename but with different extensions are present. Though this change should be no problem for most users, we must flag it as breaking change. [#135](https://github.com/webpack-contrib/sass-loader/issues/135) [#138](https://github.com/webpack-contrib/sass-loader/issues/138)
|
600 |
|
601 |
|
602 | <a name="1.0.4"></a>
|
603 | # [1.0.4](https://github.com/webpack-contrib/sass-loader/compare/v1.0.4...v1.0.3) (2015-08-03)
|
604 |
|
605 | ### Bug Fixes
|
606 |
|
607 | * Fix wrong source-map urls [#123](https://github.com/webpack-contrib/sass-loader/pull/123)
|
608 | * Include source-map contents by default [#104](https://github.com/webpack-contrib/sass-loader/pull/104)
|
609 |
|
610 |
|
611 | <a name="1.0.3"></a>
|
612 | # [1.0.3](https://github.com/webpack-contrib/sass-loader/compare/v1.0.3...v1.0.2) (2015-07-22)
|
613 |
|
614 | ### Bug Fixes
|
615 |
|
616 | * Fix importing css files from scss/sass [#101](https://github.com/webpack-contrib/sass-loader/issues/101)
|
617 | * Fix importing Sass partials from includePath [#98](https://github.com/webpack-contrib/sass-loader/issues/98) [#110](https://github.com/webpack-contrib/sass-loader/issues/110)
|
618 |
|
619 |
|
620 | <a name="1.0.2"></a>
|
621 | # [1.0.2](https://github.com/webpack-contrib/sass-loader/compare/v1.0.2...v1.0.1) (2015-04-15)
|
622 |
|
623 | ### Bug Fixes
|
624 |
|
625 | * Fix a bug where files could not be imported across language styles [#73](https://github.com/webpack-contrib/sass-loader/issues/73)
|
626 | * Update peer-dependency `node-sass` to `3.1.0`
|
627 |
|
628 |
|
629 | <a name="1.0.1"></a>
|
630 | # [1.0.1](https://github.com/webpack-contrib/sass-loader/compare/v1.0.1...v1.0.0) (2015-03-31)
|
631 |
|
632 | ### Bug Fixes
|
633 |
|
634 | * Fix Sass partials not being resolved anymore [#68](https://github.com/webpack-contrib/sass-loader/issues/68)
|
635 | * Update peer-dependency `node-sass` to `3.0.0-beta.4`
|
636 |
|
637 |
|
638 | <a name="1.0.0"></a>
|
639 | # [1.0.0](https://github.com/webpack-contrib/sass-loader/compare/v1.0.0...v0.3.1) (2015-03-22)
|
640 |
|
641 | ### Bug Fixes
|
642 |
|
643 | * Moved `node-sass^3.0.0-alpha.0` to `peerDependencies` [#28](https://github.com/webpack-contrib/sass-loader/issues/28)
|
644 | * Using webpack's module resolver as custom importer [#39](https://github.com/webpack-contrib/sass-loader/issues/31)
|
645 | * Add synchronous compilation support for usage with [enhanced-require](https://github.com/webpack/enhanced-require) [#39](https://github.com/webpack-contrib/sass-loader/pull/39)
|