pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/ruby-sass

Module Name:    pkgsrc
Committed By:   taca
Date:           Sun Dec 13 16:14:53 UTC 2015

Modified Files:
        pkgsrc/www/ruby-sass: Makefile distinfo

Log Message:
Update ruby-sass to 3.4.20.

3.4.20 (09 December 2015)

* Fix a bug with the rounding changes from 3.4.14 and 3.4.15 where some
  negative numbers would incorrectly be rounded up instead of down.
* Better compression for :nth pseudoselectors with subtraction. Issue #1650
* Add support for the new supports() clause for CSS @import directives.
* Rounding numbers now respects Sass’s precision setting for numbers very
  close to half an integer.
* Add support for the q unit, representing one quarter of a millimeter.
* Mitigate a race condition when multiple threads are using the same
  Sass::Plugin object at once.
* In compressed mode, numbers between -1 and 1 now have the leading 0 omitted.
* Source maps now include source ranges for comments.

Deprecation – Must Read!

Certain ways of using #{} without quotes in property and variable values have
been deprecated in order to simplify the feature.

Currently, #{} behaves unpredictably. If it’s used near operators, it will
cause those operators to become part of an unquoted string instead of having
their normal meaning. This isn’t an especially useful feature, and it makes
it hard to reason about some code that includes #{}, so we’re getting rid of

In the new world, #{} just returns an unquoted string that acts like any other
unquoted string. For example, foo + #{$var} will now do the same thing as foo
+ $var, instead of doing the same thing as unquote("foo + #{$var}").

In order to ease the transition, Sass will now emit deprecation warnings for
all uses of #{} that will change behavior in 4.0. We don’t anticipate many
warnings to appear in practice, and you can fix most of them automatically by
running sass-convert --in-place on the affected files.

For more details, see the blog post on the deprecation and the GitHub issue in
which it was planned.

To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/www/ruby-sass/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/www/ruby-sass/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index