Is there a list somewhere showing the recommended versions of Handlebar to use with each of the Emberjs versions?
The hyperlinks on the Ember website have Ember 1.31 with Handlebar 1.2.1. The Handlebar website has version 1.3 as the most up-to-date download, which I've been using since Ember 1.2. Should I move back to Handlebar 1.2.1 for Ember 1.3.1?
The version tested with the release is the one expected to work correctly.
That being said it doesn't mean the future version of Handlebars won't work with it, but if a breaking change were to occur you may get yourself in trouble.
Handlebars 2.0 is recommended version for ember.js
Related
I'm trying to migrate an ember application from 1.10 to 1.11.4 (I'm on the way to upgrade the ember to the latest version). When I have upgraded the ember version most of the routes are not initialized (some did). Error on the console says "The route ... was not found". Also if I check using ember inspector most of the routes are not there. Working fine with 1.10.
Quite new to ember, tried for couple of days without any luck.Need some help from some experienced ember guys.
I have upgrade ember version in my project and got some exceptions :
Assertion Failed: Using {{view}} or any path based on it
('path/c-text.hbs' # L1:C0) has been removed in
Ember 2.0
how I should change
{{view}}
command?
Views are deprecated in Ember 2.0, you can use the ember-legacy-views addon to add them back in.
This addon enables legacy view support without deprecation notices in Ember.js 1.13. In Ember.js 2.0 views are not present at all, and this addon brings them back. After Ember 2.4 is released this addon will no longer be compatible with Ember. It should be used to provide extra time for migrating away from views, not as a permanent solution.
I am a bit confused regarding the ember websites "emberjs.com" and "ember-cli.com". Isn't ember-cli now a part of emberjs and documented at "emberjs.com"? If so, why have a different website for ember-cli? Also, why do the sites differ regarding the versions of the prerequisite JS frameworks? For example, the emberjs.com getting starting page says to use Node.js 0.12 or higher while the ember-cli.com site says to use the latest stable version of Node (version 4.0.x).
the emberjs.com getting starting page says to use Node.js 0.12 or
higher while the ember-cli.com site says to use the latest stable
version of Node (version 4.0.x).
Seems like emberjs.com is out of sync, you can create issue on emberjs.com website repository on GitHub or hope that it's already created and it will be resolved shortly. Also, there was as issue with bufferutil in Ember CLI + node.js 4.0, so they might wait until it's resolved, but for some reason it's recommended on ember-cli.com.
Isn't ember-cli now a part of emberjs and documented at "emberjs.com"?
It isn't part of Ember.js. It's part of Ember.js ecosystem. It's recommended tool to work with library and that's why examples in guides assume that you're using Ember CLI. But, you could also use Ember.js without Ember CLI by loading jQuery, Ember.js, Ember.js template compiler and working on globals.
Ember.js documents everything about library itself, how logic behind library works, core concepts. You have components, routing, controllers, models explained there, but you won't find information there how to add CoffeeScript to your project.
Ember CLI website documents everything about Ember CLI, which is tool that provides:
asset pipeline
a strong conventional project structure
powerful addon system for extension.
You can see in user-guide that it documents possible build configurations, how to make SASS or CoffeeScript working in your environment etc.
My ember 1.8 app is built with grunt CLI and migrating to ember CLI isn't working out, but I'm upgrading to ember 1.10 so can use HTMLbars. The app uses ember-i18n so after loading and resolving models as it transitions to the first View, I get the error 'helper named 't' could not be found'. In 'vendor\ember-i18n\lib\i18n.js' I tried changing 'Handlebars.registerHelper' to 'Ember.HTMLBars._registerHelper', but then I get various 'is undefined' errors out of the i18n component. I read that i18n isn't supported in ember 1.9+ but I need it to work. How can I update it to work in 1.10?
I hadn't realized that my i18n package, which hadn't been updated in a year, and doesn't support the latest Ember compiler, was a forked version (lawitschka). When I switched to the original project, which is up-to-date (jamesarosen), I was able to get my Locale 'label' setup working by changing 'Ember.I18n.set('translations', data)' to 'Ember.I18n.translations = data'.
I am trying to learn Ember.js by following TodoMVC example. I am quite confused on with versions of Ember, Ember Data and Handlebars are compatible. The tutorial states following
Blockquote
The latest release candidate (RC3) of Ember.js can be downloaded directly from the Ember.js website. Ember.js has two dependencies: jQuery and Handlebars. jQuery can be downloaded from at http://jquery.com/ and Handlebars can be downloaded at http://handlebarsjs.com/. This guide uses ember-data for managing model data. The latest development builds of Ember data can be downloaded at http://builds.emberjs.com/. The build compatible with RC3 has the SHA e324f0e.
The Ember RC3 is no longer in download link. It has RC5. Can any one please help me which versions should I use?
Thanks
Currently the latest versions are
handlebars 1.0
ember rc.5
ember-data 0.13
All of those versions were bumped within the last week, so there won't be a lot of information the web just yet. You can download them from their respective websites (for ember-data read the blog post on the emberjs website. The link is in the comments)
I'd suggest you use the latest versions if you're starting out. Not much has changed in ember since RC-3, so you won't miss anything. I suggest you read some of the blog posts on the ember site for the changes in each revision. The team is very good in putting up explanations on the blog regarding updates.