web 3d图形渲染器
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.

85 lines
2.4 KiB

  1. # Changes to PostCSS Custom Selectors
  2. ### 5.1.2 (September 20, 2018)
  3. - Fixed: Do not break on an empty `importFrom` object
  4. ### 5.1.1 (September 18, 2018)
  5. - Fixed: Selectors like `.foo:--h1` become `h1.foo` instead of `.fooh1`
  6. ### 5.1.0 (September 12, 2018)
  7. - Added: New `exportTo` function to specify where to export custom selectors
  8. - Updated: `importFrom` option to support passing it a function
  9. ### 5.0.0 (September 7, 2018)
  10. - Added: New `preserve` option to preserve custom selectors and rules using them
  11. - Added: New `importFrom` option to specify where to import custom selectors
  12. - Added: Support for PostCSS v7
  13. - Added: Support for Node v6+
  14. ### 4.0.1 (May 15, 2017)
  15. - Fixed: incorrect export
  16. ### 4.0.0 (May 12, 2017)
  17. - Added: compatibility with postcss v6.x
  18. ### 3.0.0 (August 25, 2015)
  19. - Removed: compatibility with postcss v4.x
  20. - Added: compatibility with postcss v5.x
  21. ### 2.3.0 (July 14, 2015)
  22. * Fixed: Nested/mixed selectors now works correctly
  23. ([#19](https://github.com/postcss/postcss-custom-selectors/issues/19))
  24. * Added: `transformMatches` option to limit transformation to :matches()
  25. replacements.
  26. ### 2.2.0 (June 30, 2015)
  27. * Fixed: No more useless warnings for undefined non custom selectors
  28. ([#22](https://github.com/postcss/postcss-custom-selectors/issues/22))
  29. * Changed: warnings now use PostCSS message API
  30. ### 2.1.1 (June 30, 2015)
  31. * Fixed: the lineBreak option keeping the selectors indent
  32. ([#18](https://github.com/postcss/postcss-custom-selectors/issues/18))
  33. * Fixed: the tip of an undefined selector
  34. ([#20](https://github.com/postcss/postcss-custom-selectors/issues/20))
  35. ### 2.1.0 (June 4, 2015)
  36. * Changed: use PostCSS 4.1 plugin API
  37. ([#13](https://github.com/postcss/postcss-custom-selectors/issues/13))
  38. ### 2.0.1 (June 3, 2015)
  39. * Fixed: `(foo, bar)` conversion error exists in the selector
  40. (See also [:matches() test](test/fixtures/matches/input.css))
  41. ### 2.0.0 (May 29, 2015)
  42. * Removed: no longer support `::` or `--` to defined a custom selectors,
  43. you must use the syntax `:--` to define it.
  44. ([#6](https://github.com/postcss/postcss-custom-selectors/issues/6))
  45. * Fixed: two or more consecutive hyphens in selector don't output `undefined`
  46. ([#14](https://github.com/postcss/postcss-custom-selectors/issues/14))
  47. ### 1.1.1 (April 6, 2015)
  48. * Fixed: add support for multilines definition
  49. ### 1.1.0 (December 6, 2014)
  50. * Added: "lineBreak" option
  51. ### 1.0.0 (December 6, 2014)
  52. * First release