Xitrum 3.18

89 views
Skip to first unread message

Ngoc Dao

unread,
Aug 19, 2014, 4:39:52 AM8/19/14
to xitrum-f...@googlegroups.com
The Xitrum team would like to announce Xitrum 3.18:
https://github.com/xitrum-framework/xitrum/blob/master/CHANGELOG.rst

Notable changes:

1.

Fix a bug at page and action cache that occurs when the response content length is less than 1KB:
http://xitrum-framework.github.io/guide/3.18/en/cache.html

2.

Update Akka from 2.3.4 to 2.3.5:
https://groups.google.com/forum/#!topic/akka-user/c9tS2Q7pctA

Update Netty from 4.0.21 to 4.0.23:
http://netty.io/news/2014/08/14/4-0-22-Final.html
http://netty.io/news/2014/08/15/4-0-23-Final-and-4-1-0-Beta3.html

3.

You can now enable epoll in edge triggered mode for maximal performance and low latency. This feature is only available on Linux, because Netty uses native code that's only available on Linux. (Java NIO only supports level triggered mode.)

4.

Improve performance in development mode a little. In Xitrum 3.17, routes are always recollected at each request. Now, routes are only recollected when files are modified.

5.

You can now use swagger-codegen to automatically generate source code for client side, from Swagger doc annotations:
https://github.com/wordnik/swagger-codegen
http://xitrum-framework.github.io/guide/3.18/en/restful.html#documenting-api-with-swagger

-----

It's easy to update Xitrum in your project from 3.17 to 3.18, example:
https://github.com/xitrum-framework/xitrum-new/commit/cb88c3e38bdd356eb6eb150a7ebb93642bfe6eb5

1. In build.sbt:

Change:
libraryDependencies += "tv.cntt" %% "xitrum" % "3.17"
to:
libraryDependencies += "tv.cntt" %% "xitrum" % "3.18"

2. In config/xitrum.conf:

Add:
edgeTriggeredEpoll = false (or true, see above.)

Change:
useOpenSSL = false (or true)
to:
openSSL = false (or true)
Reply all
Reply to author
Forward
0 new messages