What's new in EmberJS June 18 18 Jun 2012
A couple of breaking changes this week, if you’ve been following master, there’s a couple of quick tweaks that need to be made.
###Weekly Wrapup #7
Breaking Changes
-
d8383b creates an
Ember.Routesubclass ofEmber.State, if you’re using the new router, make sure you change over as there are currently no warnings. -
be6939 changes the arguments expected by
connectOutlet. Check out the commit comment for details, but the basic change is thatconnectOutletnow takes a single string to define the View and Controller, removing the magic. If you need to customize further it can also take a hash of name, outletName, viewClass, controller and context. -
The {{action}} helper got some big changes. It now calls stopPropagation and preventDefault automatically.
Improvements
-
2d26a36 adds naïve route sorting. This fixes a situation where a
:post_idwould always take precedence over anewsegment. Now it sorts based on substrings, segment length and dynamicism. -
Ember.Eventednow has one method to add a one-time eventListener. -
Ember.Eventedusestriggerinstead offireto keep in line with jQuery.
If I missed anything please let me know in the comments or on twitter.
Tweet