Skip to content

Releases: sass/dart-sass

Dart Sass 1.0.0-alpha.8

14 Jan 00:32
Compare
Choose a tag to compare
Pre-release
  • Add the content-exists() function.
  • Support interpolation in loud comments.
  • Fix a bug where even valid semicolons and exclamation marks in custom property values were disallowed.
  • Disallow invalid function names.
  • Disallow extending across media queries.
  • Properly parse whitespace after ... in argument declaration lists.
  • Support terse mixin syntax in the indented syntax.
  • Fix @at-root query parsing.
  • Support special functions in @-moz-document.
  • Support ... after a digit.
  • Fix some bugs when treating a map as a list of pairs.

Dart Sass 1.0.0-alpha.7

07 Jan 05:50
Compare
Choose a tag to compare
Pre-release
  • Fix function-exists(), variable-exists(), and mixin-exists() to use the lexical scope rather than always using the global scope.
  • str-index() now correctly inserts at negative indices.
  • Properly parse url()s that contain comment-like text.
  • Fix a few more small @extend bugs.
  • Fix a bug where interpolation in a quoted string was being dropped in some circumstances.
  • Properly handle @for rules where each bound has a different unit.
  • Forbid mixins and functions from being defined in control directives.
  • Fix a superselector-computation edge case involving :not().
  • Gracefully handle input files that are invalid UTF-8.
  • Print a Sass stack trace when a file fails to load.

Dart Sass 1.0.0-alpha.6

19 Dec 23:27
Compare
Choose a tag to compare
Pre-release
  • Allow var() to be passed to rgb(), rgba(), hsl(), and hsla().
  • Fix conversions between numbers with dpi, dpcm, and dppx units. Previously these conversions were inverted.
  • Don't crash when calling str-slice() with an $end-at index lower than the $start-at index.
  • str-slice() now correctly returns "" when $end-at is negative and points before the beginning of the string.
  • Interpolation in quoted strings now properly preserves newlines.
  • Don't crash when passing only $hue or no keyword arguments to adjust-color(), scale-color(), or change-color().
  • Preserve escapes in identifiers. This used to only work for identifiers in SassScript.
  • Fix a few small @extend bugs.

Dart Sass 1.0.0-alpha.5

11 Dec 05:35
Compare
Choose a tag to compare
Pre-release
  • Fix bounds-checking for opacify(), fade-in(), transparentize(), and fade-out().
  • Fix a bug with @extend superselector calculations.
  • Fix some cases where #{...}-- would fail to parse in selectors.
  • Allow a single number to be passed to saturate() for use in filter contexts.
  • Fix a bug where **/ would fail to close a loud comment.
  • Fix a bug where mixin and function calls could set variables incorrectly.
  • Move plain CSS @imports to the top of the document.

Dart Sass 1.0.0-alpha.4

15 Nov 06:40
Compare
Choose a tag to compare
Pre-release
  • Add support for bracketed lists.
  • Add support for Unicode ranges.
  • Add support for the Microsoft-style = operator.
  • Print the filename for @debug rules.
  • Fix a bug where 1 + - 2 and similar constructs would crash the parser.
  • Fix a bug where @extend produced the wrong result when used with selector combinators.
  • Fix a bug where placeholder selectors were not allowed to be unified.
  • Fix the mixin-exists() function.
  • Fix :nth-child() and :nth-last-child() parsing when they contain of selector.

Dart Sass 1.0.0-alpha.3

08 Nov 02:52
Compare
Choose a tag to compare
Pre-release
  • Fix a bug where color equality didn't take the alpha channel into account.
  • Fix a bug with converting some RGB colors to HSL.
  • Fix a parent selector resolution bug.
  • Properly declare the arguments for opacify() and related functions.
  • Add a missing dependency on the stack_trace package.
  • Fix broken Windows archives.
  • Emit colors using their original representation if possible.
  • Emit colors without an original representation as names if possible.

Dart Sass 1.0.0-alpha.2

01 Nov 21:46
Compare
Choose a tag to compare
Pre-release
  • Fix a bug where variables, functions, and mixins were broken in imported files.

Dart Sass 1.0.0-alpha.1

31 Oct 20:24
Compare
Choose a tag to compare
Pre-release

This is the initial alpha prerelease of Dart Sass. It's not production-ready by any means, but it's complete enough for users to play around with it.