dart-sass

The reference implementation of Sass, written in Dart.

MIT License

Downloads
62.4M
Stars
3.8K
Committers
70

Bot releases are visible (Hide)

dart-sass - Dart Sass 1.54.4

Published by sassbot about 2 years ago

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

Changes

  • Improve error messages when passing incorrect units that are also out-of-bounds to various color functions.

See the full changelog for changes in earlier releases.

dart-sass - Dart Sass 1.54.3

Published by sassbot about 2 years ago

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

Changes

  • Release a native ARM64 executable for Mac OS.

See the full changelog for changes in earlier releases.

dart-sass - Dart Sass 1.54.2

Published by sassbot about 2 years ago

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

Changes

  • No user-visible changes.

See the full changelog for changes in earlier releases.

dart-sass - Dart Sass 1.54.1

Published by sassbot about 2 years ago

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

Changes

  • When unifying selectors for @extend and selector.unify(), ensure that :root, :scope, :host, and :host-context only appear at the beginning of complex selectors.

See the full changelog for changes in earlier releases.

dart-sass - Dart Sass 1.54.0

Published by sassbot about 2 years ago

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

Changes

  • Deprecate selectors with leading or trailing combinators, or with multiple combinators in a row. If they're included in style rules after nesting is resolved, Sass will now produce a deprecation warning and, in most cases, omit the selector. Leading and trailing combinators can still be freely used for nesting purposes.

    See https://sass-lang.com/d/bogus-combinators for more details.

  • Add partial support for new media query syntax from Media Queries Level 4. The only exception are logical operations nested within parentheses, as these were previously interpreted differently as SassScript expressions.

    A parenthesized media condition that begins with not or an opening parenthesis now produces a deprecation warning. In a future release, these will be interpreted as plain CSS instead.

  • Deprecate passing non-deg units to color.hwb()'s $hue argument.

  • Fix a number of bugs when determining whether selectors with pseudo-elements are superselectors.

  • Treat * as a superselector of all selectors.

Dart API

  • Add a top-level fakeFromImport() function for testing custom importers that use AsyncImporter.fromImport.

JS API

  • Add a charset option that controls whether or not Sass emits a @charset/BOM for non-ASCII stylesheets.

  • Fix Sass npm package types for TS 4.7+ Node16 and NodeNext module resolution.

See the full changelog for changes in earlier releases.

dart-sass - Dart Sass 1.53.0

Published by sassbot over 2 years ago

To install Sass 1.53.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 calling var() with an empty second argument, such as var(--side, ).

JS API

  • Fix a bug where meta.load-css() would sometimes resolve relative URLs incorrectly when called from a mixin using the legacy JS API.

Embedded Sass

  • Respect npm's proxy settings when downloading the embedded Sass compiler.

See the full changelog for changes in earlier releases.

dart-sass - Dart Sass 1.52.3

Published by sassbot over 2 years ago

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

Changes

  • Fix crash when trailing loud comments (/* ... */) appear twice in a row across two different imports which themselves imported the same file each.

See the full changelog for changes in earlier releases.

dart-sass - Dart Sass 1.52.2

Published by sassbot over 2 years ago

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

Changes

  • Preserve location of trailing loud comments (/* ... */) instead of pushing the comment to the next line.

See the full changelog for changes in earlier releases.

dart-sass - Dart Sass 1.52.1

Published by sassbot over 2 years ago

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

Changes

Command Line Interface

  • Fix a bug where --watch mode would close immediately in TTY mode. This was caused by our change to close --watch when stdin was closed outside of TTY mode, which has been reverted for now while we work on a fix.

See the full changelog for changes in earlier releases.

dart-sass - Dart Sass 1.52.0

Published by sassbot over 2 years ago

To install Sass 1.52.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 arbitrary modifiers at the end of plain CSS imports, in addition to the existing supports() and media queries. Sass now allows any sequence of identifiers of functions after the URL of an import for forwards compatibility with future additions to the CSS spec.

  • Fix an issue where source locations tracked through variable references could potentially become incorrect.

  • Fix a bug where a loud comment in the source can break the source map when embedding the sources, when using the command-line interface or the legacy JS API.

JS API

  • SassNumber.assertUnit() and SassNumber.assertNoUnits() now correctly return the number called on when it passes the assertion.

