v3-docs/v3-migration-docs/index.md
:::info You are reading the migration guide for Meteor 3!
This is a live document which will be updated as development progresses. :::
This guide is for users with Meteor 2.x projects understand the changes between Meteor 2.x and Meteor 3.0. It's not required to read this guide before starting with Meteor 3.0. To learn Meteor 3.0, we recommend reading the new documentation.
Meteor 3.0 is currently in its official version. Check the documentation for the latest version information.
You can install the latest Meteor version command below:
npx meteor
and to create a new Meteor project:
meteor create
This will prompt the project creator wizard to help you set up a new project.
You can upgrade your Meteor 2.x project by running the command below inside your project folder:
meteor update
meteor reset # resets project to a fresh state
If you are upgrade from an older version of Meteor, you might have a different MongoDB driver version. If you encounter issues, consider clearing the local database.
meteor reset --db # resets local db
Also, it's a good idea to completely remove node_modules and the package-lock.json before running meteor npm install:
rm -rf node_modules package-lock.json
meteor npm install
Which will install the necessary packages using the latest Node.js version from Meteor 3.
This guide covers the necessary topics for migrating your application from Meteor 2.x to Meteor 3.0, including:
Frequently Asked Questions, answers to common questions.
Breaking Changes, an overview of the changes that will affect your application.
Async methods.How async functions work and how to use them, a how-to guide in how to use async functions and helpers for Meteor.
Renamed Functions, a list of functions that were renamed in Meteor v3.
Removed Functions, a list of functions that were removed in Meteor v3.
React in Meteor v3, how to migrate your React code to Meteor v3.
Blaze in Meteor v3, how to migrate your Blaze code to Meteor v3.
Migrating to Async in Meteor 2.x, how can you migrate your application to Meteor v3 while in 2.x.
We are aware of these articles and guides to assist with your migration:
Migrating apps to Meteor 3.0:
If you have a migration guide, either in video or text format, please share it with us to include here.