Chicago Boss 0.3.3 is available

3 views
Skip to first unread message

Evan Miller

unread,
May 28, 2010, 10:03:24 AM5/28/10
to ChicagoBoss
Features:

Data validation, I18n, support for integer/float/binary attributes


Download:

http://www.chicagoboss.org/download.html


Release notes:

* New data validation mechanism (may break existing apps)

+ Record:save() returns {ok, SavedRecord} | {error, Errors}
instead of SavedRecord

+ New function: Record:validate() returns ok | {error, Errors}

+ Validation errors are generated from a validation_tests()
function in each model; see
http://www.chicagoboss.org/api-record.html#validate


* Comprehensive I18n, including smart handling of the
Accept-Language header, message extraction from templates and models,
and automatic translation with Google Translate:

+ See http://www.chicagoboss.org/guide-i18n.html


* Integer/float/binary attributes: The Tyrant BossDB driver now
serializes and deserializes integers, floats, and binaries that are
passed to it. E.g., "prime_number:new(id, 5)" is permitted. Sorting
works as expected on these fields, with one known bug: sorting a
mixture of integers and floats will put the floats first.


* Erlang R13A or greater is required with this release.


Send questions to the list.

--
Evan Miller
http://www.evanmiller.org/

Reply all
Reply to author
Forward
0 new messages