-
Add a
compressed
output style. -
Emit a warning when
&&
is used, since it's probably not what the user means. -
round()
now returns the correct results for negative numbers that should round down. -
var()
may now be passed in place of multiple arguments torgb()
,rgba()
,hsl()
andhsla()
. -
Fix some cases where equivalent numbers wouldn't count as the same keys in maps.
-
Fix a bug where multiplication like
(1/1px) * (1px/1)
wouldn't properly cancel out units. -
Fix a bug where dividing by a compatible unit would produce an invalid result.
-
Remove a non-
sh
-compatible idiom from the standalone shell script.
Dart API
-
Add a
functions
parameter tocompile()
,compleString()
,compileAsync()
, andcompileStringAsync()
. This allows users to define custom functions in Dart that can be invoked from Sass stylesheets. -
Expose the
Callable
andAsyncCallable
types, which represent functions that can be invoked from Sass. -
Expose the
Value
type and its subclasses, as well as the top-levelsassTrue
,sassFalse
, andsassNull
values, which represent Sass values that may be passed into or returned from custom functions. -
Expose the
OutputStyle
enum, and add astyle
parameter tocompile()
,compleString()
,compileAsync()
, andcompileStringAsync()
that allows users to control the output style.
Node JS API
-
Support the
functions
option. -
Support the
"compressed"
value for theoutputStyle
option.