You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

397 lines
16 KiB

4 years ago
  1. # Changelog
  2. 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.
  3. ### [7.3.1](https://github.com/webpack-contrib/sass-loader/compare/v7.3.0...v7.3.1) (2019-08-20)
  4. ### Bug Fixes
  5. * 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))
  6. ## [7.3.0](https://github.com/webpack-contrib/sass-loader/compare/v7.2.0...v7.3.0) (2019-08-20)
  7. ### Bug Fixes
  8. * 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))
  9. * resolution algorithm ([#720](https://github.com/webpack-contrib/sass-loader/issues/720)) ([0e94940](https://github.com/webpack-contrib/sass-loader/commit/0e94940))
  10. * 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))
  11. ### Features
  12. * `webpackImporter` option ([#732](https://github.com/webpack-contrib/sass-loader/issues/732)) ([6f4ea37](https://github.com/webpack-contrib/sass-loader/commit/6f4ea37))
  13. <a name="7.2.0"></a>
  14. # [7.2.0](https://github.com/webpack-contrib/sass-loader/compare/v7.1.0...v7.2.0) (2019-08-08)
  15. ### Bug Fixes
  16. * 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))
  17. * 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))
  18. * relax node engine ([#708](https://github.com/webpack-contrib/sass-loader/issues/708)) ([2a51502](https://github.com/webpack-contrib/sass-loader/commit/2a51502))
  19. ### Features
  20. * 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))
  21. * support `data` as `Function` ([#648](https://github.com/webpack-contrib/sass-loader/issues/648)) ([aa64e1b](https://github.com/webpack-contrib/sass-loader/commit/aa64e1b))
  22. * 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))
  23. * support auto resolving `dart-sass` ([ff90dd6](https://github.com/webpack-contrib/sass-loader/commit/ff90dd6))
  24. <a name="7.1.0"></a>
  25. # [7.1.0](https://github.com/webpack-contrib/sass-loader/compare/v7.0.3...v7.1.0) (2018-08-01)
  26. ### Features
  27. * 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)
  28. <a name="7.0.3"></a>
  29. ## [7.0.3](https://github.com/webpack-contrib/sass-loader/compare/v7.0.2...v7.0.3) (2018-06-05)
  30. ### Bug Fixes
  31. * 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)
  32. <a name="7.0.2"></a>
  33. ## [7.0.2](https://github.com/webpack-contrib/sass-loader/compare/v7.0.1...v7.0.2) (2018-06-02)
  34. ### Bug Fixes
  35. * 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)
  36. * Report error to user for problems loading node-sass (#562) ([2529c07](https://github.com/webpack-contrib/sass-loader/commit/2529c07))
  37. <a name="7.0.1"></a>
  38. ## [7.0.1](https://github.com/webpack-contrib/sass-loader/compare/v7.0.0...v7.0.1) (2018-04-13)
  39. ### Bug Fixes
  40. * Wrong import precedence (#557) ([f4eeff1](https://github.com/webpack-contrib/sass-loader/commit/f4eeff1))
  41. <a name="7.0.0"></a>
  42. # [7.0.0](https://github.com/webpack-contrib/sass-loader/compare/v6.0.7...v7.0.0) (2018-04-13)
  43. ### Features
  44. * Refactor resolving and simplify webpack config aliases (#479) ([e0fde1a](https://github.com/webpack-contrib/sass-loader/commit/e0fde1a))
  45. * Remove `node-sass` from `peerDependencies` (#533) ([6439cef](https://github.com/webpack-contrib/sass-loader/commit/6439cef))
  46. ### BREAKING CHANGES
  47. * Drop official node 4 support
  48. * This slightly changes the resolving algorithm. Should not break in normal usage, but might break in complex configurations.
  49. * 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.
  50. <a name="6.0.7"></a>
  51. ## [6.0.7](https://github.com/webpack-contrib/sass-loader/compare/v6.0.6...v6.0.7) (2018-03-03)
  52. ### Bug Fixes
  53. * **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))
  54. ### Performance Improvements
  55. * 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))
  56. <a name="6.0.6"></a>
  57. ## [6.0.6](https://github.com/webpack-contrib/sass-loader/compare/v6.0.5...v6.0.6) (2017-06-14)
  58. ### Chore
  59. * Adds Webpack 3.x version range to peerDependencies
  60. <a name="6.0.5"></a>
  61. # [6.0.5](https://github.com/webpack-contrib/sass-loader/compare/v6.0.5...v6.0.4) (2017-05-10)
  62. ### Bug Fixes
  63. * 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))
  64. <a name="6.0.4"></a>
  65. # [6.0.4](https://github.com/webpack-contrib/sass-loader/compare/v6.0.4...v6.0.3) (2017-05-09)
  66. ### Bug Fixes
  67. * fix: Resolving of scoped npm packages [#447](https://github.com/webpack-contrib/sass-loader/pull/447)
  68. <a name="6.0.3"></a>
  69. # [6.0.3](https://github.com/webpack-contrib/sass-loader/compare/v6.0.3...v6.0.2) (2017-03-07)
  70. ### Bug Fixes
  71. * Fix regression with empty files [#398](https://github.com/webpack-contrib/sass-loader/pull/398)
  72. ### Chore
  73. * Reduce npm package size by using the [files](https://docs.npmjs.com/files/package.json#files) property in the `package.json`
  74. <a name="6.0.2"></a>
  75. # [6.0.2](https://github.com/webpack-contrib/sass-loader/compare/v6.0.2...v6.0.1) (2017-02-21)
  76. ### Chore
  77. * Update dependencies [#383](https://github.com/webpack-contrib/sass-loader/pull/383)
  78. <a name="6.0.1"></a>
  79. # [6.0.1](https://github.com/webpack-contrib/sass-loader/compare/v6.0.1...v6.0.0) (2017-02-17)
  80. ### Bug Fixes
  81. * Fix source maps in certain CWDs. [#377](https://github.com/webpack-contrib/sass-loader/pull/377)
  82. <a name="6.0.0"></a>
  83. # [6.0.0](https://github.com/webpack-contrib/sass-loader/compare/v6.0.0...v5.0.1) (2017-02-13)
  84. ### Bug Fixes
  85. * Improve source map support. [#374](https://github.com/webpack-contrib/sass-loader/issues/374)
  86. ### BREAKING CHANGES
  87. * This is breaking for the resolve-url-loader
  88. <a name="5.0.1"></a>
  89. # [5.0.1](https://github.com/webpack-contrib/sass-loader/compare/v5.0.1...v5.0.0) (2017-02-13)
  90. ### Bug Fixes
  91. * Fix bug where multiple compilations interfered with each other. [#369](https://github.com/webpack-contrib/sass-loader/pull/369)
  92. <a name="5.0.0"></a>
  93. # [5.0.0](https://github.com/webpack-contrib/sass-loader/compare/v5.0.0...v4.1.1) (2017-02-13)
  94. ### Code Refactoring
  95. * Remove synchronous compilation support [#334](https://github.com/webpack-contrib/sass-loader/pull/334)
  96. ### BREAKING CHANGES
  97. * Remove node 0.12 support. [29b30755021a834e622bf4b5bb9db4d6e5913905](https://github.com/webpack-contrib/sass-loader/commit/29b30755021a834e622bf4b5bb9db4d6e5913905)
  98. * Remove official node-sass@3 and webpack@1 support. [5a6bcb96d8bd7a7a11c33252ba739ffe09ca38c5](https://github.com/webpack-contrib/sass-loader/commit/5a6bcb96d8bd7a7a11c33252ba739ffe09ca38c5)
  99. * Remove synchronous compilation support. [#334](https://github.com/webpack-contrib/sass-loader/pull/334)
  100. <a name="4.1.1"></a>
  101. # [4.1.1](https://github.com/webpack-contrib/sass-loader/compare/v4.1.1...v4.1.0) (2016-12-21)
  102. ### Chore
  103. * Update webpack peer dependency to support 2.2.0rc. [#330](https://github.com/webpack-contrib/sass-loader/pull/330)
  104. <a name="4.1.0"></a>
  105. # [4.1.0](https://github.com/webpack-contrib/sass-loader/compare/v4.1.0...v4.0.2) (2016-12-14)
  106. ### Features
  107. * Update `node-sass@4.0.0` [#319](https://github.com/webpack-contrib/sass-loader/pull/319)
  108. <a name="4.0.2"></a>
  109. # [4.0.2](https://github.com/webpack-contrib/sass-loader/compare/v4.0.2...v4.0.1) (2016-07-07)
  110. ### Bug Fixes
  111. * Fix wrong context in customImporters [#281](https://github.com/webpack-contrib/sass-loader/pull/281)
  112. <a name="4.0.1"></a>
  113. # [4.0.1](https://github.com/webpack-contrib/sass-loader/compare/v4.0.1...v4.0.0) (2016-07-01)
  114. ### Bug Fixes
  115. * Fix custom importers receiving `'stdin'` as second argument instead of the actual `resourcePath` [#267](https://github.com/webpack-contrib/sass-loader/pull/267)
  116. <a name="4.0.0"></a>
  117. # [4.0.0](https://github.com/webpack-contrib/sass-loader/compare/v4.0.0...v3.2.2) (2016-06-27)
  118. ### Bug Fixes
  119. * Fix incorrect source map paths [#250](https://github.com/webpack-contrib/sass-loader/pull/250)
  120. ### BREAKING CHANGES
  121. * Release new major version because the previous release was a breaking change in certain scenarios
  122. See: https://github.com/webpack-contrib/sass-loader/pull/250#issuecomment-228663059
  123. <a name="3.2.2"></a>
  124. # [3.2.2](https://github.com/webpack-contrib/sass-loader/compare/v3.2.2...v3.2.1) (2016-06-26)
  125. ### Bug Fixes
  126. * Fix incorrect source map paths [#250](https://github.com/webpack-contrib/sass-loader/pull/250)
  127. <a name="3.2.1"></a>
  128. # [3.2.1](https://github.com/webpack-contrib/sass-loader/compare/v3.2.1...v3.2.0) (2016-06-19)
  129. ### Bug Fixes
  130. * Add `webpack@^2.1.0-beta` as peer dependency [#233](https://github.com/webpack-contrib/sass-loader/pull/233)
  131. <a name="3.2.0"></a>
  132. # [3.2.0](https://github.com/webpack-contrib/sass-loader/compare/v3.2.0...v3.1.2) (2016-03-12)
  133. ### Features
  134. * Append file content instead of overwriting when `data`-option is already present [#216](https://github.com/webpack-contrib/sass-loader/pull/216)
  135. * Make `indentedSyntax` option a bit smarter [#196](https://github.com/webpack-contrib/sass-loader/pull/196)
  136. <a name="3.1.2"></a>
  137. # [3.1.2](https://github.com/webpack-contrib/sass-loader/compare/v3.1.2...v3.1.1) (2015-11-22)
  138. ### Bug Fixes
  139. * Fix loader query not overriding webpack config [#189](https://github.com/webpack-contrib/sass-loader/pull/189)
  140. * Update peer-dependencies [#182](https://github.com/webpack-contrib/sass-loader/pull/182)
  141. - `node-sass^3.4.2`
  142. - `webpack^1.12.6`
  143. <a name="3.1.1"></a>
  144. # [3.1.1](https://github.com/webpack-contrib/sass-loader/compare/v3.1.1...v3.1.0) (2015-10-26)
  145. ### Bug Fixes
  146. * Fix missing module `object-assign` [#178](https://github.com/webpack-contrib/sass-loader/issues/178)
  147. <a name="3.1.0"></a>
  148. # [3.1.0](https://github.com/webpack-contrib/sass-loader/compare/v3.1.0...v3.0.0) (2015-10-25)
  149. ### Bug Fixes
  150. * Fix a problem where modules with a `.` in their names were not resolved [#167](https://github.com/webpack-contrib/sass-loader/issues/167)
  151. ### Features
  152. * 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)
  153. <a name="3.0.0"></a>
  154. # [3.0.0](https://github.com/webpack-contrib/sass-loader/compare/v3.0.0...v2.0.1) (2015-09-29)
  155. ### Bug Fixes
  156. * Fix crash when Sass reported an error without `file` [#158](https://github.com/webpack-contrib/sass-loader/pull/158)
  157. ### BREAKING CHANGES
  158. * 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)
  159. <a name="2.0.1"></a>
  160. # [2.0.1](https://github.com/webpack-contrib/sass-loader/compare/v2.0.1...v2.0.0) (2015-08-14)
  161. ### Bug Fixes
  162. * Add missing path normalization (fixes [#141](https://github.com/webpack-contrib/sass-loader/pull/141))
  163. <a name="2.0.0"></a>
  164. # [2.0.0](https://github.com/webpack-contrib/sass-loader/compare/v2.0.0...v1.0.4) (2015-08-06)
  165. ### Bug Fixes
  166. * 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)
  167. * Fix path resolving on Windows [#108](https://github.com/webpack-contrib/sass-loader/issues/108)
  168. * Fix file watchers on Windows [#102](https://github.com/webpack-contrib/sass-loader/issues/102)
  169. * Fix file watchers for files with errors [#134](https://github.com/webpack-contrib/sass-loader/pull/134)
  170. ### Code Refactoring
  171. * 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))
  172. ### BREAKING CHANGES
  173. * 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)
  174. <a name="1.0.4"></a>
  175. # [1.0.4](https://github.com/webpack-contrib/sass-loader/compare/v1.0.4...v1.0.3) (2015-08-03)
  176. ### Bug Fixes
  177. * Fix wrong source-map urls [#123](https://github.com/webpack-contrib/sass-loader/pull/123)
  178. * Include source-map contents by default [#104](https://github.com/webpack-contrib/sass-loader/pull/104)
  179. <a name="1.0.3"></a>
  180. # [1.0.3](https://github.com/webpack-contrib/sass-loader/compare/v1.0.3...v1.0.2) (2015-07-22)
  181. ### Bug Fixes
  182. * Fix importing css files from scss/sass [#101](https://github.com/webpack-contrib/sass-loader/issues/101)
  183. * 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)
  184. <a name="1.0.2"></a>
  185. # [1.0.2](https://github.com/webpack-contrib/sass-loader/compare/v1.0.2...v1.0.1) (2015-04-15)
  186. ### Bug Fixes
  187. * Fix a bug where files could not be imported across language styles [#73](https://github.com/webpack-contrib/sass-loader/issues/73)
  188. * Update peer-dependency `node-sass` to `3.1.0`
  189. <a name="1.0.1"></a>
  190. # [1.0.1](https://github.com/webpack-contrib/sass-loader/compare/v1.0.1...v1.0.0) (2015-03-31)
  191. ### Bug Fixes
  192. * Fix Sass partials not being resolved anymore [#68](https://github.com/webpack-contrib/sass-loader/issues/68)
  193. * Update peer-dependency `node-sass` to `3.0.0-beta.4`
  194. <a name="1.0.0"></a>
  195. # [1.0.0](https://github.com/webpack-contrib/sass-loader/compare/v1.0.0...v0.3.1) (2015-03-22)
  196. ### Bug Fixes
  197. * Moved `node-sass^3.0.0-alpha.0` to `peerDependencies` [#28](https://github.com/webpack-contrib/sass-loader/issues/28)
  198. * Using webpack's module resolver as custom importer [#39](https://github.com/webpack-contrib/sass-loader/issues/31)
  199. * 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)