Announcing Meteor 1.2 – ES2015, Angular, React, and More
meteor update to upgrade your existing system.
There's a lot to talk about, so let's get right into it.
Official support for Angular and React
Meteor now includes official support for the Angular and React view engines alongside traditional Blaze templates. No matter which you choose, the rest of the Meteor stack works for you – live database queries, Optimistic UI updates, hot code push, and ES2015 features seamlessly tie in to all three engines. As you'd expect, components and other libraries built on React or Angular work well too.
Want a quick look at what each of the three options looks like in practice? We've got a Meteor tutorial in each flavor: Blaze, React, and Angular. Try them out, or use them as starting points for your own codebase. The React integration is a new set of MDG-maintained packages that build on the great React work done by the community. For Angular, we've pulled the popular
urigo:angular package (now just
angular) into core and integrated it with the balance of the Meteor stack. For more on how to use these new view layers, visit the Angular Meteor site and our Getting started with React in Meteor page.
We put quite a bit of work into mobile application development in Meteor 1.2 as well. Cordova is now at 5.2.0. (See the Cordova release notes for details on the changes.) A new
crosswalk package adds support for the Crosswalk plugin, which offers a much improved web engine on older Android devices. You can now install plugins from local filesystem and from Git URLs. And lastly, Meteor now uses a system installation of the Android SDK for Android builds instead of embedding build tools in the Meteor distribution itself, making it easier to keep the mobile toolchain up to date. If you don't have your own Android tools installed already, you can find more information about installing the Android SDK for Mac or Linux.
Faster builds and a more flexible platform
And much more
We've made many other changes across the stack, including performance improvements. Two notable examples: many live queries run more efficently, and we've enabled websocket compression using permessage-deflate to reduce on-the-wire bandwidth between a Meteor server and its connected clients.
As always, we couldn't do this without the help of the incredible Meteor community. Thanks to everyone who contributed code and issue reports to the project, to the rapidly growing number of you who've written Atmosphere packages, and to all of you who helped test 1.2 RCs and our early work on React, Angular, and ES2015. Enjoy!