meteor v1.10.2 Release Notes

Release Date: 2020-04-21 // almost 2 years ago
  • ๐Ÿ’ฅ 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.