dart-sass/CHANGELOG.md

197 lines
5.1 KiB
Markdown
Raw Normal View History

2017-01-14 22:27:33 +01:00
## 1.0.0-alpha.9
* Support `&` within `@at-root`.
2017-01-14 22:43:40 +01:00
* Properly error when a compound selector is followed immediately by `&`.
2017-01-14 23:20:44 +01:00
* Properly handle variable scoping in `@at-root` and nested properties.
* Properly handle placeholder selectors in selector pseudos.
2017-01-15 02:38:57 +01:00
* Support `--$variable`.
2017-01-15 07:17:57 +01:00
* Don't consider unitless numbers equal to numbers with units.
* Warn about using named colors in interpolation.
2017-01-15 21:53:48 +01:00
* Don't emit loud comments in functions.
2017-01-16 00:05:28 +01:00
* Detect import loops.
2017-01-14 23:56:33 +01:00
* Fix `@import` with a `supports()` clause.
2017-01-15 00:08:55 +01:00
* Forbid functions named "and", "or", and "not".
2017-01-15 00:14:57 +01:00
* Fix `type-of()` with a function.
2017-01-15 00:30:44 +01:00
* Emit a nicer error for invalid tokens in a selector.
* Fix `invert()` with a `$weight` parameter.
* Fix a unit-parsing edge-cases.
2017-01-15 02:53:39 +01:00
* Always parse imports with queries as plain CSS imports.
2017-01-15 03:27:50 +01:00
* Support `&` followed by a non-identifier.
2017-01-15 05:09:34 +01:00
* Properly handle split media queries.
* Properly handle a placeholder selector that isn't at the beginning of a
compound selector.
2017-01-15 07:39:28 +01:00
* Fix more `str-slice()` bugs.
2017-01-15 07:54:13 +01:00
* Fix the `%` operator.
* Allow whitespace between `=` and the mixin name in the indented syntax.
2017-01-16 01:09:27 +01:00
* Fix some slash division edge cases.
2017-01-15 22:06:57 +01:00
2017-01-15 22:57:50 +01:00
* Fix `not` when used like a function.
* Fix attribute selectors with single-character values.
2017-01-16 00:24:35 +01:00
* Fix some bugs with the `call()` function.
* Properly handle a backslash followed by a CRLF sequence in a quoted string.
2017-01-27 03:49:05 +01:00
* Fix numbers divided by colors.
2017-01-08 23:49:26 +01:00
## 1.0.0-alpha.8
2017-01-09 07:05:23 +01:00
* 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.
2017-01-09 01:18:14 +01:00
* Disallow invalid function names.
2017-01-13 10:49:41 +01:00
* Disallow extending across media queries.
2017-01-09 08:28:08 +01:00
* Properly parse whitespace after `...` in argument declaration lists.
2017-01-09 02:10:15 +01:00
* Support terse mixin syntax in the indented syntax.
2017-01-08 23:49:26 +01:00
* Fix `@at-root` query parsing.
2017-01-09 01:04:00 +01:00
* Support special functions in `@-moz-document`.
2017-01-09 01:25:50 +01:00
* Support `...` after a digit.
2017-01-09 06:39:30 +01:00
* Fix some bugs when treating a map as a list of pairs.
2016-12-29 21:30:31 +01:00
## 1.0.0-alpha.7
* 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.
2016-12-29 21:30:31 +01:00
* Fix a few more small `@extend` bugs.
* Fix a bug where interpolation in a quoted string was being dropped in some
circumstances.
2017-01-07 02:16:43 +01:00
* 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.
## 1.0.0-alpha.6
* 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.
2016-12-19 07:19:50 +01:00
* Interpolation in quoted strings now properly preserves newlines.
2016-12-19 03:54:48 +01:00
* 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.
2016-12-20 00:23:14 +01:00
* Fix a few small `@extend` bugs.
## 1.0.0-alpha.5
* Fix bounds-checking for `opacify()`, `fade-in()`, `transparentize()`, and
`fade-out()`.
* Fix a bug with `@extend` superselector calculations.
2016-12-10 02:22:53 +01:00
* Fix some cases where `#{...}--` would fail to parse in selectors.
2016-12-10 01:41:47 +01:00
* 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.
2016-12-11 00:04:09 +01:00
* Move plain CSS `@import`s to the top of the document.
## 1.0.0-alpha.4
2016-11-14 20:17:03 +01:00
* Add support for bracketed lists.
* Add support for Unicode ranges.
* Add support for the Microsoft-style `=` operator.
2016-11-14 20:17:03 +01:00
* Print the filename for `@debug` rules.
* Fix a bug where `1 + - 2` and similar constructs would crash the parser.
2016-11-14 20:17:03 +01:00
* 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`.
## 1.0.0-alpha.3
2016-11-08 03:49:05 +01:00
* 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.
2016-11-03 01:00:03 +01:00
* Emit colors without an original representation as names if possible.
## 1.0.0-alpha.2
* Fix a bug where variables, functions, and mixins were broken in imported
files.
2016-10-31 21:18:47 +01:00
## 1.0.0-alpha.1
2016-05-21 00:05:38 +02:00
2016-10-31 21:18:47 +01:00
* Initial alpha release.