Please read the Feature Flag Guide for a detailed explanation.
-
ember-routing-named-substatesAdd named substates; e.g. when resolving a
loadingorerrorsubstate to enter, Ember will take into account the name of the immediate child route that theerror/loadingaction originated from, e.g. 'foo' ifFooRoute, and try and enterfoo_errororfoo_loadingif it exists. This also adds the ability for a top-levelapplication_loadingorapplication_errorstate to be entered forloading/errorevents emitted fromApplicationRoute.Added in #3655.
-
ember-handlebars-caps-lookupForces Handlebars values starting with capital letters, like{{CONSTANT}}, to always be looked up onEmber.lookup. Previously, these values would be looked up on the controller in certain cases.Added in #3218
-
composable-computed-propertiesThis feature allows you to combine (compose) different computed properties together. So it gives you a really nice "functional programming" like syntax to deal with complex expressions.
Added in #3696.
-
query-params-newAdd query params support to the ember router. This is a rewrite of a previous attempt at an API for query params. You can define query param properties on route-driven controllers with the
queryParamsproperty, and any changes to those properties will cause the URL to update, and in the other direction, any URL changes to the query params will cause those controller properties to update.Added in #4008.
-
ember-runtime-test-friendly-promisesEmber.RSVP.Promise's are now ember testing aware- they no longer cause autorun assertions
- if a test adapter is provided, they still automatically tell the underlying test framework to start/stop between async steps.
Added in #4176
-
ember-routing-will-change-hooksFiner-grainedwillTransition-esque actions:willLeave: fires on routes that will no longer be active after the transitionwillChangeModel: fires on routes that will still be active but will re-resolve their models
Both of these hooks act like willTransition in the sense that they give you an opportunity to abort the transition before it happens. Common use cases include animating things away or prompting to user to deal with unsaved changes.
Added in #4760
-
ember-routing-consistent-resourcesAdds
.index,.loading, and.errorsub-routes for resources created even if no callback was provided.For example:
App.Router.map(function() { this.resource("home"); });
Prior to this feature
home.indexroute would not be created for the above resource.Added in #4251