0.5.0 (commit log)
Most significant changes
Drastically reduce size of output JS.
fastOptJSreduced by ~590kfullOptJSreduced by ~140k
Remove Scalaz as a dependency.
Other changes
- Allow decimal percentages in keyframe rules.
- Add negation to length & resolutions.
- Add division to length & resolutions.
- The following JS-only methods have been moved from the
ext-reactmodule to thecoremodule.createStyleElementinstallStyle<style>.addToDocument()
- There is now a compile-time check that
styleFinputs are safe to be stored in aMap(which is (by default) what ScalaCss does under-the-hood). If you usestyleFwith custom data types, see the new section at the end of Functional Styles. - Defaults no longer use PlatformJS to determine autoprefixing rules. By default, all prefixes will be generated. You can re-enable this in your own defaults if you want to keep using PlatformJS.
- Remove
scalacss.ext.CssReset. It wasn't advertised and isn't appropriate here. - Refactor to expose less internal API. Everything now lives in
scalacss.internalwithscalacss._being a curated list of exports. - Upgrade dependencies:
- Scala.JS 0.6.12.
- Scalatags 0.6.0.
- scalajs-react 0.11.1
- scala-js-dom 0.9.1
- Update caniuse data to latest.
0.5.1 (commit log)
- Change object aliases in
Exportfromdeftovalso inner content can be imported. - Build for Scala 2.12.
- Upgrade dependencies:
- Scala.JS 0.6.13.
- Scalatags 0.6.2.
- UnivEq 1.0.2.
0.5.3-RC1 (commit log)
(Skipping 0.5.2 due to botched release)
background-clipnow has type-safe DSL.FontFacenames are now optional. When specified they are never modified and duplication is allowed. When not specified, they are given a unique name.- Upgrade dependencies:
- Scala.JS 0.6.14.
- Scalatags 0.6.3.
- Scalaz 7.2.9.
- scalajs-react 1.0.0-RC1.
0.5.3 (commit log)
scalacss.Defaultswas broken in that it always pointed to dev settings and never chose prod settings. This has been deprecated and replaced withscalacss.devOrProdDefaults. Unfortunately you can no longer import its members directly and must instead, store it in avalsomewhere in your project first.Upgrade dependencies:
- Scala to 2.11.11 & 2.12.2.
- Scala.JS 0.6.15.
- Scalatags 0.6.5.
- Scalaz 7.2.11.
- scalajs-react 1.0.0.
Compile for Scala 2.12 with
-opt:l:methodReplace all instance of
StreamwithList,VectororIterator
0.5.4 (commit log)
grid-template-areasnow has type-safe DSL and produces correct CSS.- Bugfix when adding > 26 separate stylesheets (thanks
@an-tex&@vmarc) - Timing functions using
.stepsnow default todirection=endwhen unspecified. (thanks@Myrddin27) - Upgrade dependencies:
- Scala 2.12.4
- Scala.JS 0.6.19
- Scalatags 0.6.7
- Scalaz 7.2.16
- scalajs-react 1.1.1
0.5.5 (commit log)
- CSS rules rendering in the same order as defined in the Scala code.
- New CSS attributes:
caret-colorfont-variantion-settingshanging-punctuationinitial-letteroverscroll-behavioroverscroll-behavior-xoverscroll-behavior-y
- New CSS values:
display: flow-rootfont-family: system-ui
- Type-safety added to CSS attributes:
background-repeat
- Upgrade dependencies:
- scala-js-dom 0.9.4
0.5.6
- New CSS attributes:
gappointer-eventsrow-gapuser-select
- New CSS values:
justify-content: start|end|left|right|baseline|first baseline|last baseline|space-evenly|stretch|safe center|unsafe center
- Upgrade dependencies:
- Scala 2.12.8
- Scala.JS 0.6.27
- Scalatags 0.6.8
- scalajs-react 1.3.1
- scala-js-dom 0.9.7
- UnivEq 1.0.6
If you like what I do —my OSS libraries, my contributions to other OSS libs, my programming blog— and you'd like to support me, more content, more lib maintenance, please become a patron! I do all my OSS work unpaid so showing your support will make a big difference.