Skip to content
  • 1.27.0
  • 8e35a44
  • Compare
    Choose a tag to compare
    Search for a tag
  • 1.27.0
  • 8e35a44
  • Compare
    Choose a tag to compare
    Search for a tag

@sassbot sassbot released this Oct 8, 2020 · 5 commits to master since this release

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

Changes

  • Adds an overload to map.merge() that supports merging a nested map.

    map.merge($map1, $keys..., $map2): The $keys form a path to the nested map in $map1, into which $map2 gets merged.

    See the Sass documentation for more details.

  • Adds an overloaded map.set() function.

    map.set($map, $key, $value): Adds to or updates $map with the specified $key and $value.

    map.set($map, $keys..., $value): Adds to or updates a map that is nested within $map. The $keys form a path to the nested map in $map, into which $value is inserted.

    See the Sass documentation for more details.

  • Add support for nested maps to map.get(). For example, map.get((a: (b: (c: d))), a, b, c) would return d. See the documentation for more details.

  • Add support for nested maps in map.has-key. For example, map.has-key((a: (b: (c: d))), a, b, c) would return true. See the documentation for more details.

  • Add a map.deep-merge() function. This works like map.merge(), except that nested map values are also recursively merged. For example:

    map.deep-merge(
      (color: (primary: red, secondary: blue),
      (color: (secondary: teal)
    ) // => (color: (primary: red, secondary: teal))
    

    See the Sass documentation for more details.

  • Add a map.deep-remove() function. This allows you to remove keys from nested maps by passing multiple keys. For example:

    map.deep-remove(
      (color: (primary: red, secondary: blue)),
      color, primary
    ) // => (color: (secondary: blue))
    

    See the Sass documentation for more details.

  • Fix a bug where custom property values in plain CSS were being parsed as normal property values.

Dart API

  • Add a Value.tryMap() function which returns the Value as a SassMap if it's a valid map, or null otherwise. This allows function authors to safely retrieve maps even if they're internally stored as empty lists, without having to catch exceptions from Value.assertMap().

See the full changelog for changes in earlier releases.

Assets 7
  • 1.26.12
  • ec0bab5
  • Compare
    Choose a tag to compare
    Search for a tag
  • 1.26.12
  • ec0bab5
  • Compare
    Choose a tag to compare
    Search for a tag

@sassbot sassbot released this Oct 6, 2020 · 21 commits to master since this release

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

Changes

  • Fix a bug where nesting properties beneath a Sass-syntax custom property (written as #{--foo}: ...) would crash.

See the full changelog for changes in earlier releases.

Assets 7
  • 1.26.11
  • f843f96
  • Compare
    Choose a tag to compare
    Search for a tag
  • 1.26.11
  • f843f96
  • Compare
    Choose a tag to compare
    Search for a tag

@sassbot sassbot released this Sep 18, 2020 · 23 commits to master since this release

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

Changes

  • Potentially breaking bug fix: selector.nest() now throws an error if the first arguments contains the parent selector &.

  • Fixes a parsing bug with inline comments in selectors.

  • Improve some error messages for edge-case parse failures.

  • Throw a proper error when the same built-in module is @used twice.

  • Don't crash when writing Infinity in JS mode.

  • Produce a better error message for positional arguments following named arguments.

See the full changelog for changes in earlier releases.

Assets 7
  • 1.26.10
  • 6565b45
  • Compare
    Choose a tag to compare
    Search for a tag
  • 1.26.10
  • 6565b45
  • Compare
    Choose a tag to compare
    Search for a tag

@sassbot sassbot released this Jul 6, 2020 · 37 commits to master since this release

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

Changes

  • Fixes a bug where two adjacent combinators could cause an error.

See the full changelog for changes in earlier releases.

Assets 7
  • 1.26.9
  • 9a89df2
  • Compare
    Choose a tag to compare
    Search for a tag
  • 1.26.9
  • 9a89df2
  • Compare
    Choose a tag to compare
    Search for a tag

@sassbot sassbot released this Jun 22, 2020 · 39 commits to master since this release

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

Changes

Assets 7
  • 1.26.8
  • 7d6dae0
  • Compare
    Choose a tag to compare
    Search for a tag
  • 1.26.8
  • 7d6dae0
  • Compare
    Choose a tag to compare
    Search for a tag

@sassbot sassbot released this Jun 5, 2020 · 41 commits to master since this release

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

Changes

Assets 7
  • 1.26.7
  • cf3ac21
  • Compare
    Choose a tag to compare
    Search for a tag
  • 1.26.7
  • cf3ac21
  • Compare
    Choose a tag to compare
    Search for a tag

@sassbot sassbot released this May 29, 2020 · 43 commits to master since this release

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

Changes

Assets 7
  • 1.26.6
  • 3ad2674
  • Compare
    Choose a tag to compare
    Search for a tag
  • 1.26.6
  • 3ad2674
  • Compare
    Choose a tag to compare
    Search for a tag

@sassbot sassbot released this May 28, 2020 · 44 commits to master since this release

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

Changes

Assets 4
  • 1.26.5
  • a7b0ad8
  • Compare
    Choose a tag to compare
    Search for a tag
  • 1.26.5
  • a7b0ad8
  • Compare
    Choose a tag to compare
    Search for a tag

@sassbot sassbot released this Apr 24, 2020 · 53 commits to master since this release

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

Changes

Assets 4
Mar 24, 2020
Avoid adding duplicate modules when importing forwarded stylesheets (#…
…973)

Avoid adding duplicate modules when importing forwarded stylesheets

In Google stylesheets that imported import-only stylesheets with many
forwards many of times, we were seeing Environment._globalModules grow
large enough that variable accesses were a problem. This addresses
that in several ways:

* Forwarded modules are now ignored if the module is already being
  forwarded.

* Module equality is more intelligent, so that shadowed and forwarded
  modules can be effectively de-duplicated.

* If a module would be fully shadowed by a later import *and* that
  module has no CSS, we no longer add an empty ShadowedModule to the
  module list.
You can’t perform that action at this time.