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.

152 lines
3.4 KiB

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