postcss.plugin
.plugin
field in CssSyntaxError
.node.clone()
.Processor
instance in postcss()
constructor too.postcss.list
(by Bogdan Chadkin).var space = postcss.list.space
.Result#messages
.postcss.plugin()
to create plugins with a standard API.Result
instance to plugins as the second argument.CssSyntaxError#plugin
.CssSyntaxError#showSourceCode()
.postcss.list
and postcss.vendor
aliases.Processor#version
.!important
statement with spaces and comments inside (by Ben Briggs).prop
or value
(by Philip Peterson).error.generated
.babel
from released package dependencies (by Andres Suarez).source.input
to Root
too.Container#childs
to nodes
.PostCSS#processors
to plugins
.Node#replaceValues()
method.Node#moveTo()
, moveBefore()
and moveAfter()
methods.Node#cloneBefore()
and cloneAfter()
shortcuts.Node#next()
, prev()
and root()
shortcuts.Node#replaceWith()
method.Node#error()
method.Container#removeAll()
method.eachDecl()
and eachAtRule()
.Node#source.input
and move source.file
or source.id
to input
.Rule
, AtRule
and Comment
nodes changes.CssSyntaxError#stack
(by Maxime Thirouin).Root#normalize
in some inserts.@page
)
and nested declarations for plugins like postcss-nested
.childs
property, instead of decls
and rules
.map.inline
and map.sourcesContent
options are now true
by default.each
, insertAfter
) on children array changes.from
option from previous source map file
field.to
value to from
if to
option is missing.from
option.;
is missed between declarations.PostCSS
instance or list of plugins to use()
method.Result
instance to process()
method.@import"file"
.sourceMappingURL
annotation comment cleaning.sourceMappingURL
comment on map.annotation: false
.before
if Root
first child got removed.prepend()
on empty Root
.use()
with functions like autoprefixer
.use()
via object with .postcss
property.opts
from Processor#process(css, opts)
to processors.Node#replace
method.CssSyntaxError#reason
property.sourcesContent
if there is no from
and to
options.to
and from
options for inline source maps.Node#source.id
if file name is unknown.map.sourcesContent
option to add origin content to sourcesContent
inside map.Root
in Container#append
and same methods.Root#prevMap
with information about previous map.Result
now is lazy and it will generate output CSS only if you use css
or map
property.map.prev
option to set previous map.inlineMap
option to map.inline
.mapAnnotation
option to map.annotation
.Result#map
now return SourceMapGenerator
object, instead of string.map: 'inline'
shortcut for map: { inline: true }
option.Node#source.file
now will contains absolute path.Declaration#between
style on node clone.Root
or Result
as first argument in process()
.Result#root
.source-map
(by Simon Lydell).Rule#selectors
(by Simon Lydell).Comment
node for comments between declarations or rules.first
and last
shortcuts to container nodes.!important
to separated property in Declaration
.false
.eachInside
method to recursively iterate all nodes.selectors
shortcut to get selectors array.toResult
method to Rule
to simplify work with several input files.value
, rule’s selector
and at-rule’s params
by storing spaces in between
property.process()
now returns object with css
and map
keys.file
to from
.Node#remove()
method to removeSelf()
to fix name conflict.source
property with origin file
and node end position.