mirror of
https://github.com/hanzoai/postcss.git
synced 2026-09-24 17:01:56 +00:00
1.5 KiB
1.5 KiB
0.3.3
- Remove source map hacks by using new Mozilla’s
source-map(by Simon Lydell).
0.3.2
- Add URI encoding support for inline source maps.
0.3.1
- Fix relative paths from previous source map.
- Safer space split in
Rule#selectors(by Simon Lydell).
0.3 “Prince Seere”
- Add
Commentnode for comments between declarations or rules. - Add source map annotation comment to output CSS.
- Allow to inline source map to annotation comment by data:uri.
- Fix source maps on Windows.
- Fix source maps for styles in subdirectory (by @nDmitry and @lydell).
- Autodetect previous source map.
- Add
firstandlastshortcuts to container nodes. - Parse
!importantto separated property inDeclaration. - Allow to break iteration by returning
false. - Copy code style to new nodes.
- Add
eachInsidemethod to recursivelly iterate all nodes. - Add
selectorsshortcut to get selectors array. - Add
toResultmethod toRuleto simplify work with several input files. - Clean declaration’s
value, rule’sselectorand at-rule’sparamsby storing spaces inbetweenproperty.
0.2 “Duke Dantalion”
- Add source map support.
- Add shortcuts to create nodes.
- Method
process()now returns object withcssandmapkeys. - Origin CSS file option was renamed from
filetofrom. - Rename
Node#remove()method toremoveSelf()to fix name conflict. - Node source was moved to
sourceproperty with origin file and node end position. - You can set own stringify function.
0.1 “Count Andromalius”
- Initial release.