🎥 Make videos programmatically with React
`@remotion/whisper-web`: Stop publishing starting with v5
JonnyBurger3a60778a68e0
diff --git a/packages/docs/docs/5-0-migration.mdx b/packages/docs/docs/5-0-migration.mdxindex a80c387aa0..7110ea9845 100644--- a/packages/docs/docs/5-0-migration.mdx+++ b/packages/docs/docs/5-0-migration.mdx@@ -198,7 +198,7 @@ This prevents the Player from continuing while media or images are still loading**Required action**: If you want to keep the old behavior, set `pauseWhenBuffering={false}` on video and audio components and `pauseWhenLoading={false}` on `<Img>` explicitly.-## Four packages are no longer published+## Five packages are no longer publishedThe following packages stop receiving releases after the 4.x line:@@ -206,6 +206,7 @@ The following packages stop receiving releases after the 4.x line:- Replace `@remotion/starburst` with [`starburst()` from `@remotion/effects`](/docs/effects/starburst).- Replace `@remotion/media-parser` with [Mediabunny](/docs/mediabunny).- Replace `@remotion/webcodecs` with [Mediabunny](/docs/mediabunny).+- Replace `@remotion/whisper-web` with [`@remotion/whisper-webgpu`](/docs/whisper-webgpu), which uses WebGPU and does not require cross-origin isolation.**Required action**: Migrate usages and remove these packages from your dependencies before upgrading. Existing 4.x versions remain available, but no 5.x versions will be published.diff --git a/packages/docs/docs/whisper-web/index.mdx b/packages/docs/docs/whisper-web/index.mdxindex f505e92de0..34db541970 100644--- a/packages/docs/docs/whisper-web/index.mdx+++ b/packages/docs/docs/whisper-web/index.mdx@@ -7,8 +7,8 @@ crumb: 'Transcribe audio in browser'import Tabs from '@theme/Tabs';import TabItem from '@theme/TabItem';-:::warning-Unstable API: This package is experimental and might not become stable. Prefer [`@remotion/whisper-webgpu`](/docs/whisper-webgpu), which uses WebGPU and does not require cross-origin isolation.+:::info Deprecated+`@remotion/whisper-web` is deprecated and will no longer be published starting with Remotion 5.0. Migrate to [`@remotion/whisper-webgpu`](/docs/whisper-webgpu), which uses WebGPU and does not require cross-origin isolation. Existing 4.x versions remain available.:::Similar to [@remotion/install-whisper-cpp](/docs/install-whisper-cpp) but for the browser. Allows you to transcribe audio locally in the browser, with the help of WASM.diff --git a/packages/studio-shared/src/package-info.ts b/packages/studio-shared/src/package-info.tsindex 0fe5db1a26..2061e530a5 100644--- a/packages/studio-shared/src/package-info.ts+++ b/packages/studio-shared/src/package-info.ts@@ -335,7 +335,10 @@ export const installableMap: {[key in Pkgs]: boolean} = {'google-fonts': true,gsap: true,'install-whisper-cpp': true,- 'whisper-web': true,+ 'whisper-web': shouldReleasePackage({+ packageName: '@remotion/whisper-web',+ releaseVersion: VERSION,+ }),'whisper-webgpu': true,'video-matting': true,'it-tests': false,diff --git a/packages/studio-shared/src/release-package-policy.ts b/packages/studio-shared/src/release-package-policy.tsindex c437ae8710..b347d3cb95 100644--- a/packages/studio-shared/src/release-package-policy.ts+++ b/packages/studio-shared/src/release-package-policy.ts@@ -3,6 +3,7 @@ export const packagesRemovedInV5 = ['@remotion/media-parser','@remotion/starburst','@remotion/webcodecs',+ '@remotion/whisper-web',] as const;const packagesRemovedInV5Set = new Set<string>(packagesRemovedInV5);