6377590ac36c2dd907be5877244875aca40eec27fd9bcaad5225d030a05037a7b4991624ddf3876e6b012deda320bf626833af3e2f0ce405aecd8745e43a6c 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. # 2.6.1
  2. * Resolves an issue where IE hacks were being removed from `0` values
  3. (thanks to @Justineo).
  4. # 2.6.0
  5. * Added clamping of the values for the `shape-image-threshold` property, using
  6. the same logic as introduced in version `2.5.0`.
  7. # 2.5.0
  8. * Added clamping of the values for the `opacity` property to the `0-1` range.
  9. For example, this will convert `opacity: 1.1` to `opacity: 1`.
  10. # 2.4.1
  11. * Resolves an issue where the units would be stripped from zero values in
  12. custom properties (thanks to @jgerigmeyer).
  13. # 2.4.0
  14. * Added a `precision` option to enable rounding of decimal places for
  15. `px` values.
  16. # 2.3.6
  17. * Resolves an issue with the last patch where `height: 0em` was not being
  18. converted to `height: 0`.
  19. # 2.3.5
  20. * Resolves an issue where certain properties inside `@keyframes` rules would
  21. break animation in IE due to the percentage being stripped. Now, the
  22. percentage is preserved for these properties.
  23. # 2.3.4
  24. * Does not convert `height:0%` to `height:0` (and the same for `max-height`), as
  25. they produce different results.
  26. # 2.3.3
  27. * Updates postcss-value-parser to version 3 (thanks to @TrySound).
  28. # 2.3.2
  29. * Fixed a regression where `0%` in color functions was being transformed to `0`
  30. (thanks to @TrySound).
  31. # 2.3.1
  32. * Fixed a behaviour where `0deg` was being converted to `0`.
  33. # 2.3.0
  34. * Added an option to convert between `turn` & `deg` (thanks to @TrySound).
  35. # 2.2.1
  36. * Fixes a behaviour where the module would remove units from zero values inside
  37. calc functions (thanks to @marek-saji & @TrySound).
  38. # 2.2.0
  39. * Renames `opts.convertLength` & `opts.convertTime` to
  40. `opts.length` & `opts.time`; the old options will now print deprecation
  41. warnings (thanks to @TrySound).
  42. # 2.1.0
  43. * Adds options to enable/disable unit conversion for time & length values.
  44. # 2.0.1
  45. * Bump postcss-value-parser to `2.0.2`.
  46. # 2.0.0
  47. * Upgraded to PostCSS 5.
  48. # 1.3.1
  49. * Fixes an issue where the module would convert values in gradient/url functions
  50. since 1.3.0.
  51. # 1.3.0
  52. * Converted the module to use ES6.
  53. * balanced-match, css-list & some integrated code has been replaced with
  54. postcss-value-parser; reducing the number of moving parts in this module, and
  55. providing a more futureproof way of parsing CSS numeric values.
  56. # 1.2.5
  57. * Fixes an issue where uppercase units (such as PX) were being deleted.
  58. # 1.2.4
  59. * Fixes convert not px or ms
  60. # 1.2.3
  61. * Adds support for `ch` units; previously they were removed.
  62. * Upgrades css-list to `0.1.0`, code tidied up.
  63. # 1.2.2
  64. * Added support for viewport units (thanks to @TrySound).
  65. # 1.2.1
  66. * Fixes regressions introduced by the previous patch. Better support for
  67. negative value transforms.
  68. # 1.2.0
  69. * Adds support for slash/comma separated values (thanks to @TrySound).
  70. # 1.1.1
  71. * Fixes an issue where trailing zeroes were not being removed in
  72. values that were not `0` (thanks to @TrySound).
  73. # 1.1.0
  74. * Adds support for removing leading zeroes from `rem` values
  75. (thanks to @tunnckoCore).
  76. # 1.0.3
  77. * Fixed a bug where filenames were being incorrectly transformed.
  78. # 1.0.2
  79. * Fixed a bug where `1.` and `.0` were not being optimised to `1` and `0`,
  80. respectively.
  81. # 1.0.1
  82. * Fixed a bug where `undefined` would be stringified as the unit value, if the
  83. value did not have a unit.
  84. # 1.0.0
  85. * Initial release.