Upgrade Mediabunny

Upgrade Mediabunny and related @mediabunny packages across the Remotion repo. Use when asked to update Mediabunny to the latest version.

Remotion 229014f 1.0 KB Updated 3.9k repo stars

File contents

  • Find the latest version of Mediabunny with npm view mediabunny version.
  • In the root package.json, update the catalog versions for mediabunny, @mediabunny/mp3-encoder, and @mediabunny/ac3 to that version.
  • In packages/template-*/package.json, update mediabunny and any @mediabunny/* packages to the same version. Templates use explicit versions, not catalog:, so update them manually.
  • Update packages/cli/src/extra-packages.ts with the new Mediabunny version.
  • Update packages/studio-shared/src/package-info.ts with the new Mediabunny version in extraPackages.
  • Update the compatibility table in packages/docs/docs/mediabunny/version.mdx. To find the next version this upgrade will be applied to, look in the root package.json for the version and increment the patch version by 1.
  • Run bun i at the end.

remotion-dev/remotion/tree/main/.agents/skills/upgrade-mediabunny commit 229014fe9f

Frequently asked questions

npx skillmds add remotion-dev/upgrade-mediabunny