Changelog
1.0.0-beta.2
Add support for the ::slotted()
pseudo-element.
Generated transparent colors will now be emitted as rgba(0, 0, 0, 0)
rather
than transparent
. This works around a bug wherein IE incorrectly handles the
latter format.
Add support for data
, includePaths
, indentedSyntax
, lineFeed
,
indentWidth
, and indentType
options to render()
and renderSync()
.
The result object returned by render()
and renderSync()
now includes the
stats
object which provides metadata about the compilation process.
The error object thrown by render()
and renderSync()
now includes line
,
column
, file
, status
, and formatted
fields. The message
field and
toString()
also provide more information.
renderString()
method for rendering Sass source that's not in a file
on disk.Changelog
1.0.0-beta.1
Drop support for the reference combinator. This has been removed from the spec, and will be deprecated and eventually removed in other implementations.
Trust type annotations when compiling to JavaScript, which makes it substantially faster.
Compile to minified JavaScript, which decreases the code size substantially and makes startup a little faster.
Fix a crash when inspecting a string expression that ended in "\a".
Fix a bug where declarations and @extend
were allowed outside of a style
rule in certain circumstances.
Fix not
in parentheses in @supports
conditions.
Allow url
as an identifier name.
Properly parse /***/
in selectors.
Properly parse unary operators immediately after commas.
Match Ruby Sass's rounding behavior for all functions.
Allow \
at the beginning of a selector in the indented syntax.
Fix a number of @extend
bugs:
selector-extend()
and selector-replace()
now allow compound selector
extendees.
Remove the universal selector *
when unifying with other selectors.
Properly unify the result of multiple simple selectors in the same compound selector being extended.
Properly handle extensions being extended.
Properly follow the [first law of @extend
][laws].
Fix selector specificity tracking to follow the
[second law of @extend
][laws].
Allow extensions that match selectors but fail to unify.
Partially-extended selectors are no longer used as parent selectors.
Fix an edge case where both the extender and the extended selector have invalid combinator sequences.
Don't crash with a "Bad state: no element" error in certain edge cases.