mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Merge branch 'release-3.0' into feature/add-missing-observeAsync-types
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
title: Docs
|
||||
---
|
||||
|
||||
> Meteor 2.x runs on a deprecated Node.js version (14). Meteor 3.0, currently in its Release Candidate version, runs on Node.js v20. For more information, please consult our [migration guide](https://guide.meteor.com/3.0-migration.html).
|
||||
|
||||
<!-- XXX: note that this content is somewhat duplicated on the guide, and should be updated in parallel -->
|
||||
<h2 id="what-is-meteor">What is Meteor?</h2>
|
||||
|
||||
@@ -8,6 +8,7 @@ You need to install the Meteor command line tool to create, run, and manage your
|
||||
|
||||
<h3 id="prereqs-node">Node.js version</h3>
|
||||
|
||||
> Meteor 2.x runs on a deprecated Node.js version (14). Meteor 3.0, currently in its Release Candidate version, runs on Node.js v20. For more information, please consult our [migration guide](https://guide.meteor.com/3.0-migration.html).
|
||||
|
||||
- Node.js version >= 10 and <= 14 is required.
|
||||
- We recommend you using [nvm](https://github.com/nvm-sh/nvm) or [Volta](https://volta.sh/) for managing Node.js versions.
|
||||
@@ -29,7 +30,7 @@ You need to install the Meteor command line tool to create, run, and manage your
|
||||
|
||||
Install the latest official version of Meteor.js from your terminal by running one of the commands below. You can check our [changelog](https://docs.meteor.com/changelog.html) for the release notes.
|
||||
|
||||
> Run `node -v` to ensure you are using Node.js 14. Meteor 3.0 is in progress, and it will run on the latest Node.js version.
|
||||
> Run `node -v` to ensure you are using Node.js 14. Meteor 3.0, currently in its Release Candidate version, runs on Node.js v20.
|
||||
|
||||
For Windows, Linux and OS X, you can run the following command:
|
||||
|
||||
@@ -117,5 +118,4 @@ If you installed Meteor using npm, you can remove it by running:
|
||||
|
||||
If you installed Meteor using curl, you can remove it by running:
|
||||
`rm -rf ~/.meteor`
|
||||
`sudo rm /usr/local/bin/meteor`
|
||||
|
||||
`sudo rm /usr/local/bin/meteor`
|
||||
|
||||
@@ -10,11 +10,11 @@ description: How to migrate your application to Meteor 3.0.
|
||||
|
||||
## What's the status of version 3.0?
|
||||
|
||||
**Latest version:** `3.0-beta.7` <br/>
|
||||
**Latest version:** `3.0-rc.0` <br/>
|
||||
**Node.js version:** `20.11.1 LTS` <br />
|
||||
**NPM version:** `10.2.4`
|
||||
|
||||
Meteor 3.0 is in beta and not recommended for production. You can check the "[Release 3.0 Pull Request](https://github.com/meteor/meteor/pull/12359)" to see what is being changed.
|
||||
Meteor 3.0, currently in its Release Candidate version, is approaching a recommendation for production use. You can check the "[Release 3.0 Pull Request](https://github.com/meteor/meteor/pull/12359)" to see what is being changed.
|
||||
|
||||
## How to prepare for version 3.0?
|
||||
|
||||
@@ -120,7 +120,7 @@ findOne is not available on the server. Please use findOneAsync instead.
|
||||
You can create a new Meteor 3.0 project by running the command below:
|
||||
|
||||
```bash
|
||||
meteor create my-new-project --release 3.0-beta.7
|
||||
meteor create my-new-project --release 3.0-rc.0
|
||||
```
|
||||
|
||||
or alternatively, you can use `npx`
|
||||
@@ -136,12 +136,13 @@ npx meteor@beta
|
||||
You can update your Meteor 2.x project by running the command below inside your project folder:
|
||||
|
||||
```bash
|
||||
meteor update --release 3.0-beta.7
|
||||
meteor update --release 3.0-rc.0
|
||||
meteor reset #resets local DB and project to a fresh state
|
||||
```
|
||||
|
||||
### When will Meteor 3.0 be ready?
|
||||
|
||||
We plan to release the beta version by the end of Q4 2023. An official version will depend a lot on user feedback, but we aim to release it by the end of Q1 2024.
|
||||
The Release Candidate version has been released. The official version's release will heavily depend on user feedback, but our goal is to release it in Q2 2024.
|
||||
|
||||
|
||||
### How do I migrate my package to be compatible with Meteor 3.0?
|
||||
@@ -155,7 +156,7 @@ The migration will look like this:
|
||||
```js
|
||||
// in you package.js
|
||||
Package.onUse((api) => {
|
||||
api.versionsFrom(['1.10', '2.3', '3.0-beta.0']);
|
||||
api.versionsFrom(['1.10', '2.3', '3.0-rc.0']);
|
||||
// ^^^^^^^ for testing your package with meteor 3.0
|
||||
|
||||
api.versionsFrom(['1.10', '2.3', '3.0']);
|
||||
@@ -259,11 +260,7 @@ If you encounter issues with any of them, let us know, please [open an issue](ht
|
||||
|
||||
This is the [list of all core packages](https://docs.meteor.com/packages/packages-listing.html).
|
||||
|
||||
We will bring these three new packages to the core and migrate them to Meteor 3.0:
|
||||
- `percolate:migrations` - [GitHub](https://github.com/percolatestudio/meteor-migrations);
|
||||
- `littledata:synced-cron` - [GitHub](https://github.com/percolatestudio/meteor-synced-cron);
|
||||
- `matb33:collection-hooks` - [GitHub](https://github.com/Meteor-Community-Packages/meteor-collection-hooks);
|
||||
|
||||
Following the official release of Meteor 3.0, we plan to add new packages to the core and migrating them to Meteor 3.0.
|
||||
|
||||
For those packages that are not in the core but are maintained by the [community](https://github.com/Meteor-Community-Packages),
|
||||
we hope that the community can work on them, but if for some reason that is not possible,
|
||||
|
||||
@@ -3,6 +3,7 @@ title: Introduction
|
||||
description: This is the guide for using Meteor, a full-stack JavaScript platform for developing modern web and mobile applications.
|
||||
---
|
||||
|
||||
> Meteor 2.x runs on a deprecated Node.js version (14). Meteor 3.0, currently in its Release Candidate version, runs on Node.js v20. For more information, please consult our [migration guide](https://guide.meteor.com/3.0-migration.html).
|
||||
|
||||
<!-- XXX: note that this content is somewhat duplicated on the docs, and should be updated in parallel -->
|
||||
<h2 id="what-is-meteor">What is Meteor?</h2>
|
||||
|
||||
Reference in New Issue
Block a user