See the full changelog for changes in earlier releases.

dart-sass - Dart Sass 1.51.0

Published by sassbot over 2 years ago

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

Changes

  • Potentially breaking change: Change the order of maps returned by map.deep-merge() to match those returned by map.merge(). All keys that appeared in the first map will now be listed first in the same order they appeared in that map, followed by any new keys added from the second map.

  • Improve the string output of some AST nodes in error messages.

See the full changelog for changes in earlier releases.

dart-sass - Dart Sass 1.50.1

Published by sassbot over 2 years ago

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

Changes

Embedded Sass

  • The JS embedded host and the embedded compiler will now properly avoid resolving imports relative to the current working directory unless '.' is passed as a load path.

  • Fix a bug in the JS embedded host's implementation of the legacy JS API where imports that began with / could crash on Windows.

See the full changelog for changes in earlier releases.

dart-sass - Dart Sass 1.50.0

Published by sassbot over 2 years ago

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

Changes

  • @extend now treats :where() the same as :is().

Command Line Interface

  • Closing the standard input stream will now cause the --watch command to stop running.

Embedded Sass

  • Fix a bug where the JS embedded host crashed when invoking a legacy importer after resolving a relative filesystem import.

  • Improve error messages when returning non-Object values from legacy importers.

See the full changelog for changes in earlier releases.

dart-sass - Dart Sass 1.49.11

Published by sassbot over 2 years ago

To install Sass 1.49.11, 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 64-bit ARM releases on Linux.

Embedded Sass

  • The embedded compiler now correctly sets the id field for all OutboundMessages.

See the full changelog for changes in earlier releases.

dart-sass - Dart Sass 1.49.10

Published by sassbot over 2 years ago

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

Changes

  • Quiet deps mode now silences compiler warnings in mixins and functions that are defined in dependencies even if they're invoked from application stylesheets.

  • In expanded mode, Sass will now emit colors using rgb(), rbga(), hsl(), and hsla() function notation if they were defined using the corresponding notation. As per our browser support policy, this change was only done once 95% of browsers were confirmed to support this output format, and so is not considered a breaking change.

    Note that this output format is intended for human readability and not for interoperability with other tools. As always, Sass targets the CSS specification, and any tool that consumes Sass's output should parse all colors that are supported by the CSS spec.

  • Fix a bug in which a color written using the four- or eight-digit hex format could be emitted as a hex color rather than a format with higher browser compatibility.

  • Calculations are no longer simplified within supports declarations

See the full changelog for changes in earlier releases.

dart-sass - Dart Sass 1.49.9

Published by sassbot over 2 years ago

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

Changes

Embedded Sass

  • Fixed a bug where the legacy API could crash when passed an empty importer list.

See the full changelog for changes in earlier releases.

dart-sass - Dart Sass 1.49.8

Published by sassbot over 2 years ago

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

Changes

  • Fixed a bug where some plain CSS imports would not be emitted.

JS API

  • Fix a bug where inspecting the Sass module in the Node.js console crashed on Node 17.

Embedded Sass

  • Fix a bug where source map URLs were incorrectly generated when passing importers to the legacy API.

See the full changelog for changes in earlier releases.

dart-sass - Dart Sass 1.49.7

Published by sassbot over 2 years ago

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

Changes

Embedded Sass

  • First stable release the sass-embedded npm package that contains the Node.js Embedded Host.

  • First stable release of the sass_embedded pub package that contains the Embedded Dart Sass compiler.

See the full changelog for changes in earlier releases.

dart-sass - Dart Sass 1.49.6

Published by sassbot over 2 years ago

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

Changes

Embedded Sass

  • First stable release the sass-embedded npm package that contains the Node.js Embedded Host.

  • First stable release of the sass_embedded pub package that contains the Embedded Dart Sass compiler.

See the full changelog for changes in earlier releases.

dart-sass - Dart Sass 1.49.5

Published by sassbot over 2 years ago

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

Changes

Embedded Sass

  • First stable release the sass-embedded npm package that contains the Node.js Embedded Host.

  • First stable release of the sass_embedded pub package that contains the Embedded Dart Sass compiler.

See the full changelog for changes in earlier releases.