Sass 1.99.0

1.99.0

Dart Sass 1.99.0

Added 1
  • Add support for parent selectors (&) at the root of the document, which are emitted as-is in the CSS output
Changed 2
  • User-defined functions named calc or clamp are no longer forbidden and will be used instead of the built-in functions if they exist without a namespace in the current module
  • User-defined functions whose names begin with - and end with -expression, -url, -and, -or, or -not are no longer forbidden
Deprecated 3
  • User-defined functions named EXPRESSION, URL, and ELEMENT, those that begin with - and end with -ELEMENT, and the same names with some lowercase letters are now deprecated due to conflicts with plain CSS functions
  • Calls to functions whose names begin with - and end with -expression and -url are deprecated if their behavior will change in the future
  • Calls to functions whose names begin with - and end with -progid:... are deprecated

To install Sass 1.99.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.

Changes

  • Add support for parent selectors (&) at the root of the document. These are emitted as-is in the CSS output, where they're interpreted as the scoping root.

  • User-defined functions named calc or clamp are no longer forbidden. If such a function exists without a namespace in the current module, it will be used instead of the built-in calc() or clamp() function.

  • User-defined functions whose names begin with - and end with -expression, -url, -and, -or, or -not are no longer forbidden. These were originally intended to match vendor prefixes, but in practice no vendor prefixes for these functions ever existed in real browsers.

  • User-defined functions named EXPRESSION, URL, and ELEMENT, those that begin with - and end with -ELEMENT, as well as the same names with some lowercase letters are now deprecated, These are names conflict with plain CSS functions that have special syntax.

    See the Sass website for details.

  • In a future release, calls to functions whose names begin with - and end with -expression and -url will no longer have special parsing. For now, these calls are deprecated if their behavior will change in the future.

    See the Sass website for details.

  • Calls to functions whose names begin with - and end with -progid:... are deprecated.

    See the Sass website for details.

See the full changelog for changes in earlier releases.

View original

Upgraded? How did it go?

Discussion