update changelog and readme for 0.10.5
This commit is contained in:
parent
bc49c2b8ee
commit
92d367e934
89
CHANGELOG.md
89
CHANGELOG.md
@ -1,58 +1,69 @@
|
|||||||
|
# 0.10.5
|
||||||
|
|
||||||
|
- support compressed output
|
||||||
|
- support new builtin functions `math.div`, `map.set`
|
||||||
|
- support the HWB colorspace and builtin functions `color.hwb`, `color.blackness`, `color.whiteness`
|
||||||
|
- `:is` pseudo selector is now considered an alias of `:matches` in `@extend`
|
||||||
|
- support `$keys...` argument in `map.merge`
|
||||||
|
- `%` now implements the modulo operation, rather than finding the remainder. this mainly affects negative numbers
|
||||||
|
- fix parsing bug in which `/***/` in a selector would miss the closing `/`
|
||||||
|
|
||||||
# 0.10.4
|
# 0.10.4
|
||||||
|
|
||||||
- plain css `invert(..)` accepts numbers with any unit
|
- plain css `invert(..)` accepts numbers with any unit
|
||||||
- plain css imports (e.g. `@import url(foo)` or `@import "foo.css"`) are now emitted at the top of documents
|
- plain css imports (e.g. `@import url(foo)` or `@import "foo.css"`) are now emitted at the top of documents
|
||||||
|
|
||||||
# 0.10.3
|
# 0.10.3
|
||||||
|
|
||||||
- hyphen followed by interpolation is not treated as subtraction, e.g. `10-#{10}` => `10 -10` rather than `0`
|
- hyphen followed by interpolation is not treated as subtraction, e.g. `10-#{10}` => `10 -10` rather than `0`
|
||||||
- function arguments do not affect variables in outer scopes (fixes [#37](https://github.com/connorskees/grass/issues/37))
|
- function arguments do not affect variables in outer scopes (fixes [#37](https://github.com/connorskees/grass/issues/37))
|
||||||
- improve error messages for NaN with units passed to builtin functions
|
- improve error messages for NaN with units passed to builtin functions
|
||||||
|
|
||||||
# 0.10.2
|
# 0.10.2
|
||||||
|
|
||||||
- use `std::fs::OpenOptions` to open files ([#35](https://github.com/connorskees/grass/pull/35) by [@MidasLamb](https://github.com/MidasLamb))
|
- use `std::fs::OpenOptions` to open files ([#35](https://github.com/connorskees/grass/pull/35) by [@MidasLamb](https://github.com/MidasLamb))
|
||||||
|
|
||||||
# 0.10.1
|
# 0.10.1
|
||||||
|
|
||||||
- **implement `@use` and the module system**
|
- **implement `@use` and the module system**
|
||||||
- support the filter syntax for function arguments, e.g. `alpha(opacity=1)`
|
- support the filter syntax for function arguments, e.g. `alpha(opacity=1)`
|
||||||
- disallow certain at-rules in functions, resolving several panics
|
- disallow certain at-rules in functions, resolving several panics
|
||||||
- allow vendor-prefixed special CSS functions, e.g. `-webkit-calc(...)`
|
- allow vendor-prefixed special CSS functions, e.g. `-webkit-calc(...)`
|
||||||
- allow decimal percent selectors inside `@keyframes`
|
- allow decimal percent selectors inside `@keyframes`
|
||||||
- allow vendor-prefixed `@keyframes`
|
- allow vendor-prefixed `@keyframes`
|
||||||
- resolve parsing bug for maps involving silent comments
|
- resolve parsing bug for maps involving silent comments
|
||||||
- allow escaped `!` in selectors
|
- allow escaped `!` in selectors
|
||||||
- allow multiline comments in functions
|
- allow multiline comments in functions
|
||||||
- resolve several panics on malformed input when parsing bracketed lists
|
- resolve several panics on malformed input when parsing bracketed lists
|
||||||
- support NaN in all contexts
|
- support NaN in all contexts
|
||||||
- add support for unicode ranges
|
- add support for unicode ranges
|
||||||
- recognize plain CSS imports beginning with `//`, e.g. `@import "//fonts.googleapis.com/css?family=Droid+Sans";`
|
- recognize plain CSS imports beginning with `//`, e.g. `@import "//fonts.googleapis.com/css?family=Droid+Sans";`
|
||||||
- resolve integer overflows in `@for` when bounds were equal to `isize::MIN` and `isize::MAX`
|
- resolve integer overflows in `@for` when bounds were equal to `isize::MIN` and `isize::MAX`
|
||||||
- allow quoted strings in default function arguments
|
- allow quoted strings in default function arguments
|
||||||
|
|
||||||
# 0.10.0
|
# 0.10.0
|
||||||
|
|
||||||
- bugfixes for `@media` query regressions
|
- bugfixes for `@media` query regressions
|
||||||
- bugfixes for maps, arglists, and `@each`
|
- bugfixes for maps, arglists, and `@each`
|
||||||
- implement string interning for identifiers and style properties
|
- implement string interning for identifiers and style properties
|
||||||
- implement spec-compliant variable scoping
|
- implement spec-compliant variable scoping
|
||||||
- emit `@import` when importing `url(...)` or `*.css`
|
- emit `@import` when importing `url(...)` or `*.css`
|
||||||
- resolve all panics for malformed `@import`
|
- resolve all panics for malformed `@import`
|
||||||
- various optimizations that now allow us to compile bootstrap 10% faster than `libsass`
|
- various optimizations that now allow us to compile bootstrap 10% faster than `libsass`
|
||||||
- errors inside builtin functions use `inspect` to print values
|
- errors inside builtin functions use `inspect` to print values
|
||||||
- bugfixes for color and map equality (e.g. `red` == `#ff0000`)
|
- bugfixes for color and map equality (e.g. `red` == `#ff0000`)
|
||||||
- hide unimplemented command line flags
|
- hide unimplemented command line flags
|
||||||
- implement CLI options for `--quiet`, `--load-path` ([#22](https://github.com/connorskees/grass/pull/22) by @JosephLing), `--no-charset`, `--stdin`, and `--no-unicode`
|
- implement CLI options for `--quiet`, `--load-path` ([#22](https://github.com/connorskees/grass/pull/22) by @JosephLing), `--no-charset`, `--stdin`, and `--no-unicode`
|
||||||
- use unicode characters in error messages by default
|
- use unicode characters in error messages by default
|
||||||
- allow comma separated `@import` statements ([#23](https://github.com/connorskees/grass/pull/23) by @JosephLing)
|
- allow comma separated `@import` statements ([#23](https://github.com/connorskees/grass/pull/23) by @JosephLing)
|
||||||
- implement and correctly parse `!optional` in `@extend`
|
- implement and correctly parse `!optional` in `@extend`
|
||||||
- lazily evaluate `!default` variable values
|
- lazily evaluate `!default` variable values
|
||||||
- disallow interpolation in mixin and function names
|
- disallow interpolation in mixin and function names
|
||||||
- improve parsing for `@supports` and unknown at-rules
|
- improve parsing for `@supports` and unknown at-rules
|
||||||
|
|
||||||
## Breaking
|
## Breaking
|
||||||
- functions now take an `Options` struct
|
|
||||||
|
- functions now take an `Options` struct
|
||||||
|
|
||||||
# 0.9.5
|
# 0.9.5
|
||||||
|
|
||||||
|
@ -26,7 +26,6 @@ The large features remaining are
|
|||||||
indented syntax
|
indented syntax
|
||||||
css imports
|
css imports
|
||||||
@forward
|
@forward
|
||||||
compressed output
|
|
||||||
```
|
```
|
||||||
|
|
||||||
This is in addition to dozens of smaller features, edge cases, and miscompilations.
|
This is in addition to dozens of smaller features, edge cases, and miscompilations.
|
||||||
@ -74,6 +73,7 @@ cd grass
|
|||||||
cargo b --release
|
cargo b --release
|
||||||
./sass-spec/sass-spec.rb -c './target/release/grass'
|
./sass-spec/sass-spec.rb -c './target/release/grass'
|
||||||
```
|
```
|
||||||
|
|
||||||
Note: you will have to install [ruby](https://www.ruby-lang.org/en/downloads/),
|
Note: you will have to install [ruby](https://www.ruby-lang.org/en/downloads/),
|
||||||
[bundler](https://bundler.io/) and run `bundle install` in `./sass-spec/`.
|
[bundler](https://bundler.io/) and run `bundle install` in `./sass-spec/`.
|
||||||
This might also require you to install the requirements separately
|
This might also require you to install the requirements separately
|
||||||
@ -130,7 +130,6 @@ FAILING: 3651
|
|||||||
TOTAL: 5093
|
TOTAL: 5093
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
2020-02-03
|
2020-02-03
|
||||||
PASSING: 242
|
PASSING: 242
|
||||||
|
Loading…
x
Reference in New Issue
Block a user