🎥 Make videos programmatically with React
add card + more information
Jonny Burger99563b0b38b0
diff --git a/packages/docs/docs/upgrading-remotion.mdx b/packages/docs/docs/upgrading-remotion.mdxdeleted file mode 100644index ce6fce4ac6..0000000000--- a/packages/docs/docs/upgrading-remotion.mdx+++ /dev/null@@ -1,64 +0,0 @@-----title: Upgrading Remotion-crumb: "upgrade remotion"------import Tabs from "@theme/Tabs";-import TabItem from "@theme/TabItem";--## Prerequisites--The Remotion CLI is required for this.--There is no difference in the following commands.--Run one of the following commands in the root of the project you want to upgrade:--<Tabs-defaultValue="npx"-values={[-{ label: 'npx', value: 'npx', },-{ label: 'pnpm', value: 'pnpm', },-{ label: 'yarn', value: 'yarn', },-{ label: 'bunx', value: 'bunx', },-]-}>-<TabItem value="npx">--```bash-npx remotion upgrade-```-- </TabItem>-- <TabItem value="pnpm">--```bash-pnpm exec remotion upgrade-```-- </TabItem>-- <TabItem value="yarn">--```bash-yarn remotion upgrade-```-- </TabItem>-- <TabItem value="bunx">--```bash-bunx remotion upgrade-```-- </TabItem>-</Tabs>--:::note-Make sure that all remotion packages use the same version.--You can delete the ^ in front of the version number in your package.json in order to prevent auto updates-:::-diff --git a/packages/docs/docs/upgrading.mdx b/packages/docs/docs/upgrading.mdxnew file mode 100644index 0000000000..4c50aa1651--- /dev/null+++ b/packages/docs/docs/upgrading.mdx@@ -0,0 +1,82 @@+---+image: /generated/articles-docs-upgrading.png+title: Upgrading Remotion+crumb: "upgrade remotion"+---++import Tabs from "@theme/Tabs";+import TabItem from "@theme/TabItem";++The easiest way to do this is to run the following command in the root of your project:++<Tabs+defaultValue="npx"+values={[+{ label: 'npx', value: 'npx', },+{ label: 'pnpm', value: 'pnpm', },+{ label: 'yarn', value: 'yarn', },+{ label: 'bunx', value: 'bunx', },+]+}>+<TabItem value="npx">++```bash+npx remotion upgrade+```++ </TabItem>++ <TabItem value="pnpm">++```bash+pnpm exec remotion upgrade+```++ </TabItem>++ <TabItem value="yarn">++```bash+yarn remotion upgrade+```++ </TabItem>++ <TabItem value="bunx">++```bash+bunx remotion upgrade+```++ </TabItem>+</Tabs>++:::note+You need the `@remotion/cli` package installed for this.+:::++## Manually upgrading Remotion++To upgrade Remotion to the latest version, all `@remotion/*` packages and `remotion` must be updated to the same version.++Edit the version number in your `package.json` for all packages.+Delete the `^` in front of the version number in your `package.json` in order to force the exact version you specified.++## Breaking changes++Remotion follows semantic versioning.+This means if the first number of the version is the same, you can upgrade and your code is backwards-compatible.++Example: If you are on 4.0.0, you can upgrade to 4.1.100 without changing your code.+However, to upgrade to 5.0, you will need to follow the [migration guide](/docs/5-0-migration).++Exceptions to the breaking change rule are APIs that are marked as experimental.++## Changelog++Visit [remotion.dev/changelog](https://remotion.dev/changelog) to see a list of all changes.++## Stable versions++We maintain a repo with the latest stable version of Remotion for customers who need a higher level of stability.+Customers may get access to the repo on the [remotion.pro](https://remotion.pro) portal.diff --git a/packages/docs/sidebars.js b/packages/docs/sidebars.jsindex e2f9769daf..1dd88c0f24 100644--- a/packages/docs/sidebars.js+++ b/packages/docs/sidebars.js@@ -837,7 +837,7 @@ module.exports = {href: "/docs/api",label: "API Reference",},- "upgrading-remotion",+ "upgrading",{type: "link",href: "/docs/recorder",diff --git a/packages/docs/src/data/articles.ts b/packages/docs/src/data/articles.tsindex e7787d9827..95fcc94c39 100644--- a/packages/docs/src/data/articles.ts+++ b/packages/docs/src/data/articles.ts@@ -3408,6 +3408,13 @@ export const articles = [compId: "articles-docs-troubleshooting-video-flicker",crumb: "Frame-perfection",},+ {+ id: "upgrading",+ title: "Upgrading Remotion",+ relativePath: "docs/upgrading.mdx",+ compId: "articles-docs-upgrading",+ crumb: "upgrade remotion",+ },{id: "use-audio-data",title: "useAudioData()",diff --git a/packages/docs/static/generated/articles-docs-upgrading.png b/packages/docs/static/generated/articles-docs-upgrading.pngnew file mode 100644index 0000000000..51a42dda30Binary files /dev/null and b/packages/docs/static/generated/articles-docs-upgrading.png differ