meteor v1.4.2.2 Release Notes

Release Date: 2016-11-15 // over 7 years ago
    • ⬆️ Node has been upgraded to version 4.6.2.

    • meteor create now has a new --full option, which generates an larger app, demonstrating development techniques highlighted in the Meteor Guide

    Issue #6974 PR #7807

    • 👍 Minimongo now supports $min, $max and partially supports $currentDate.

    Issue #7857 PR #7858

    • 🛠 Fix for Issue #5676 PR #7968

    • It is now possible for packages to specify a lazy main module:

      Package.onUse(function (api) {
      api.mainModule("client.js", "client", { lazy: true });
      });
      

      This means the client.js module will not be evaluated during app startup unless/until another module imports it, and will not even be included in the client bundle if no importing code is found. Note 1: packages with lazy main modules cannot use api.export to export global symbols to other packages/apps. Note 2: packages with lazy main modules should be restricted to Meteor 1.4.2.2 or later via api.versionsFrom("1.4.2.2"), since older versions of Meteor cannot import lazy main modules using import "meteor/<package name>" but must explicitly name the module: import "meteor/<package name>/client.js".