v5-breaking-changes

Installation
SKILL.md

Remotion 5 Breaking Changes

Use the central compile-time flag in packages/core/src/v5-flag.ts:

export const ENABLE_V5_BREAKING_CHANGES = false as const;

Preserve the compile-time flag

  • Keep the flag as the literal false as const on the v4/main release line.
  • Do not turn it into an environment variable, runtime option, or general boolean. Its literal type selects the public TypeScript API as well as runtime behavior.
  • Do not introduce another v5 flag.
  • Inside packages/core, import the flag from v5-flag.ts. From another package, use NoReactInternals.ENABLE_V5_BREAKING_CHANGES from remotion/no-react so all packages use the same value.

When the v5 release line is cut, changing this one constant to true as const must activate the v5 runtime behavior and public TypeScript API together.

Gate runtime behavior

Installs
67
GitHub Stars
55.4K
First Seen
11 days ago
v5-breaking-changes — remotion-dev/remotion