We’re excited to announce the first public release candidate of Meteor 1.2, which is now ready for early testing. We have some more QA to do, but we wanted to get it in your hands as soon as possible. You can upgrade your app using:
meteor update --release METEOR@1.2-rc.11
Meteor 1.2 is the biggest new release of Meteor ever! Highlights include:
Faster application rebuild times, thanks to a new plugin architecture
Built-in support for ES6/ES2015 JavaScript features
Cross-package LESS and Stylus imports
Upgrades to Cordova mobile support
Official support for React and Angular as view layer alternatives to Blaze
The biggest things to keep in mind with the upgrade process are:
Upgrading to a 1.2 RC will modify your .meteor/packages file. When switching back to a previous version of Meteor, you’ll need to revert this change in your source control.
Package authors: Packages that depend on Meteor 1.2’s versions of coffeescript, less, stylus, or templating, or that use the new ecmascript or static-html packages, will only work with Meteor 1.2 or later, which is enforced by the constraint solver. In addition, we had to bump the major versions of less and stylus in order to enable cross-package imports, so if your package contains LESS or Stylus files, you’ll have to re-publish using the 2.x versions of these packages to make your package 1.2-compatible (breaking compatibility with previous versions of Meteor).
See the Meteor 1.2 Upgrade Guide for more details. We will continue to revise the Upgrade Guide between now and final release.
accounts-password doesn’t seem to log me in. Meteor.loggingIn is always true, Meteor.user() is always false.
Reload isn’t working. I have to manually refresh the page (who does that anymore!? ;)) It also won’t pick up when a new packages is added to .meteor/packages which I suppose is related.
The less and stylus packages now support cross-package imports! If you specify a file like @import “{package}/file.less” (with the curly braces), it will load the file from that package. Use @import “{}/file.less” to load a file from your app.
Does this mean we can finally pull in Bootstrap variables and reference them in our LESS/SCSS?
YOU, sir, just made my day! I no longer have to copy/paste big groups of Bootstrap variables into my stylesheets to reference them! How awesome is that?!