meteor v1.10.3-beta.2 Release Notes

Release Date: 2020-06-09 // 28 days ago

Previous changes from v1.10.2

  • 💥 Breaking changes

    • 📦 The babel-compiler package, used by both ecmascript and typescript, no longer supports stripping Flow type annotations by default, which may be a breaking change if your application (or Meteor package) relied on Flow syntax.

    Migration steps

    • 🔌 If you still need Babel's Flow plugins, you can install them with npm and then enable them with a custom .babelrc file in your application's (or package's) root directory: json { "plugins": [ "@babel/plugin-syntax-flow", "@babel/plugin-transform-flow-strip-types" ] }

    🔄 Changes

    • ➕ Adds support to override MongoDB options via Meteor settings. Code PR 📄 #10976, Docs PR 📄 #662

    • ⚡️ The meteor-babel npm package has been updated to version 7.9.0.

    • ⚡️ The typescript npm package has been updated to version 3.8.3.

    • 💻 To pass Node command line flags to the server node instance, now it is recommended to use SERVER_NODE_OPTIONS instead of NODE_OPTIONS. Since Meteor 0.5.3, Meteor allowed to pass node command line flags via the NODE_OPTIONS environment variable. However, since Node version 8 / Meteor 1.6 this has become a default node envar with the same behavior. The side effect is that this now also affects Meteor tool. The command line parameters could already be set separately via the TOOL_NODE_FLAGS envar. This is now also possible (again) for the server.

    • ⚡️ The version of MongoDB used by Meteor in development has been updated from 4.2.1 to 4.2.5. PR #11020

    • 📦 The url package now provides an isomorphic implentation of the WHATWG url() API. While remaining backwards compatible, you can now also import URL and URLSearchParams from meteor/url. These will work for both modern and legacy browsers as well as node.