Skip to content

Commit

Permalink
Update CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarzka authored May 30, 2020
1 parent 3c84b71 commit d2b33d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

May 30, 2020

As summary of changes from the RC-versions:

- **BREAKING** Removes the possibility to pass `::stylefy/with-classes` to `use-style` via options map (second argument of `use-style`). If you do this, a warning message is logged and the value is ignored. This feature has been marked as deprecated since version 1.3.0 (2018). If you have used `::stylefy/with-classes` in options map, you can easily replace it with `:class`. Notice that passing `::stylefy/with-classes` via style map (first argument of `use-style`) is still perfectly valid, this change is only related to the options map.
- Adds basic support for Server-Side Rendering (SSR). This means that we can now use `use-style` in the backend, when generating Hiccup code. This new feature does not affect how you use stylefy in the frontend. If you don't need SSR, you can simply omit it by doing nothing.
- `:class` in HTML attributes and `:stylefy.core/with-classes` in style map now support additional syntax: you can pass a string, a keyword or a vector of strings or keywords. You can also pass a vector of both keywords and strings if you wish. `nil` is also accepted and it will be ignored. Discussion: https://github.com/Jarzka/stylefy/issues/44
Expand Down

0 comments on commit d2b33d8

Please sign in to comment.