惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 司徒正美
Martin Fowler
Martin Fowler
V
V2EX
J
Java Code Geeks
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
小众软件
小众软件
S
SegmentFault 最新的问题
博客园_首页
宝玉的分享
宝玉的分享
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Hugging Face - Blog
Hugging Face - Blog
有赞技术团队
有赞技术团队
博客园 - 【当耐特】
Cloudbric
Cloudbric
P
Proofpoint News Feed
T
Threat Research - Cisco Blogs
博客园 - Franky
NISL@THU
NISL@THU
Latest news
Latest news
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
S
Securelist
Cisco Talos Blog
Cisco Talos Blog
W
WeLiveSecurity
博客园 - 三生石上(FineUI控件)
腾讯CDC
量子位
L
LINUX DO - 最新话题
大猫的无限游戏
大猫的无限游戏
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
O
OpenAI News
Google Online Security Blog
Google Online Security Blog
I
Intezer
T
Troy Hunt's Blog
美团技术团队
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
阮一峰的网络日志
阮一峰的网络日志
P
Privacy International News Feed
爱范儿
爱范儿
博客园 - 叶小钗
TaoSecurity Blog
TaoSecurity Blog
Project Zero
Project Zero
N
News | PayPal Newsroom
Help Net Security
Help Net Security
WordPress大学
WordPress大学
Jina AI
Jina AI
酷 壳 – CoolShell
酷 壳 – CoolShell
The Cloudflare Blog
IT之家
IT之家
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知

Ember.js Blog

Ember 7.0 Released Announcing the Official TypeScript Types Public Preview Accessibility Working Group Update The 2020 Ember Roadmap Countdown to The New Year - Built-in Addons Countdown to The New Year - Ember Exam Countdown to The New Year - Ember Code Snippet Countdown to The New Year - Ember Changeset Countdown to The New Year - Ember In Viewport Countdown to The New Year - Ember CLI Update Countdown to The New Year - Ember Template Invocation Location Countdown to The New Year - Ember CLI TypeScript Countdown to The New Year - Ember Bootstrap and Ember Paper Countdown to The New Year - Ember CSS Modules Countdown to The New Year - Ember Mapbox GL Countdown to The New Year - Ember Shepherd Countdown to The New Year - Ember Template Lint Countdown to The New Year - Ember Composable Helpers Countdown to The New Year - Ember Leaflet Countdown to The New Year - Ember Intl Countdown to The New Year - Ember Test Selectors Countdown to The New Year - Ember Power Select Countdown to The New Year - Ember Simple Auth Countdown to The New Year - Ember SVG Jar Countdown to The New Year - Ember Page Title Countdown to The New Year- Ember A11Y Testing Countdown to The New Year - Ember Angle Brackets Codemod Countdown to The New Year - Ember CLI Sass Countdown to The New Year - Ember Animated Countdown to The New Year - Ember Auto Import Countdown to The New Year - Ember Concurrency Countdown to The New Year - Ember Tether Countdown to The New Year - Ember Modifier Countdown to The New Year - Ember CLI Mirage Countdown to The New Year - Ember Sortable Coming Soon in Ember Octane - Part 5: Glimmer Components Coming Soon in Ember Octane - Part 4: Modifiers Coming Soon in Ember Octane - Part 3: Tracked Properties Coming Soon in Ember Octane - Part 2: Angle Brackets & Named Arguments Preview Weekend: 2019 Ember Community Survey Coming Soon in Ember Octane - Part 1: Native Classes First Annual DecEmber Event! 2018 Ember Community Survey 2017 Ember Community Survey Announcing The Glimmer 2 Alpha Upcoming deprecation of baseURL in Ember CLI 2.7 2016 Ember Community Survey Announcing Ember Core Team Face to Face, January 2016 Ember.js 1.13.0 and 2.0 Beta Released Another Ember 2.x Status Update Ember.js 1.12 and 1.13 Beta (Glimmer!) Released Ember.js 1.11.1 Released Ember.js 1.11.0 and 1.12 Beta Released Ember.js 1.10.0 and 1.11 Beta Released Compiling templates with Ember 1.10 Core Team Meeting Minutes - 2014/08/01 Core Team Meeting Minutes - 2014/08/14 Core Team Meeting Minutes - 2014/09/12 Cleaning Up Github Issues Core Team Meeting Minutes - 2014/07/11 Core Team Meeting Minutes - 2014/07/25 Core Team Meeting Minutes - 2014/06/13 Core Team Meeting Minutes - 2014/06/20 Core Team Meeting Minutes - 2014/06/27 Core Team Meeting Minutes - 2014/06/06 Core Team Meeting Minutes - 2014/04/25 Core Team Meeting Minutes - 2014/04/04 Ember 1.5.0 and 1.6 Beta Released Core Team Meeting Minutes - 2014/03/07 Core Team Meeting Minutes - 2014/03/14 Core Team Meeting Minutes - 2014/03/21 Core Team Meeting Minutes - 2014/02/28 Core Team Meeting Minutes - 2014/02/21 Core Team Meeting Minutes - 2014/02/14 Ember 1.4.0 and 1.5 Beta Released Core Team Meeting Minutes - 2014/01/27 Core Team Meeting Minutes - 2014/01/31 Core Team Meeting Minutes - 2014/02/07 Core Team Meeting Minutes - 2014/01/17 Core Team Meeting Minutes - 2014/01/03 Ember 1.3.0 and 1.4 Beta Released Core Team Meeting Minutes - 2013/12/20 Core Team Meeting Minutes - 2013/12/06 Ember 1.2.0 and 1.3 Beta Released Ember 1.1.2 Released Ember 1.1.1 and 1.2 Beta Released Ember 1.0 Released Ember 1.0 RC8 Released Ember 1.0 RC7 Released Ember 1.0 RC6.1, RC5.1, RC4.1, RC3.1, RC2.1 RC1.1 Released Ember 1.0 RC6 Ember 1.0 RC5 Ember 1.0 RC4 Ember 1.0 RC3 Announcing the Ember.js Security Policy Ember 1.0 RC2 Ember 1.0 RC Ember 1.0 Prerelease 2 Ember 1.0 Prerelease
Ember Data v2.0 Released and v2.1 Beta Released
2015-09-02 · via Ember.js Blog

