13 ms·
Ember.js 2.0 Released
- honest_joe 11y agoGlad this was a clean-up release.
- hknd 11y ago"Angle-Bracket Components and One-Way Data Flow" in the pipeline => Awesome!
- Dorian-Marie 11y agoDoesn't add new features Remove all depreciated features
- hliyan 11y agoSeems different to me: https://auth0.com/blog/2015/08/11/create-your-first-ember-2-dot-0-app-from-authentication-to-calling-an-api/ https://auth0.com/blog/2015/08/11/create-your-first-ember-2-... Especially the MVC -> Route-Glue-code-Component model (which I welcome). But yes, looking at the change log, it does feel like a bunch of deprications only.
- Rifu 11y agoMost of the big features happened on the road to 1.13 [0] http://emberjs.com/blog/2015/06/12/ember-1-13-0-released.html http://emberjs.com/blog/2015/06/12/ember-1-13-0-released.htm... [1] https://github.com/emberjs/ember.js/blob/v1.13.0/CHANGELOG.md https://github.com/emberjs/ember.js/blob/v1.13.0/CHANGELOG.m...
- nercury 11y ago> If your app runs on Ember 1.13 without raising deprecations, it should run on 2.0. Every framework should take note: that's how you avoid creating another framework and fragmenting community! It's is great to see this in action :). Amazing work.
- westoque 11y agoAgreed. This is how to handle deprecations gracefully.
- aikah 11y agoTo be fair, Angularjs (since you are obviously talking about it) backpedaled their "second system" a bit(since users complained loudly) and there is now some level of compat between the v1 and v2. But yeah, one shouldn't break apis to a point where each version is a brand new framework.
- jacquesm 11y ago> To be fair, Angularjs (since you are obviously talking about it) backpedaled their "second system" a bit(since users complained loudly) and there is now some level of compat between the v1 and v2. Why is that obvious? I can think of several other frameworks that this would apply to. Drupal for instance, Yii is another and there are quite a few more.
- aikah 11y agoBecause both Ember and Angular are front-end frameworks AND competitors. The issues with Yii and Drupal are a bit different. Yii is a serverside framework. And Drupal a CMS. I'd say the case with Drupal is way more problematic than Yii's though.
- jacquesm 11y agoGGP said framework, not front-end framework.
- andyfleming 11y agoI think both meanings are implied and definitely both percieved. The first have "every framework should take note" is more general, and I would mostly agree. The ember team has seemed to manage their project very well. Though I don't like the style of Ember itself, personally. There are often times with projects though where breaking changes are necessary for evolution of the software. I'm not sure if there were any major trade-offs with Ember. That may be because of good planning, but good planning like anything else takes resources, and often that resource is time. The "that's how you avoid creating another framework and fragmenting community" comment is pretty clearly about the angular mess last year, and rightly so. I have a love-hate relationship with Angular. It's been a complicated journey and at times handled poorly. They seem to be on a better track now. Regardless, I don't think there was any malintent in nercury's post. They are all good lessons learned.
- lclemente 11y agoThe file size (ember.min.js) went down due to the cleanup: 1.13.8: 488K, 126K gzipped 2.0.0: 424K, 110K gzipped
- iamstef 11y agoand shrinking :) We have some fun related work planned to continue the shrink. One thing to note, often we must trade-off bytes for supporting older features. As those go away, we shrink. But moving forward the plan it to have more of a pay-as-you-go model. Utilizing ember-cli to do the r.js optimize esq step, to strip unused portions etc. Nothing ground breaking, its tried tested and true in many other ecosystems. But when it lands it will provide nice value for our ember apps.
- makepanic 11y agothere's http://iao.fi/ember-size/ http://iao.fi/ember-size/ to watch ember size change over the years
- lclemente 11y agoCool, thanks!
- rimantas 11y agoOuch. That's about 8x the size I'd consider acceptable.
- j_jochem 11y agoIn 1999? Depending on what you're doing, ~100k of scripts is completely acceptable. If you just want some fancy UI interactions on a landing page, it is overkill though.
- masklinn 11y agoThat's not 100k of scripts here, that's 110k of minified, gzipped javascript before you've started writing your own application, and it doesn't include ember data.
- revskill 11y agoWhy didn't all JS Framework creators combine into one team to create only one true JS Framework ?
- xtrumanx 11y agoThere was a guy who joined the Knockout or Angular team (I forget which) since they had similar ideas for the future of their frameworks. Not too long later, he left them and restarted his project as their vision began to diverge. I don't know why anyone would want One True JS framework. Many of them provide different things. Angular has the kitchen-sink approach handling everything from templating, model-binding, routing and ajax requests and on the other end of the spectrum there are small libraries that do one thing well and encourage their users to adopt other libraries to do other stuff. Choice is a good thing.
- egeozcan 11y agoProbably you mean Rob Eisenberg, creator of Durandal[0] for Knockout.js. He first joined the Angular 2 team as they shared visions and Angular 2 was planned to be migratable from Durandal but after a while he left to create Aurelia[1]. [0]: http://durandaljs.com/ http://durandaljs.com/ [1]: http://aurelia.io/ http://aurelia.io/
- porker 11y agoI'm keeping an eye on http://aurelia.io/ http://aurelia.io/ - I like the way it's going. There's no doubt Rob Eisenberg is smart; whether they can build a community & get traction around Aurelia remains to be seen.
- cvrajeesh 11y agoRob Eisenberg - he started with a project called Durandal but now started a different one called aurelia [http://aurelia.io http://aurelia.io]
- trsben 11y ago> There was a guy who joined the Knockout or Angular team (I forget which) since they had similar ideas for the future of their frameworks. Not too long later, he left them and restarted his project as their vision began to diverge. http://eisenbergeffect.bluespire.com/leaving-angular/ http://eisenbergeffect.bluespire.com/leaving-angular/
- hliyan 11y agoWhere does Ember Data stand?
- MattBearman 11y agoThe post says you should use Ember Data 2.0.0-beta.1, and the official Ember Data 2.0 will be coming soon
- richerlariviere 11y agoI'm amazed with that kind of release. Ember didn't do the same thing like Angular, CakePHP, Python, etc. That ensure that the documentation and all the Stack Overflow questions will stay relevant.
- atonse 11y agoCongratulations to the Ember team! It's been a real pleasure upgrading each minor version with minimal headaches. I can't imagine making this process more simple – it's one of the main reasons I use Ember a lot (mature, well thought out moves like this).
- imauld 11y agoWill I need to update ember-cli or will it automagically use Ember 2.0?
- mixonic 11y agoTo use Ember 2.0 with Ember CLI 1.13.x, you just need to upgrade the Ember dependency. bower install --save ember#2.0.0 bower install --save ember-data#2.0.0-beta.1 If you have trouble, feel free to pop into the Ember Community Slack or use another resource for Q/A. Links are at: http://emberjs.com/community/ http://emberjs.com/community/
- iamstef 11y agoTL;DR We will be following with a new CLI shortly shortly more details commented here: https://news.ycombinator.com/item?id=10054332 https://news.ycombinator.com/item?id=10054332
- thejosh 11y agoSo I wanted to try it out, being a nodejs newbie I tried: sudo npm install -g ember-cli And it gave me: $ ember -v version: 1.13.8 Could not find watchman, falling back to NodeWatcher for file system events. Visit http://www.ember-cli.com/user-guide/#watchman http://www.ember-cli.com/user-guide/#watchman for more info. node: 0.12.7 npm: 2.13.4 os: linux x64 Is cli still 1.x?
- mixonic 11y agoEmber CLI will land its 2.0 release in the next few days, along with Ember Data. You can use Ember 2.0 with Ember CLI 1.13.x, just upgrade the dependency: bower install --save ember#2.0.0 bower install --save ember-data#2.0.0-beta.1 If you have trouble, feel free to pop into the Ember Community Slack or use another resource for Q/A. Links are at: http://emberjs.com/community/ http://emberjs.com/community/
- iamstef 11y agoone of the ember-cli maintainers here. CLI will be following closely with a relevant release. To ensure trying ember 2.0 is as smooth as possible. my apologies for any lag between the two project releases. For those interested (or concerned) the CLI is not coupled to the ember versions, it actually enables interested users to switch between versions. Obviously we believe in more curated experience (hence the in-bound CLI release) We take advantage of this version switching via https://github.com/kategengler/ember-try https://github.com/kategengler/ember-try which enables ember-addons to automatically test against multiple relevant versions of ember. see ember-meterial-lite travis run as an example https://travis-ci.org/mike-north/ember-material-lite https://travis-ci.org/mike-north/ember-material-lite
- paublyrne 11y agoTry installing Watchman with Brew if you're still having issues with Live Reload.
- sparaker 11y agoI was waiting for this. Thanks alot keep up the good work. Can't wait to start using it in this new app that i am trying to build for a while.
- outside1234 11y agoEmber is a really a great project and miles ahead of its competitors - thanks so much for your hard work and congrats on the release!
- fokinsean 11y agoThis is awesome! It is my dream that one day our team can move to ember from sproutcore...
- mrinterweb 11y agoOne dependency that has been holding me back is ember list-view https://github.com/emberjs/list-view https://github.com/emberjs/list-view. List-view does not work with Ember 1.13 and does not work with 2.0 since it does not support the new Glimmer engine. In a post on the ember site http://emberjs.com/blog/2015/06/16/ember-project-at-2-0.html http://emberjs.com/blog/2015/06/16/ember-project-at-2-0.html, they said "Starting with Ember 2.0, we will coordinate every release of Ember with releases of the main ecosystem tools maintained by the core team:" and list ember list-view as one of the main ecosystem tools. Without list-view, I can't upgrade my app past 1.12. I guess the best thing would be for me to quit complaining and just fix list-view, I just haven't had time available. I suppose the same is true for the maintainers. Is it planned for ember list-view to still be treated as part of the main ecosystem and updated to work with 2.0 soon?
- jonnii 11y agoI have the same problem. list-view 2.0 exists as a branch on krisseldens github (https://github.com/krisselden/list-view/network https://github.com/krisselden/list-view/network) and there have been other people forking from there. The implementation is _much_ simpler now due to glimmer, no more needing to get funky with ember internals. So it's essentially a re-write. I haven't tried the 2.0 branch myself, but it _should_ be a drop in replacement.
- mrinterweb 11y agoThat is good to know. I figured that ember-list view was likely using some private APIs and fiddling with the ember internals. It makes sense that the Glimmer engine would require a large amount rewrite work for list-view.
- zaius 11y agoI just finished getting this working - if you clone that branch there is an example ember-cli app inside tests that has some examples which are great starting points.
- joeevans1000 11y agoEmber is an interesting example of when an also-ran doesn't catch up in time. It was better than Angular, but React came along. This seems to be a pattern... something cool happens and then improved versions crop up, but by the time they get traction, the paradigm has shifted.
- steveklabnik 11y agoEmber's new Glimmer engine has the same tech as React does. (and slightly better in some circumstances, but IIRC React will be doing the same soonish.) These frameworks tend to help each other, not hinder.
- joeevans1000 11y agoSo... you can use Ember and React together? I didn't realize that.
- steveklabnik 11y agoIn theory you could, with components, but what I mean is that Ember's rendering technology now uses a similar but slightly more advanced form of React's.