grass/CHANGELOG.md

82 lines
2.8 KiB
Markdown
Raw Normal View History

2020-07-06 10:24:29 -04:00
# 0.9.5
A small release fixing potential build issues and improving documentation.
This release is not published to NPM due to [a bug](https://github.com/rustwasm/wasm-pack/issues/837)
in `wasm-pack`.
2020-07-04 21:30:42 -04:00
# 0.9.4
2020-07-04 20:50:53 -04:00
- implement `@keyframes`
2020-07-04 21:30:42 -04:00
- don't strip newlines following comments in selectors
2020-07-04 20:50:53 -04:00
2020-07-04 14:38:12 -04:00
# 0.9.3
2020-07-04 20:50:53 -04:00
- fix parsing bugs for empty bracketed lists
- partially implement inverse units
- remove all remaining `todo!()`s from binary and unary ops
- parse keywords case sensitively
- various optimizations that make bulma about _6x faster_ to compile
2020-06-22 11:07:54 -04:00
# 0.9.2
2020-06-23 04:36:15 -04:00
- implement builtin functions `min` and `max`
- bugfixes for `@extend` and `selector-unify`
2020-07-02 10:51:49 -04:00
- allow `@content` to take arguments
2020-07-03 21:21:26 -04:00
- bugfixes for `@content`, for example it will no longer infinitely recurse for chained mixins
2020-07-03 06:53:55 -04:00
- better support queries in `@media`
2020-07-02 10:51:49 -04:00
- bugfixes for `@media`
2020-07-03 06:53:55 -04:00
- add support for splats, e.g. `rgba([1, 2, 3, 4]...)`
- resolve a number of parsing bugs for `@for`, variable declarations, selectors, and maps
2020-07-03 21:21:26 -04:00
- completely rewrite how styles are evaluated, allowing short circuiting of values like `false and unit(foo)` and `if(true, foo, unit(foo)`
2020-06-22 11:07:54 -04:00
2020-06-16 22:00:45 -04:00
# 0.9.1
2020-06-18 18:14:35 -04:00
This release is largely focused on `@extend`, but it also resolves some regressions resulting from the new parser.
2020-06-23 04:36:15 -04:00
- **implement `@extend`**
- properly document new API
- MVP implementation of `@supports`
- fix regression in which `@at-root` would panic when placed after a ruleset
- 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
2020-06-16 22:00:45 -04:00
2020-06-16 20:40:19 -04:00
# 0.9.0
This release is focused on setting up the groundwork for implementing `@extend` as well
as being able to compile Bootstrap.
2020-06-23 04:36:15 -04:00
- implement all builtin selector functions
- `selector-append`
- `selector-extend`
- `selector-nest`
- `selector-parse`
- `selector-replace`
- `selector-unify`
- `simple-selectors`
- `is-superselector`
- implement builtin function `content-exists`
- allow `@import`, `@warn`, and `@debug` in all contexts, such as inside `@mixin`
- refactor control flow evaluation, resolving some issues blocking Bootstrap
2020-06-16 20:40:19 -04:00
#### Breaking Changes
2020-06-23 04:36:15 -04:00
- remove the `StyleSheet` struct in favor of freestanding functions, `from_string` and `from_path`
2020-06-16 20:40:19 -04:00
2020-05-25 16:23:10 -04:00
# 0.8.3
This release is largely focused on performance and robustness
2020-06-23 04:36:15 -04:00
- 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%
2020-05-25 16:23:10 -04:00
# 0.8.2
This release contains significant (>10x) improvements for WASM speed.
Performance is now comparable to libsass bindings with `node-sass` as
well as `dart-sass` with dart2js. It is, however, roughly 4x slower than
native `grass`.