We are excited to announce the release of Ember Data 2.0, the second stable release since 1.13 that includes significant improvements, cleanup, and cruft removal.

As previously discussed, Ember Data releases occur in lockstep with Ember, to help developers better reason about compatibility between these libraries. Ember Data 2.0 is designed to be used in tandem with Ember 2.0, and like Ember 2.0, we have used the occasion of a new major version number to remove deprecated features and clean up the code.

Ember Data 2.0 is about removing deprecated functionality, not adding new features. If you've already started using Ember Data 1.13 and cleared the deprecations, you should find upgrading to Ember Data 2.0 to be very straightforward.

JSON API

In the Ember Data 1.13 blog post, we described how we had overhauled Ember Data's internals to use JSON API from top to bottom.

Using JSON API dramatically simplified internal code and APIs, but I want to emphasize that moving to JSON API internally does not affect your applications, and you are in no way required to use JSON API yourself to upgrade to newer versions of Ember Data.

The adapters that determine how your application talks to the backend server remain unchanged, but this change should make the lives of adapter authors much simpler going forward.

Unsaved Deleted Records

There is one significant breaking change in the move from 1.13 to 2.0. The short version of this change is locally deleted (unsaved) records are no longer removed from RecordArrays and hasMany arrays. Ember Data now removes the deleted record only after the delete has been confirmed by the backend. There is also a new addon to make it easier to implement the old behavior.

In Ember Data 1.13, once a record was marked as deleted, it was removed from all of the RecordArrays and hasMany arrays it belonged to. This made it difficult to create UIs where users could "un-delete" records.

For example, imagine you are building a document viewer app using Ember Data. You show the user a list of documents they have access to. When the user deletes a document, you want it to remain in the list, but with a different visual treatment to indicate that it has been deleted locally (i.e., not saved back to the server).

Example UI with deleted document

Building this UI was difficult because the record would be removed from the list as soon as you called deleteRecord() on the model.

In Ember Data 2.0, this will be a lot easier because records are no longer removed from hasMany relationships or RecordArrays until the delete has been acknowledged by the adapter. Note that Although deleted records will be visible in hasMany relationships, they will not be serialized when saving these relationships back to the server.

To make the transition easier, the Ember Data team (with help from Clemens Müller) has released an addon called Ember Data Live filterBy. This allows the filterBy method on RecordArrays and hasMany relationships to return a live filtered subset of the original array. This can be used to filter out deleted but unsaved records to preserve the old behavior, where records are removed from collections as soon as they are deleted. This addon work with Ember Data 1.13 and Ember Data 2.0.

App.PostController = Ember.Controller.extend({
  allPosts: function() {
    return this.store.peekAll('post');
  }.property()
  allUndeletedPosts: function() {
    return this.store.peekAll('post').filterBy('isDeleted', false, { live: true });
  }.property()
});

Ember Data 2.1 Beta

Ember Data data 2.1 will be the first release following Ember's 6 week release cycle. Rather then rush new features into the beta before they are ready, Ember Data 2.1 will not contain any new features or deprecations. Instead the Ember Data team is going to spend this cycle fixing issues, updating documentation and planning features for future 2.x releases.

CHANGELOGS