Please read the Feature Flag Guide for a detailed explanation.
-
ember-libraries-isregisteredAdd
isRegisteredtoEmber.libraries. This convenience method checks whether a library is registered with Ember or not. -
ember-routing-core-outletProvides a non-virtual version of OutletView named CoreOutletView. You would use CoreOutletView just like you're use OutletView: by extending it with whatever behavior you want and then passing it to the
{{outlet}}helper'sviewproperty.The only difference between them is that OutletView has no element of its own (it is a "virtual" view), whereas CoreOutletView has an element.
-
ember-application-visitProvides an API for creating an application instance and specifying an initial URL that it should route to. This is useful for testing (you can have multiple instances of an app without having to run serially and call
reset()each time), as well as being critical to for FastBoot. -
ember-application-instance-initializersSplits apart initializers into two phases:
- Boot-time Initializers that receive a registry, and use it to set up code structures
- Instance Initializers that receive an application instance, and use it to set up application state per run of the application.
In FastBoot, each request will have its own run of the application, and will only need to run the instance initializers.
In the future, tests will also be able to use this differentiation to run just the instance initializers per-test.
With this change,
App.initializerbecomes a "boot-time" initializer, and issues a deprecation warning if instances are accessed.Apps should migrate any initializers that require instances to the new
App.instanceInitializerAPI. -
ember-application-initializer-contextSets the context of the initializer function to its object instead of the global object.
Added in #10179.
-
ember-testing-checkbox-helpersAdd
checkandunchecktest helpers.check:Checks a checkbox. Ensures the presence of the
checkedattributeExample:
check('#remember-me').then(function() { // assert something });
uncheck:Unchecks a checkbox. Ensures the absence of the
checkedattributeExample:
uncheck('#remember-me').then(function() { // assert something });
-
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-htmlbars-component-generationEnables HTMLBars compiler to interpret
<x-foo></x-foo>as a component invocation (instead of a standard HTML5 style element). -
ember-htmlbars-inline-if-helperEnables the use of the if helper in inline form. The truthy and falsy values are passed as params, instead of using the block form.
Added in #9718.
-
ember-htmlbars-attribute-syntaxAdds the
class="{{color}}"syntax to Ember HTMLBars templates. Works with arbitrary attributes and properties.Added in #9721.
-
ember-htmlbars-each-inAdds a helper for enumerating over the properties of an object in a Handlebars templates. For example, given this data:
{ "Item 1": 1234, "Item 2": 3456 }
And this template:
The following output would be produced:
<p>Item 1: 1234</p> <p>Item 2: 3456</p>
-
ember-routing-transitioning-classesDisables eager URL updates during slow transitions in favor of new CSS classes added to
link-tos (in addition toactiveclass):ember-transitioning-in: link-to is not currently active, but will be when the current underway (slow) transition completes.ember-transitioning-out: link-to is currently active, but will no longer be active when the current underway (slow) transition completes.
Added in #9919
-
ember-metal-streamExposes the basic internal stream implementation as
Ember.Stream.Added in #9693
-
ember-htmlbars-each-with-indexAdds an optional second parameter to
{{each}}block parameters that is the index of the item.For example,
Added in #10160
-
ember-router-willtransitionAdds
willTransitionhook toEmber.Router. For example,Ember.Router.extend({ onBeforeTransition: function(transition) { //doSomething }.on('willTransition') });
Added in #10274
-
ember-views-component-block-infoAdds a couple utility methods to detect block/block param presence:
-
hasBlockAdds the ability to easily detect if a component was invoked with or without a block.
Example (
hasBlockwill befalse):Example (
hasBlockwill betrue): -
hasBlockParams
Adds the ability to easily detect if a component was invoked with block parameter supplied.
Example (
hasBlockParamswill befalse):Example (
hasBlockParamswill betrue):Addd in #10461
-
-
ember-routing-htmlbars-improved-actionsUsing the
(actionsubexpression, allow for the creation of closure-wrapped callbacks to pass into downstream components. The returned value of the(actionsubexpression (orsubmit={{action 'save'}}style subexpression) is a function. mut objects expose anINVOKEinterface making them compatible with action subexpressions.Per RFC #50
-
ember-htmlbars-get-helperThe Syntax:
{{get object path}}A new keyword/helper that can be used to allow your object and/or key values to be dynamic.
Example:
context = { displayedPropertyTitle: 'First Name', displayedPropertyKey: 'firstName' };
This allows the template to provide
displayedPropertyTitleanddisplayedPropertyKeyto render a list for a single property for each person.. E.g. a list of allfirstNames, orlastNames, orages.Addd in #11196
-
ember-htmlbars-helperImplements RFC emberjs/rfcs#53, a public helper api.
-
ember-htmlbars-dashless-helpersImplements RFC emberjs/rfcs#58, adding support for dashless helpers.
-
ember-debug-handlersImplemencts RFC emberjs/rfcs#65, adding support for custom deprecation and warning handlers.
-
ember-registry-container-reformImplements RFC emberjs/rfcs#46, fully encapsulating and privatizing the
ContainerandRegistryclasses by exposing a select subset of public methods onApplicationandApplicationInstance.Applicationinitializers now receive a single argument toinitialize:application.Likewise,
ApplicationInstanceinitializers still receive a single argument to initialize:applicationInstance.