Exciting news!
Finally, we've made it. Originally planned for the end of last year, the release date naturally grew and grew until ...now :-)
The version 2.0 introduces a lot of changes. Here are some of the biggest:
- upgrade to Rails 3.2
- I18n: pages and contents can be localized
- brand new API used by the new version of the LocomotiveCMS editor to push a site
- use assets pipeline and get rid of Jammit
- the engine is now a true Ruby on Rails mountable engine: all the classes are namespaced for instance.
- refactor the back-office UI as well as the inline editor from the bottom: Backbone / CoffeeScript / SASS / HTML5 forms
- refactor the way to build relationships between content types (belongs_to, has_many, many_to_many)
- editable elements can now be editable in one place but displayed on all the children
- pages can render JSON, XML too
- use the last versions of gems: Mongoid, HAML, ...etc.
- new documentation website
Moreover, the editor has been updated as well. For instance, you are now able to code your templates in HAML and use SASS or CoffeeScript to write your theme assets. That is a huge benefit and that will increase without any doubts your efficiency for sure.
Besides, you do not have to import manually your work into the engine anymore. We took Heroku as an inspiration in order to implement the "push" command. I suggest you to read the documentation about that (
http://doc.locomotivecms.com/editor/deployment). By the way, a nice and super useful desktop app is coming soon so that we will not have to type the editor commands from the Terminal anymore.
Okay, so now, you are wondering how to try the new version of the engine. Simple. Go to the new documentation website (
http://doc.locomotivecms.com), everything is well explained. But if it is not, just let us know !
For those who have websites running with an old version of the engine, I developed an upgrade script (check the script/upgrade.rb) file that I used to migrate my existing websites to the new version. Be careful, this script is absolutely not bullet proof. So please backup your Mongodb collections before testing it. I hope to write a nice guide about how to migrate an existing site in a safe way.
A few words to finish this article. Before going final, I want to tackle all the bugs that you, LocomotiveCMS users, will find during your tests. If you do not know how to solve them, that is fine but just fill an issue into Github. Actually, any help would be appreciated !
[Bold section] Here's what we need from the community to make this an amazing release: Documentation, ..., ... ,... . If you can take ownership over some piece, please come to the mailing list and let's work together!
Thank you so much guys, developers, contributors, testers, users, editor customers, to be so supportive !
Didier, Mario, & the LocomotiveCMS team