All Versions
246
Latest Version
2.5
Avg Release Cycle
57 days
Latest Release
916 days ago

Changelog History
Page 8

  • v1.9-alpha.9

    July 30, 2019
  • v1.9-alpha.8

    July 30, 2019
  • v1.9-alpha.7

    July 03, 2019
  • v1.9-alpha.10

    September 07, 2019
  • v1.8.3 Changes

    December 19, 2019

    Migration Steps

    • If your application uses blaze-html-templates, the Meteor jquery package will be automatically installed in your .meteor/packages file when you update to Meteor 1.8.3. However, this new version of the Meteor jquery package no longer bundles its own copy of the jquery npm implementation, so you may need to install jquery from npm by running sh meteor npm i jquery in your application directory. Symptoms of not installing jquery include a blank browser window, with helpful error messages in the console.

    ๐Ÿ”„ Changes

    • โšก๏ธ The meteor-babel npm package has been updated to version 7.7.4.

    • โšก๏ธ Node has been updated to version 8.17.0.

    • โšก๏ธ The npm npm package has been updated to version 6.13.4, and our fork of its pacote dependency has been updated to version 9.5.11, an important security release.

    • ๐Ÿ“ฆ Prior to Meteor 1.8.3, installing the jquery package from npm along with the Meteor jquery package could result in bundling jQuery twice. Thanks to PR #10498, the Meteor jquery package will no longer provide its own copy of jQuery, but will simply display a warning in the console if the jquery npm package cannot be found in your node_modules directory. If you are using blaze in your application, updating to Meteor 1.8.3 will automatically add this new version of the Meteor jquery package to your application if you were not already using it (thanks to PR #10801), but you might need to run meteor npm i jquery manually, so that blaze can import jquery from your node_modules directory.

    • โšก๏ธ The meteor-babel npm package has been updated to version 7.7.5.

    • โšก๏ธ The typescript npm package has been updated to version 3.7.3.

  • v1.8.3-rc.2

    December 18, 2019
  • v1.8.3-rc.1

    December 18, 2019
  • v1.8.3-rc.0

    December 18, 2019
  • v1.8.2 Changes

    July 30, 2019

    ๐Ÿ’ฅ Breaking changes

    • Module-level variable declarations named require or exports are no longer automatically renamed, so they may collide with module function parameters of the same name, leading to errors like Uncaught SyntaxError: Identifier 'exports' has already been declared. See this comment by @SimonSimCity.

    • ๐Ÿ”€ Plugin.fs methods are now always sync and no longer accept a callback.

    Migration Steps

    • โšก๏ธ Be sure to update the @babel/runtime npm package to its latest version (currently 7.7.2):

      meteor npm install @babel/runtime@latest
      
    • ๐Ÿ†• New Meteor applications now depend on [email protected], so it may be a good idea to update to the same major version:

      meteor npm install meteor-node-stubs@next
      
    • ๐Ÿ“ฆ If you are the author of any Meteor packages, and you encounter errors when using those packages in a Meteor 1.8.2 application (for example, module.watch being undefined), we recommend that you bump the minor version of your package and republish it using Meteor 1.8.2, so Meteor 1.8.2 applications will automatically use the new version of the package, as compiled by Meteor 1.8.2:

      cd path/to/your/package
      # Add api.versionsFrom("1.8.2") to Package.onUse in package.js...
      meteor --release 1.8.2 publish
      

      This may not be necessary for all packages, especially those that have been recently republished using Meteor 1.8.1, or local packages in the packages/ directory (which are always recompiled from source). However, republishing packages is a general solution to a wide variety of package versioning and compilation problems, and package authors can make their users' lives easier by handling these issues proactively.

    ๐Ÿ”„ Changes

    • โšก๏ธ Node has been updated to version 8.16.2.

    • โšก๏ธ The npm npm package has been updated to version 6.13.0, and our fork of its pacote dependency has been updated to version 9.5.9.

    • ๐Ÿ†• New Meteor applications now include an official typescript package, supporting TypeScript compilation of .ts and .tsx modules, which can be added to existing apps by running meteor add typescript.

    • ๐Ÿ†• New TypeScript-based Meteor applications can be created by running

      meteor create --typescript new-typescript-app
      

      This app skeleton contains a recommended tsconfig.json file, and should serve as a reference for how to make TypeScript and Meteor work together (to the best of our current knowledge). PR #10695

    • When bundling modern client code, the Meteor module system now prefers the "module" field in package.json (if defined) over the "main" field, which should unlock various import/export-based optimizations such as tree shaking in future versions of Meteor. As before, server code uses only the "main" field, like Node.js, and legacy client code prefers "browser", "main", and then "module". PR #10541, PR #10765.

    • ECMAScript module syntax (import, export, and dynamic import()) is now supported by default everywhere, including in modules imported from node_modules, thanks to the Reify compiler.

    • If you need to import code from node_modules that uses modern syntax beyond module syntax, it is now possible to enable recompilation for specific npm packages using the meteor.nodeModules.recompile option in your application's package.json file. See PR #10603 for further explanation.

    • ๐Ÿ— The Meteor build process is now able to detect whether files changed in development were actually used by the server bundle, so that a full server restart can be avoided when no files used by the server bundle have changed. Client-only refreshes are typically much faster than server restarts. Run meteor add autoupdate to enable client refreshes, if you are not already using the autoupdate package. Issue #10449 PR #10686

    • ๐Ÿ“ฆ The mongodb npm package used by the npm-mongo Meteor package has been updated to version 3.2.7.

    • โšก๏ธ The meteor-babel npm package has been updated to version 7.7.0, enabling compilation of the meteor/tools codebase with TypeScript (specifically, version 3.7.2 of the typescript npm package).

    • โšก๏ธ The reify npm package has been updated to version 0.20.12.

    • ๐Ÿ“ฆ The core-js npm package used by ecmascript-runtime-client and ecmascript-runtime-server has been updated to version 3.2.1.

    • ๐Ÿ“ฆ The terser npm package used by minifier-js (and indirectly by standard-minifier-js) has been updated to version 4.3.1.

    • โšก๏ธ The node-gyp npm package has been updated to version 5.0.1, and node-pre-gyp has been updated to 0.13.0.

    • โšก๏ธ The optimism npm package has been updated to version 0.11.3, which enables caching of thrown exceptions as well as ordinary results, in addition to performance improvements.

    • โšก๏ธ The pathwatcher npm package has been updated to version 8.1.0.

    • ๐Ÿ“ฆ The underscore npm package installed in the Meteor dev bundle (for use by the meteor/tools codebase) has been updated from version 1.5.2 to version 1.9.1, and @types/underscore has been installed for better TypeScript support.

    • In addition to the .js and .jsx file extensions, the ecmascript compiler plugin now automatically handles JavaScript modules with the .mjs file extension.

    • โž• Add --cordova-server-port option to override local port where Cordova will serve static resources, which is useful when multiple Cordova apps are built from the same application source code, since by default the port is generated using the ID from the application's .meteor/.id file.

    • ๐Ÿ“ฆ The --test-app-path <directory> option for meteor test-packages and meteor test now accepts relative paths as well as absolute paths.

  • v1.8.2-rc.9

    November 12, 2019