Migrating to Meteor 2.12
Most of the new features in Meteor 2.12 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.
Old API Warning
With our migration to the new async/await API, we have added a warning to the
old API. In order to use it, before running your application, set the
environment variable WARN_WHEN_USING_OLD_API
to true
. For example, you can
run the folling command in your application directory:
WARN_WHEN_USING_OLD_API=true meteor
It will run your app and every time you use the old API, you will see a warning in your console. This will help you find the places in your code that need to be updated.
If you are in doubt whether a particular API is old or new, you can check our v2.8 migration guide that lists all the changes in the new API.
Migrating from a version older than 2.11?
If you’re migrating from a version of Meteor older than Meteor 2.11, there may be important considerations not listed in this guide. Please review the older migration guides for details:
- Migrating to Meteor 2.11 (from 2.10)
- Migrating to Meteor 2.10 (from 2.9)
- Migrating to Meteor 2.9 (from 2.8)
- Migrating to Meteor 2.8 (from 2.7)
- Migrating to Meteor 2.7 (from 2.6)
- Migrating to Meteor 2.6 (from 2.5)
- Migrating to Meteor 2.5 (from 2.4)
- Migrating to Meteor 2.4 (from 2.3)
- Migrating to Meteor 2.3 (from 2.2)
- Migrating to Meteor 2.2 (from 2.0)
- Migrating to Meteor 2.0 (from 1.12)
- Migrating to Meteor 1.12 (from 1.11)
- Migrating to Meteor 1.11 (from 1.10.2)
- Migrating to Meteor 1.10.2 (from 1.10)
- Migrating to Meteor 1.10 (from 1.9.3)
- Migrating to Meteor 1.9.3 (from 1.9)
- Migrating to Meteor 1.9 (from 1.8.3)
- Migrating to Meteor 1.8.3 (from 1.8.2)
- Migrating to Meteor 1.8.2 (from 1.8)
- Migrating to Meteor 1.8 (from 1.7)
- Migrating to Meteor 1.7 (from 1.6)
- Migrating to Meteor 1.6 (from 1.5)
- Migrating to Meteor 1.5 (from 1.4)
- Migrating to Meteor 1.4 (from 1.3)
- Migrating to Meteor 1.3 (from 1.2)