packages/docs/docs/4-0-alpha.mdx
Remotion 4.0 has now been released. This page has been archived.
Thanks for testing and reporting bugs! 🎉
See the changelog to find the latest version.
Upgrade remotion and all packages starting with @remotion to the latest version, e.g. 4.0.0:
- "remotion": "^3.3.87"
- "@remotion/bundler": "^3.3.87"
- "@remotion/eslint-config": "^3.3.87"
- "@remotion/eslint-plugin": "^3.3.87"
- "@remotion/cli": "^3.3.87"
- "@remotion/renderer": "^3.3.87"
+ "remotion": "4.0.0-alpha13"
+ "@remotion/bundler": "4.0.0-alpha13"
+ "@remotion/eslint-config": "4.0.0-alpha13"
+ "@remotion/eslint-plugin": "4.0.0-alpha13"
+ "@remotion/cli": "4.0.0-alpha13"
+ "@remotion/renderer": "4.0.0-alpha13"
Make sure the versions don't have a ^ character in front of it.
Most important breaking changes:
<Step>1</Step> The config file must now import the config like the following:
import { Config } from "@remotion/cli/config";
<Step>2</Step> Also in the config file:
Config.setImageFormat("jpeg");
has been replaced with
Config.setVideoImageFormat("jpeg");
See how to migrate: Migration guide
4.0.0-alpha22Release candidate!
height, width etc. is optional when passing calculateMetadata()4.0.0-alpha214.0.0-alpha194.0.0-alpha184.0.0-alpha16glibc version on Linux x64 to support Ubuntu 20.044.0.0-alpha14console.log's are symbolicated when rendering locally using --log=verbose4.0.0-alpha134.0.0-alpha124.0.0-alpha114.0.0-alpha10calculateMetadata! See: Data fetching and Variable metadata4.0.0-alpha94.0.0-alpha8<OffthreadVideo>4.0.0-alpha7<OffthreadVideo> and more verbose logging4.0.0-alpha6EACCES errors appearingstaticFile() now encodes the filename using encodeURIComponent. You don't have to and should not do it manually anymore - see migration guide4.0.0-alpha5May 3rd 2023:
<OffthreadVideo>!z is not exported from Remotion anymore, instead, just install zod!zColor is now to be installed from @remotion/zod-types4.0.0-alpha.185+1b8f0e746as const when saving back to the root file to ensure type safety.zColor() API4.0.0-alpha.127+bcc7f944bImprove the saving back to code feature if you are using as const.
4.0.0-alpha.115+764023ad5Initial v4 alpha release