[ANN] Serenade 0.3.0

16 views
Skip to first unread message

jnicklas

unread,
Oct 5, 2012, 12:11:42 PM10/5/12
to seren...@googlegroups.com
Hello everyone!

Thanks to my partner in crime Kim Burgestrand we managed to push out a new release. Many thanks to all who contributed!

There is a new Ruby gem for Serenade, which makes it possible to use Serenade outside a Rails app: https://github.com/elabs/serenade.rb

/Jonas

------

Changed:
* Dropped support for IE8 and IE7
* Serenade.Model.extend no longer takes the name as the model as its first argument, send in only the constructor function.
* Use .toJSON instead of .serialize

Added:
* delegate method automatically delegates properties to other properties
* Lifecycle events on:load and on:unload can trigger events when nodes are added to and removed from the DOM.
* else clause for if statements (whoohoo!)
* Inverse relationships, use inverseOf on hasMany and belongsTo

Fixed:
* Various memory leaks
* Identity map updates when id is changed
* Better syntax errors
* Concat behaves correctly when given a collection
* don't update DOM unless it needs to change
* Serenade models with same name no longer interfere in identity map
* Nested if/in/unless statements no longer broken
* Parsed view is memoized for better performance
* Submit bindings now trigger before submit events
Reply all
Reply to author
Forward
0 new messages