Migrating to Meteor 2.5

How to migrate your application to Meteor 2.5.

Most of the new features in Meteor 2.5 are either applied directly behind the scenes (in a backwards compatible manner) or are opt-in. For a complete breakdown of the changes, please refer to the changelog.

The above being said, there are a few items that you should implement to have easier time in the future.

Cordova Android 10

Cordova Android v10 now enables AndroidX. If you use any cordova-plugin that depends or uses any old support library, you need to include the cordova-plugin-androidx-adapter cordova-plugin, otherwise you will get build errors.

Login with token

Meteor.loginWithToken from the new package accounts-passwordless was conflicting with another method with the same name on accounts-base so we had to rename the method of accounts-passwordless package to Meteor.passwordlessLoginWithToken, this change was released in Meteor 2.5.1.

Migrating from a version older than 2.4?

If you’re migrating from a version of Meteor older than Meteor 2.4, there may be important considerations not listed in this guide (which specifically covers 2.3 to 2.4). Please review the older migration guides for details:

Edit on GitHub
// search box