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.

324 lines
9.7 KiB

4 years ago
  1. # Change Log
  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. <a name="3.0.0"></a>
  4. # [3.0.0](https://github.com/postcss/postcss-loader/compare/v2.1.6...v3.0.0) (2018-08-08)
  5. ### Bug Fixes
  6. * **index:** add ast version (`meta.ast`) ([f34954f](https://github.com/postcss/postcss-loader/commit/f34954f))
  7. * **index:** emit `warnings` as an instance of `{Error}` ([8ac6fb5](https://github.com/postcss/postcss-loader/commit/8ac6fb5))
  8. * **options:** improved `ValidationError` messages ([549ea08](https://github.com/postcss/postcss-loader/commit/549ea08))
  9. ### Chores
  10. * **package:** update `postcss` v6.0.0...7.0.0 (`dependencies`) ([#375](https://github.com/postcss/postcss-loader/issues/375)) ([daa0da8](https://github.com/postcss/postcss-loader/commit/daa0da8))
  11. ### BREAKING CHANGES
  12. * **package:** requires `node >= v6.0.0`
  13. <a name="2.1.6"></a>
  14. ## [2.1.6](https://github.com/postcss/postcss-loader/compare/v2.1.5...v2.1.6) (2018-07-10)
  15. ### Bug Fixes
  16. * **package:** config memory leak, updates `postcss-load-config` v1.2.0...2.0.0 (`dependencies`) ([0547b12](https://github.com/postcss/postcss-loader/commit/0547b12))
  17. <a name="2.1.5"></a>
  18. ## [2.1.5](https://github.com/postcss/postcss-loader/compare/v2.1.4...v2.1.5) (2018-05-04)
  19. ### Bug Fixes
  20. * **index:** remove `sourceMap` warning ([#361](https://github.com/postcss/postcss-loader/issues/361)) ([4416791](https://github.com/postcss/postcss-loader/commit/4416791))
  21. <a name="2.1.4"></a>
  22. ## [2.1.4](https://github.com/postcss/postcss-loader/compare/v2.1.3...v2.1.4) (2018-04-16)
  23. ### Bug Fixes
  24. * restore loader object in postcss config context ([#355](https://github.com/postcss/postcss-loader/issues/355)) ([2ff1735](https://github.com/postcss/postcss-loader/commit/2ff1735))
  25. <a name="2.1.3"></a>
  26. ## [2.1.3](https://github.com/postcss/postcss-loader/compare/v2.1.2...v2.1.3) (2018-03-20)
  27. ### Bug Fixes
  28. * **options:** revert additionalProperties changes to keep SemVer ([bd7fc38](https://github.com/postcss/postcss-loader/commit/bd7fc38))
  29. <a name="2.1.2"></a>
  30. ## [2.1.2](https://github.com/postcss/postcss-loader/compare/v2.1.1...v2.1.2) (2018-03-17)
  31. ### Bug Fixes
  32. * **options:** disallow additional properties and add `ident` to validation ([#346](https://github.com/postcss/postcss-loader/issues/346)) ([82ef553](https://github.com/postcss/postcss-loader/commit/82ef553))
  33. <a name="2.1.1"></a>
  34. ## [2.1.1](https://github.com/postcss/postcss-loader/compare/v2.1.0...v2.1.1) (2018-02-26)
  35. ### Bug Fixes
  36. * **index:** don't set `to` value (`options`) ([#339](https://github.com/postcss/postcss-loader/issues/339)) ([cdbb8b6](https://github.com/postcss/postcss-loader/commit/cdbb8b6))
  37. <a name="2.1.0"></a>
  38. # [2.1.0](https://github.com/postcss/postcss-loader/compare/v2.0.10...v2.1.0) (2018-02-02)
  39. ### Bug Fixes
  40. * **index:** continue watching after dependency `{Error}` ([#332](https://github.com/postcss/postcss-loader/issues/332)) ([a8921cc](https://github.com/postcss/postcss-loader/commit/a8921cc))
  41. ### Features
  42. * **index:** pass AST (`result.root`) && Messages (`result.messages`) as metadata to other loaders ([#322](https://github.com/postcss/postcss-loader/issues/322)) ([56232e7](https://github.com/postcss/postcss-loader/commit/56232e7))
  43. <a name="2.0.10"></a>
  44. ## [2.0.10](https://github.com/postcss/postcss-loader/compare/v2.0.9...v2.0.10) (2018-01-03)
  45. ### Bug Fixes
  46. * **index:** copy loader `options` before modifying ([#326](https://github.com/postcss/postcss-loader/issues/326)) ([61ff03c](https://github.com/postcss/postcss-loader/commit/61ff03c))
  47. <a name="2.0.9"></a>
  48. ## [2.0.9](https://github.com/postcss/postcss-loader/compare/v2.0.8...v2.0.9) (2017-11-24)
  49. ### Bug Fixes
  50. * **index:** filter `ident` (`options.ident`) ([#315](https://github.com/postcss/postcss-loader/issues/315)) ([3e1c7fa](https://github.com/postcss/postcss-loader/commit/3e1c7fa))
  51. <a name="2.0.8"></a>
  52. ## [2.0.8](https://github.com/postcss/postcss-loader/compare/v2.0.6...v2.0.8) (2017-10-14)
  53. ### Bug Fixes
  54. * **lib/options:** handle `{Object}` return (`options.plugins`) ([#301](https://github.com/postcss/postcss-loader/issues/301)) ([df010a7](https://github.com/postcss/postcss-loader/commit/df010a7))
  55. * **schema:** allow to pass an `{Object}` (`options.syntax/options.stringifier`) ([#300](https://github.com/postcss/postcss-loader/issues/300)) ([58e9996](https://github.com/postcss/postcss-loader/commit/58e9996))
  56. <a name="2.0.7"></a>
  57. ## [2.0.7](https://github.com/postcss/postcss-loader/compare/v2.0.6...v2.0.7) (2017-10-10)
  58. ### Bug Fixes
  59. * sanitizing `from` and `to` options (`postcss.config.js`) ([#260](https://github.com/postcss/postcss-loader/issues/260)) ([753dea7](https://github.com/postcss/postcss-loader/commit/753dea7))
  60. * **index:** runaway promise ([#269](https://github.com/postcss/postcss-loader/issues/269)) ([8df20ce](https://github.com/postcss/postcss-loader/commit/8df20ce))
  61. <a name="2.0.6"></a>
  62. ## [2.0.6](https://github.com/postcss/postcss-loader/compare/v2.0.5...v2.0.6) (2017-06-14)
  63. ### Bug Fixes
  64. * allow to pass an `{Object}` (`options.parser`) ([#257](https://github.com/postcss/postcss-loader/issues/257)) ([4974607](https://github.com/postcss/postcss-loader/commit/4974607))
  65. * misspelling in warnings ([#237](https://github.com/postcss/postcss-loader/issues/237)) ([adcbb2e](https://github.com/postcss/postcss-loader/commit/adcbb2e))
  66. * **index:** simplify config loading behaviour ([#259](https://github.com/postcss/postcss-loader/issues/259)) ([b313478](https://github.com/postcss/postcss-loader/commit/b313478))
  67. <a name="2.0.5"></a>
  68. ## [2.0.5](https://github.com/postcss/postcss-loader/compare/v2.0.4...v2.0.5) (2017-05-10)
  69. ### Bug Fixes
  70. * regression with `options.plugins` `{Function}` (`webpack.config.js`) (#229) ([dca52a9](https://github.com/postcss/postcss-loader/commit/dca52a9))
  71. <a name="2.0.4"></a>
  72. ## [2.0.4](https://github.com/postcss/postcss-loader/compare/v2.0.3...v2.0.4) (2017-05-10)
  73. ### Bug Fixes
  74. * **index:** `postcss.config.js` not resolved correctly (`options.config`) ([faaeee4](https://github.com/postcss/postcss-loader/commit/faaeee4))
  75. * **index:** update validation schema, better warning message ([4f20c99](https://github.com/postcss/postcss-loader/commit/4f20c99))
  76. <a name="2.0.3"></a>
  77. ## [2.0.3](https://github.com/postcss/postcss-loader/compare/v2.0.2...v2.0.3) (2017-05-09)
  78. ### Bug Fixes
  79. * **index:** don't fail on 'sourceMap: false' && emit a warning instead, when previous map found (`options.sourceMap`) ([159b66a](https://github.com/postcss/postcss-loader/commit/159b66a))
  80. <a name="2.0.2"></a>
  81. ## [2.0.2](https://github.com/postcss/postcss-loader/compare/v2.0.1...v2.0.2) (2017-05-09)
  82. ### Bug Fixes
  83. * **index:** 'No PostCSS Config found' (`options.config`) (#215) ([e764761](https://github.com/postcss/postcss-loader/commit/e764761))
  84. <a name="2.0.1"></a>
  85. ## [2.0.1](https://github.com/postcss/postcss-loader/compare/v2.0.0...v2.0.1) (2017-05-08)
  86. ### Bug Fixes
  87. * **index:** 'Cannot create property `prev` on boolean `false`' (`options.sourceMap`) ([c4f0064](https://github.com/postcss/postcss-loader/commit/c4f0064))
  88. <a name="2.0.0"></a>
  89. # [2.0.0](https://github.com/postcss/postcss-loader/compare/1.2.2...v2.0.0) (2017-05-08)
  90. ### Features
  91. * **index:** add ctx, ctx.file, ctx.options ([0dceb2c](https://github.com/postcss/postcss-loader/commit/0dceb2c))
  92. * **index:** add options validation ([2b76df8](https://github.com/postcss/postcss-loader/commit/2b76df8))
  93. ## 1.3.3
  94. * Remove `postcss-loader-before-processing` warning (by Michael Ciniawsky).
  95. ## 1.3.2
  96. * Fix deprecated warning (by Xiaoyu Zhai).
  97. ## 1.3.1
  98. * Fix conflict with CLI `--config` argument (by EGOIST).
  99. ## 1.3
  100. * Allow object in syntax options, not only path for require (by Jeff Escalante).
  101. ## 1.2.2
  102. * Watch `postcss.config.js` for changes (by Michael Ciniawsky).
  103. ## 1.2.1
  104. * Fix relative `config` parameter resolving (by Simen Bekkhus).
  105. ## 1.2
  106. * Add `config` parameter (by sainthkh).
  107. ## 1.1.1
  108. * Fix `this` in options function (by Jeff Escalante).
  109. ## 1.1
  110. * PostCSS common config could be placed to subdirs.
  111. * Add webpack instance to PostCSS common config context.
  112. ## 1.0
  113. * Add common PostCSS config support (by Mateusz Derks).
  114. * Add Webpack 2 support with `plugins` query option (by Izaak Schroeder).
  115. * Add `dependency` message support.
  116. * Rewrite docs (by Michael Ciniawsky).
  117. ## 0.13
  118. * Add `exec` parameter (by Neal Granger).
  119. ## 0.12
  120. * Add CSS syntax highlight to syntax error code frame.
  121. ## 0.11.1
  122. * Fix Promise API (by Daniel Haus).
  123. ## 0.11
  124. * Add `postcss-loader-before-processing` webpack event (by Jan Nicklas).
  125. ## 0.10.1
  126. * Better syntax error message (by Andrey Popp).
  127. ## 0.10.0
  128. * Add `sourceMap` parameter to force inline maps (by 雪狼).
  129. ## 0.9.1
  130. * Fix plugin in simple array config.
  131. ## 0.9
  132. * Allow to pass syntax, parser or stringifier as function (by Jeff Escalante).
  133. ## 0.8.2
  134. * Fix source map support (by Andrew Bradley).
  135. ## 0.8.1
  136. * Fix resource path.
  137. ## 0.8
  138. * Add postcss-js support (by Simon Degraeve).
  139. ## 0.7
  140. * Added argument with webpack instance to plugins callback (by Maxime Thirouin).
  141. ## 0.6
  142. * Use PostCSS 5.0.
  143. * Remove `safe` parameter. Use Safe Parser.
  144. * Add `syntax`, `parser` and `stringifier` parameters.
  145. ## 0.5.1
  146. * Fix string source map support (by Jan Nicklas).
  147. ## 0.5.0
  148. * Set plugins by function for hot reload support (by Stefano Brilli).
  149. ## 0.4.4
  150. * Fix error on empty PostCSS config.
  151. ## 0.4.3
  152. * Better check for `CssSyntaxError`.
  153. ## 0.4.2
  154. * Fixed invalid sourcemap exception (by Richard Willis).
  155. ## 0.4.1
  156. * Use only Promise API to catch PostCSS errors.
  157. ## 0.4
  158. * Add PostCSS asynchronous API support.
  159. * Fix source map support (by Richard Willis).
  160. * Add warnings API support.
  161. * Better output for CSS syntax errors.
  162. ## 0.3
  163. * Use PostCSS 4.0.
  164. ## 0.2
  165. * Use PostCSS 3.0.
  166. ## 0.1
  167. * Initial release.