4df5c9ab176900257c60dfb7d429d7ceaab0f0393426bdde8fdd75641840ca8b2778005ad13d7c588ff060f8e48e72a97b6c3d7088d418247c5f83e6f944d4-exec 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. # 7.0.5
  2. - Fixed: reduction
  3. # 7.0.4
  4. - Fixed: strips away important factors from multiplications in calc() ([#107](https://github.com/postcss/postcss-calc/issues/107))
  5. # 7.0.3
  6. - Fixed: substracted css-variable from zero ([#111](https://github.com/postcss/postcss-calc/issues/111))
  7. # 7.0.2
  8. - Fixed: incorrect reduction of subtraction from zero ([#88](https://github.com/postcss/postcss-calc/issues/88))
  9. - Fixed: doesn't remove calc for single function
  10. - Fixed: relax parser on unknown units ([#76](https://github.com/postcss/postcss-calc/issues/76))
  11. - Fixed: handle numbers with exponen composed ([#83](https://github.com/postcss/postcss-calc/pull/83))
  12. - Fixed: handle plus sign before value ([#79](https://github.com/postcss/postcss-calc/pull/79))
  13. - Fixed: better handle precision for nested calc ([#75](https://github.com/postcss/postcss-calc/pull/75))
  14. - Fixed: properly handle nested add and sub expression inside sub expression ([#64](https://github.com/postcss/postcss-calc/issues/64))
  15. - Fixed: handle uppercase units and functions ([#71](https://github.com/postcss/postcss-calc/pull/71))
  16. - Fixed: do not break `calc` with single var ([cssnano/cssnano#725](https://github.com/cssnano/cssnano/issues/725))
  17. - Updated: `postcss` to 7.0.27 (patch)
  18. - Updated: `postcss-selector-parser` to 6.0.2
  19. - Updated: `postcss-value-parser` to 4.0.2
  20. # 7.0.1
  21. - Updated: `postcss` to 7.0.2 (patch)
  22. - Updated: `postcss-selector-parser` to 5.0.0-rc.4 (patch)
  23. - Updated: `postcss-value-parser` to 3.3.1 (patch)
  24. # 7.0.0
  25. - Changed: Updated postcss-selector-parser to version 5.0.0-rc.3
  26. - Changed: Dropped reduce-css-calc as a dependency
  27. - Fixed: Support constant() and env() ([#42](https://github.com/postcss/postcss-calc/issues/42), [#48](https://github.com/postcss/postcss-calc/issues/48))
  28. - Fixed: Support custom properties with "calc" in its name ([#50](https://github.com/postcss/postcss-calc/issues/50))
  29. - Fixed: Remove unnecessary whitespace around `*` and `/` ([cssnano#625](https://github.com/cssnano/cssnano/issues/625))
  30. - Fixed: Arithmetic bugs around subtraction ([#49](https://github.com/postcss/postcss-calc/issues/49))
  31. - Fixed: Handling of nested calc statements ([reduce-css-calc#49](https://github.com/MoOx/reduce-css-calc/issues/49))
  32. - Fixed: Bugs regarding complex calculations ([reduce-cs-calc#45](https://github.com/MoOx/reduce-css-calc/issues/45))
  33. - Fixed: `100%` incorrectly being transformed to `1` ([reduce-css-calc#44](https://github.com/MoOx/reduce-css-calc/issues/44))
  34. - Added: support for case-insensitive calc statements
  35. # 6.0.2 - 2018-09-25
  36. - Fixed: use PostCSS 7 (thanks to @douglasduteil)
  37. # 6.0.1 - 2017-10-10
  38. - Fixed: throwing error for attribute selectors without a value
  39. # 6.0.0 - 2017-05-08
  40. - Breaking: Updated PostCSS from v5.x to v6.x, and reduce-css-calc from v1.x
  41. to v2.x (thanks to @andyjansson).
  42. # 5.3.1 - 2016-08-22
  43. - Fixed: avoid security issue related to ``reduce-css-calc@< 1.2.4``.
  44. # 5.3.0 - 2016-07-11
  45. - Added: support for selector transformation via `selectors` option.
  46. ([#29](https://github.com/postcss/postcss-calc/pull/29) - @uniquegestaltung)
  47. # 5.2.1 - 2016-04-10
  48. - Fixed: support for multiline value
  49. ([#27](https://github.com/postcss/postcss-calc/pull/27))
  50. # 5.2.0 - 2016-01-08
  51. - Added: "mediaQueries" option for `@media` support
  52. ([#22](https://github.com/postcss/postcss-calc/pull/22))
  53. # 5.1.0 - 2016-01-07
  54. - Added: "warnWhenCannotResolve" option to warn when calc() are not reduced to a single value
  55. ([#20](https://github.com/postcss/postcss-calc/pull/20))
  56. # 5.0.0 - 2015-08-25
  57. - Removed: compatibility with postcss v4.x
  58. - Added: compatibility with postcss v5.x
  59. # 4.1.0 - 2015-04-09
  60. - Added: compatibility with postcss v4.1.x ([#12](https://github.com/postcss/postcss-calc/pull/12))
  61. # 4.0.1 - 2015-04-09
  62. - Fixed: `preserve` option does not create duplicated values ([#7](https://github.com/postcss/postcss-calc/issues/7))
  63. # 4.0.0 - 2015-01-26
  64. - Added: compatibility with postcss v4.x
  65. - Changed: partial compatiblity with postcss v3.x (stack traces have lost filename)
  66. # 3.0.0 - 2014-11-24
  67. - Added: GNU like exceptions ([#4](https://github.com/postcss/postcss-calc/issues/4))
  68. - Added: `precision` option ([#5](https://github.com/postcss/postcss-calc/issues/5))
  69. - Added: `preserve` option ([#6](https://github.com/postcss/postcss-calc/issues/6))
  70. # 2.1.0 - 2014-10-15
  71. - Added: source of the error (gnu like message) (fix [#3](https://github.com/postcss/postcss-calc/issues/3))
  72. # 2.0.1 - 2014-08-10
  73. - Fixed: correctly ignore unrecognized values (fix [#2](https://github.com/postcss/postcss-calc/issues/2))
  74. # 2.0.0 - 2014-08-06
  75. - Changed: Plugin now return a function to have a consistent api. ([ref 1](https://github.com/ianstormtaylor/rework-color-function/issues/6), [ref 2](https://twitter.com/jongleberry/status/496552790416576513))
  76. # 1.0.0 - 2014-08-04
  77. ✨ First release based on [rework-calc](https://github.com/reworkcss/rework-calc) v1.1.0 (code mainly exported to [`reduce-css-calc`](https://github.com/MoOx/reduce-css-calc))