Skip to content

🎥 Make videos programmatically with React

Merge branch '2264-remove-react-native-web-alias-but-add-it-to-skia' of https://github.com/remotion-dev/remotion into 2264-remove-react-native-web-alias-but-add-it-to-skia

Jonny Burger1ce5e71ad6b9
diff --cc packages/docs/docs/4-0-migration.md
index aba32bdd46,11897011bf..abda444859
--- a/packages/docs/docs/4-0-migration.md
+++ b/packages/docs/docs/4-0-migration.md
@@@ -216,4 -216,30 +216,32 @@@ Config.overrideWebpackConfig((config) =
});
```
+This is automatically applied in [`@remotion/skia`](/docs/skia).
++
+ ## The `TComposition` type now includes a Zod schema
+
+ The `TComposition` type now has two generic arguments:
+
+ ```ts
+ export type TComposition<Schema extends z.ZodTypeAny, Props> = {};
+ ```
+
+ If you need a type for a generic composition, you can use the new `AnyComposition` type:
+
+ ```ts
+ import { AnyComposition } from "remotion";
+
+ const composition: AnyComposition = {
+ width: 1920,
+ height: 1080,
+ // ...
+ };
+ ```
+
+ ## `getCanExtractFramesFast()` function has been removed
+
+ The [`getCanExtractFramesFast()`](/docs/renderer/get-can-extract-frames-fast) function has been removed, since frames can always be extracted fast now using `<OffthreadVideo>`.
+
+ **How to upgrade:**
+
+ You can now remove your re-encoding logic!