|
1 | 1 | # Change log
|
2 | 2 |
|
3 |
| -## v0.11.1 |
4 |
| - |
5 |
| -- patch bump to fix what `npm` installs by default (I erronously published `v1.0.0-0` on without `--tag next`) |
| 3 | +## v1.0.0 (WIP) |
| 4 | + |
| 5 | + |
| 6 | +- Fix: Robust parsing of selectors. Comas, ampersands and class-like parts |
| 7 | + in strings are now ignored by the compiler. |
| 8 | +- Local scope is now per instance rather than per sheet. |
| 9 | + - `j2c.sheet()` and `j2c.inline()` return plain strings rather than |
| 10 | + `String` objects. |
| 11 | + - `j2c.names` holds the local -> global mappings for use in the (v)DOM. |
| 12 | +- Removed the partial auto-prefix insertion from the core. |
| 13 | +- Revamped the plugin system. |
| 14 | + - Removed `$postprocess` plugins that were taking and returning the full |
| 15 | + buffer. |
| 16 | + - Introduced `$filter` system that can patch values on the fly on their |
| 17 | + way between the compiler and the buffer. |
| 18 | + - Introduced `$sink` plugin that allow to subvert the sheet building |
| 19 | + process to implement systems like Radium or Descartes. |
| 20 | + - Introduced `$at` filters that can handle at-rules beside the ones that |
| 21 | + j2c supports out of the box. |
| 22 | +- Revamped the poorly named `@extend` into `@adopt`, based on @tivac's |
| 23 | + Modular CSS `composes`. The semantics are too distant from either `@extend` |
| 24 | + or `composes` to use their name witout introducing potential confusion, |
| 25 | + hence the new name. |
| 26 | + |
| 27 | + So: `j2c.sheet({'@adopt .foo': ['.bar']})` where foo is a local class that adopts the behavior of the global `.bar`. |
| 28 | +- Consecutive, identical selectors are deduped in the output. |
| 29 | +- Prefixed at-rules are treated like their unprefixed counterparts. |
| 30 | +- Added the `at()`, `global()` and `kv()` helpers. |
| 31 | +- Added `@local` as a counterpart to `@global`. |
| 32 | +- 2.2Kb mingzipped (+ ~500 bytes). |
| 33 | + |
| 34 | +## v0.11.1 (2016-03-8) |
| 35 | + |
| 36 | +- Patch bump to fix what `npm` installs by default (I erronously published `v1.0.0-0` on without `--tag next`) |
6 | 37 |
|
7 | 38 | ## v0.11.0
|
8 | 39 |
|
|
0 commit comments