add newly passing tests

This commit is contained in:
ConnorSkees 2020-06-23 04:36:15 -04:00
parent 173a896ab0
commit 36530a3309
2 changed files with 35 additions and 29 deletions

View File

@ -1,46 +1,50 @@
# 0.9.2 # 0.9.2
- implement builtin functions `min` and `max` - implement builtin functions `min` and `max`
- bugfixes for `@extend` and `selector-unify`
# 0.9.1 # 0.9.1
This release is largely focused on `@extend`, but it also resolves some regressions resulting from the new parser. This release is largely focused on `@extend`, but it also resolves some regressions resulting from the new parser.
- **implement `@extend`**
- properly document new API - **implement `@extend`**
- MVP implementation of `@supports` - properly document new API
- fix regression in which `@at-root` would panic when placed after a ruleset - MVP implementation of `@supports`
- fix regression related to `@mixin` and `@function` scoping when combined with outer, local variables - fix regression in which `@at-root` would panic when placed after a ruleset
- remove most remaining `unwrap`s that could result in a panic - fix regression related to `@mixin` and `@function` scoping when combined with outer, local variables
- remove most remaining `unwrap`s that could result in a panic
# 0.9.0 # 0.9.0
This release is focused on setting up the groundwork for implementing `@extend` as well This release is focused on setting up the groundwork for implementing `@extend` as well
as being able to compile Bootstrap. as being able to compile Bootstrap.
- implement all builtin selector functions
- `selector-append` - implement all builtin selector functions
- `selector-extend` - `selector-append`
- `selector-nest` - `selector-extend`
- `selector-parse` - `selector-nest`
- `selector-replace` - `selector-parse`
- `selector-unify` - `selector-replace`
- `simple-selectors` - `selector-unify`
- `is-superselector` - `simple-selectors`
- implement builtin function `content-exists` - `is-superselector`
- allow `@import`, `@warn`, and `@debug` in all contexts, such as inside `@mixin` - implement builtin function `content-exists`
- refactor control flow evaluation, resolving some issues blocking Bootstrap - allow `@import`, `@warn`, and `@debug` in all contexts, such as inside `@mixin`
- refactor control flow evaluation, resolving some issues blocking Bootstrap
#### Breaking Changes #### Breaking Changes
- remove the `StyleSheet` struct in favor of freestanding functions, `from_string` and `from_path`
- remove the `StyleSheet` struct in favor of freestanding functions, `from_string` and `from_path`
# 0.8.3 # 0.8.3
This release is largely focused on performance and robustness This release is largely focused on performance and robustness
- implement smallint optimization for numbers, making some benchmarks 50% faster
- remove `bimap` as a dependency for storing named colors in favor of an ad hoc, more specialized data structure
- remove *dozens* of panics on malformed input
- use `beef::Cow` instead of `std::borrow::Cow`
- increase code coverage to 80%
- implement smallint optimization for numbers, making some benchmarks 50% faster
- remove `bimap` as a dependency for storing named colors in favor of an ad hoc, more specialized data structure
- remove _dozens_ of panics on malformed input
- use `beef::Cow` instead of `std::borrow::Cow`
- increase code coverage to 80%
# 0.8.2 # 0.8.2

View File

@ -37,15 +37,17 @@ css imports
@keyframes @keyframes
``` ```
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.
Features currently blocking Bootstrap are tracked [here](https://github.com/connorskees/grass/issues/4). Features currently blocking Bootstrap are tracked [here](https://github.com/connorskees/grass/issues/4).
## Features ## Features
### commandline ### commandline
(enabled by default): build a binary using clap (enabled by default): build a binary using clap
### random ### random
(enabled by default): enable the builtin functions `random([$limit])` and `unique-id()` (enabled by default): enable the builtin functions `random([$limit])` and `unique-id()`
In the future this feature will be removed when it is no longer necessary to rely on `rand` for In the future this feature will be removed when it is no longer necessary to rely on `rand` for
@ -73,9 +75,9 @@ cargo b --release
These numbers come from a default run of the Sass specification as shown above. These numbers come from a default run of the Sass specification as shown above.
``` ```
2020-06-22 2020-06-23
PASSING: 2772 PASSING: 2800
FAILING: 2321 FAILING: 2293
TOTAL: 5093 TOTAL: 5093
``` ```