Xitrum 3.13: Update Scala to 2.11.1 and support WebJars

72 views
Skip to first unread message

Ngoc Dao

unread,
May 23, 2014, 9:34:03 PM5/23/14
to xitrum-f...@googlegroups.com
I would like to announce Xitrum 3.13:

1. Scala 2.11.1

This release is mainly for updating Scala from 2.11.0 to 2.11.1.

From Scala 2.11.1 release note (https://groups.google.com/forum/#!topic/scala-user/rnmQP4rsRD8): This release brings an important fix for serialization, which was broken in Scala 2.11.0. Users of distributed systems that rely on serialization to exchange objects (such as Akka) should upgrade to Scala 2.11.1 immediately.

Akka has also been updated from 2.3.2 to 2.3.3.

In short, you should update Xitrum in your project to 3.13.

2. WebJars

A notable new feature in Xitrum 3.13 is WebJars.

About WebJars:

Xitrum Guide about WebJars:

Note that method resourceUrl has been renamed to webJarsUrl.

3. SLF4S

SLF4S has been added to improve logging. With SLF4S you don't have to check log level before doing a heavy calculation to get something to log it out. See:

4. 

To update Xitrum in your project from 3.12 to 3.13, basically you only have to change 2 lines in build.sbt:

-scalaVersion := "2.11.0"
+scalaVersion := "2.11.1"

-libraryDependencies += "tv.cntt" %% "xitrum" % "3.12"
+libraryDependencies += "tv.cntt" %% "xitrum" % "3.13"

And in your project source code change resourceUrl to webJarsUrl (explained above).

Example:

5.

The UI of xitrum-demos has been improved a little:

Trivia:
Because this version is 3.13, the next version will be the "pi" number: 3.14

xitrum-demos-3.13.png

Ngoc Dao

unread,
May 24, 2014, 9:49:13 PM5/24/14
to xitrum-f...@googlegroups.com
You can now also see the guide about using WebJars in Xitrum at the WebJars homepage.
xitrum-webjars.png
Reply all
Reply to author
Forward
0 new messages