Xitrum 3.12

23 views
Skip to first unread message

Ngoc Dao

unread,
May 19, 2014, 4:33:20 AM5/19/14
to xitrum-f...@googlegroups.com
I would like to announce Xitrum 3.12:
https://github.com/ngocdaothanh/xitrum/blob/master/CHANGELOG.rst

This release is mainly for fixing a memory leak at xitrum.util.UrlSafeBase64. This utility is used for encoding and decoding cookies. So if if you're using cookies or sessions, you should update to Xitrum 3.12.

Swagger improvement:
If you're using the Swagger feature in Xitrum (http://xitrum-framework.github.io/xitrum/guide/restful.html#documenting-api), you'll be happy to know that the Swagger UI page now embeds CSRF token to all requests from the Swagger UI to the server, so it's easier for you to test your actions that post data to server.

SeriDeseri improvement:
toBase64 and fromBase64 have been added to SeriDeseri.

WebSocket and SockJS improvement:
respondWebSocketJson and respondSockJsJson have been added. You can call them from your WebSocketAction or SockJsAction.

ParamAccess improvement:
These have been added:
val value = param[Char]("name")
val value = param[Boolean]("name")
val value = param[Byte]("name")
val value = param[Short]("name")

Note that param[Boolean] only converts the string "true" to true and the string "false" to false. If you use other value strings, you still have to handle the conversion yourself.

It's super easy to update Xitrum in your project from 3.11 to 3.12, example:
https://github.com/xitrum-framework/xitrum-new/commit/564c31c823354ef7bb75ae31408dd57e660aab4e

In the Xitrum Guide, list of Xitrum related projects has been added:
http://xitrum-framework.github.io/xitrum/guide/deps.html#related-projects

The Xitrum Homepage has been improved so that you can download the Xitrum Guide PDF in one click:
http://xitrum-framework.github.io/xitrum/

The boring default page of the Xitrum new project skeleton (https://github.com/xitrum-framework/xitrum-new) has been improved a little as seen in the attachment file of this message.
xitrum-new.png
Reply all
Reply to author
Forward
0 new messages