Skip to main content

升级

🌐 Upgrades

Strapi 会通过新版本定期发布代码改进。新的 Strapi 版本会在终端和管理面板中发布,并 GitHub release notes 列出每个新版本的新内容。

Strapi 核心团队发布的最新 Strapi 版本号可以在 npmGitHub上找到。

当发布新版本的 Strapi 时,你可能需要升级,当前页面是有关升级信息的入口点。

🌐 When a new version of Strapi is released, you might want to upgrade, and the present page serves as an entry point for information about upgrading.

我如何找到我当前的 Strapi 版本号?

你可以找到 Strapi 应用的当前版本号:

🌐 You can find the current version number of your Strapi application:

  • 可以在管理面板中,通过进入 设置 > 全局设置 > 概览 并查看“详细信息”部分显示的 Strapi 版本号:

    Finding your Strapi version number in the admin panelFinding your Strapi version number in the admin panel
  • 或者在终端中运行 yarn strapi versionnpm run strapi version,从你的 Strapi 项目所在的文件夹执行。

根据你的使用情况单击以下两张卡片之一:

🌐 Click on one of the 2 following cards depending on your use case: