Person 1.0 RC3


Today, we announced the third release candidate of Ember 1.0. As we said when we released RC1, all versions before the 1.0 final version will involve bug fixes and improvements, and there should be no major changes.

which performed

Since RC2, a series of performance improvements have been implemented.

  • When adjacent subviews are scheduled to be inserted, they are now batched together and inserted together instead of one at a time.

  • Object deletion is now asynchronous, which prevents unnecessary churn when destroying large interconnected object graphs.

  • The number of objects allocated during view rendering has been reduced.

Erik Bryn and Kris Selden support the ongoing performance work.

test

Many fixes and improvements have been made to App#reset, and the application state can now be cleared correctly when called. Usually this is only used for integration testing.

// before each integration test
App.reset();

Please note: App.reset() Now it brings its own running loop and no longer needs to be packaged in one.

A new preliminary job Embers Test Pack
already started. The goal of this project is to make testing Ember applications easier, especially when testing asynchronous. As this work matures, look forward to complete documentation, examples and guidelines.

Support Erik Bryn to study the integration testing methods of many community members including Jo Liss and Katie Gengler, and take the lead in the research will become the content of our official library.

Ember build

Every success CI Now run to publish its build results to
http://emberjs.com/builds. This should make reference and use easier The latest ember version.

Thanks to Stanley Stuart, Luke Melia, Erik Bryn and others for completing this setup.

New Input and TextArea helpers

TextField, TextArea with Checkbox The view now has a corresponding handle helper.

  {{view Ember.TextField valueBinding="name"}}
  {{view Ember.Checkbox  checkedBinding="isActive"}}
  {{view Ember.TextArea  valueBinding="name"}}

It can now be expressed as:

  {{input value=name}}
  {{input type=checkbox checked=isActive}}
  {{textarea value=name}}

We recommend using the “dynamic label” form instead of {{view}} Forms, because they are equivalent to static tags that we all know and love.

Note that when using dynamic tags, you don’t need to use Binding Suffix, and the quotation marks around the value must be removed. In this case, Ember interprets the quoted string as a static string.

Documentation

The API documentation has been improved and filled out by more community members than we mentioned here. Thank you all for your help!

Change log

complete Change log As always, it is available on Github.

Leave a Reply

Your email address will not be published. Required fields are marked *