Meteor 0.7.1 Release Brings Dev Accounts, Further Improvements
Version 0.7.1 includes added support to minimongo for what DeBergalis refers to on the Meteor blog as “more of the ‘estoteric corners’ of the MongoDB query language." With the new release comes better matching for Mongo's behavior when there are arrays in the document, as well as improved support for $nin, $ne, $not.
Aside from minimongo (Meteor's client-side Mongo emulator) improvements, the new release brings CSS preprocessing and sourcemaps, including:
- Add sourcemap support for CSS stylesheet preprocessors. Use sourcemaps for stylesheets compiled with LESS.
- Improve CSS minification to deal with @import statements correctly.
- Lint CSS files for invalid @ directives.
- Change the recommended suffix for imported LESS files from .lessimport to .import.less. Add .import.styl to allow stylus imports. .lessimport continues to work but is deprecated.
Oplog support has been available since Meteor 0.7.0, and DeBergalis says the 0.7.1 release “extends the set of MongoDB queries supported by the oplog driver to cover most of the common queries needed in production apps."
Oplog improvements in version 0.7.1 include the oplog tailing implementation for getting real-time database updates from MongoDB. As well as adding optimisations to avoid needless data fetches from MongoDB, Meteor version 0.7.1 also adds “support for all operators except $where and $near."
Meteor 0.7.1 launches developer accounts, a new login system for developers to manage deployed apps, replacing the old per-application password when deploying apps.
When deploying an app, developers will now be prompted for an email address. DeBergalis says the benefits of the Meteor developer accounts are various, and include being able to log in and log out from the command line, as well as being able to “type meteor whoami for that warm UNIXy feeling, and run meteor authorized to give other Meteor developers permissions to deploy your app and access its database and logs." Users should type meteor help at the command line to see the full suite of options.
Developers working on apps for the Meteor community are advised that users can sign in with their Meteor developer accounts, in the same way as the accounts-github and accounts-facebook packages allows them to sign in with their GitHub and Facebook accounts.
Version 0.7.1 includes a raft of updated dependencies, among them node: 0.10.25 (updated from 0.10.22), noting the workaround for specific Node versions from 0.7.0 is now removed; 0.10.25+ is supported. Other updated dependencies include coffeescript: 1.7.1 (from 1.6.3), websocket-driver: 0.3.2 (from 0.3.1) and jquery-waypoints: 2.0.4 (from 1.1.7) -- which contains backwards-incompatible changes.
Commenting on DeBergalis’s announcement of the 0.7.1 release on Hacker News, in a discussion around adding realtime to a simple rails app , user iguana responds “meteor.js is really cool, but it is not ready for production."
DeBergalis replies “Sure it is -- people are using Meteor in production already, and on multiple servers."
The 0.7.1 release was quickly followed by 0.7.1.2, responding to feedback from the community and fixing a bug that caused meteor to crash on Mac OSX when no computer name is set, and a work around for a bug that caused MongoDB to fail an assertion when using tailable cursors on non-oplog collections.
In a separate update, rc-0 for Meteor's new UI engine “blaze” -- set to completely eliminate Spark in version 0.8 -- has been announced.
On the meteor talk Google group, user Gadi Cohen comments on the release “Yes, yes, yes!!! This release, alongside the improvements in 0.7.1, are massive indications of how Meteor has matured, and is both extremely comforting and exciting for startups who took the risk to get on the Meteor train early."
Asked his thoughts on the recent updates, Ry Walker, the co-host of The Meteor Podcast said, “0.7.x updates are great, but I'm highly anticipating upcoming 0.8 and 1.0 — it's time more people see @meteorjs."
With the Meteor community expecting to see the 1.0 release in April or May, Meteor continues to rise in popularity. It was the third most starred GitHub repository in 2012 among open source projects, and its release was the largest in Hacker News history.
Craig Motlin Sep 01, 2014