From 71aa99d37c02a7b4c435275ca9ef50e612f6efa1 Mon Sep 17 00:00:00 2001 From: Lucas Gelfond Date: Tue, 7 Jan 2025 11:12:48 +0100 Subject: [PATCH] RELEASE: @ffmpeg/core and @ffmpeg/core-mt v0.12.10 --- apps/angular-app/src/app/app.component.ts | 2 +- apps/nextjs-app/app/Home.tsx | 2 +- apps/react-vite-app/src/App.tsx | 2 +- apps/vue-vite-app/src/components/FFmpegDemo.vue | 2 +- apps/website/docs/getting-started/usage.md | 2 +- packages/core-mt/package.json | 2 +- packages/core/package.json | 2 +- packages/ffmpeg/src/const.ts | 2 +- scripts/download-assets.js | 8 ++++---- 9 files changed, 12 insertions(+), 12 deletions(-) diff --git a/apps/angular-app/src/app/app.component.ts b/apps/angular-app/src/app/app.component.ts index 85a69a789f..f27144ed9e 100644 --- a/apps/angular-app/src/app/app.component.ts +++ b/apps/angular-app/src/app/app.component.ts @@ -4,7 +4,7 @@ import { RouterOutlet } from '@angular/router'; import { FFmpeg } from '@ffmpeg/ffmpeg'; import { fetchFile, toBlobURL } from '@ffmpeg/util'; -const baseURL = 'https://unpkg.com/@ffmpeg/core-mt@0.12.9/dist/esm'; +const baseURL = 'https://unpkg.com/@ffmpeg/core-mt@0.12.10/dist/esm'; @Component({ selector: 'app-root', diff --git a/apps/nextjs-app/app/Home.tsx b/apps/nextjs-app/app/Home.tsx index 8206fb8a9d..0681b48443 100644 --- a/apps/nextjs-app/app/Home.tsx +++ b/apps/nextjs-app/app/Home.tsx @@ -13,7 +13,7 @@ export default function Home() { const load = async () => { setIsLoading(true); - const baseURL = "https://unpkg.com/@ffmpeg/core@0.12.9/dist/umd"; + const baseURL = "https://unpkg.com/@ffmpeg/core@0.12.10/dist/umd"; const ffmpeg = ffmpegRef.current; ffmpeg.on("log", ({ message }) => { if (messageRef.current) messageRef.current.innerHTML = message; diff --git a/apps/react-vite-app/src/App.tsx b/apps/react-vite-app/src/App.tsx index 1701dd2d83..68a71e76f1 100644 --- a/apps/react-vite-app/src/App.tsx +++ b/apps/react-vite-app/src/App.tsx @@ -9,7 +9,7 @@ function App() { const messageRef = useRef(null); const load = async () => { - const baseURL = "https://unpkg.com/@ffmpeg/core-mt@0.12.9/dist/esm"; + const baseURL = "https://unpkg.com/@ffmpeg/core-mt@0.12.10/dist/esm"; const ffmpeg = ffmpegRef.current; ffmpeg.on("log", ({ message }) => { if (messageRef.current) messageRef.current.innerHTML = message; diff --git a/apps/vue-vite-app/src/components/FFmpegDemo.vue b/apps/vue-vite-app/src/components/FFmpegDemo.vue index 075bcd078c..5bf8ee7f5f 100644 --- a/apps/vue-vite-app/src/components/FFmpegDemo.vue +++ b/apps/vue-vite-app/src/components/FFmpegDemo.vue @@ -11,7 +11,7 @@ import type { LogEvent } from '@ffmpeg/ffmpeg/dist/esm/types' import { fetchFile, toBlobURL } from '@ffmpeg/util' import { defineComponent, ref } from 'vue' -const baseURL = 'https://unpkg.com/@ffmpeg/core-mt@0.12.9/dist/esm' +const baseURL = 'https://unpkg.com/@ffmpeg/core-mt@0.12.10/dist/esm' const videoURL = 'https://raw.githubusercontent.com/ffmpegwasm/testdata/master/video-15s.avi' export default defineComponent({ diff --git a/apps/website/docs/getting-started/usage.md b/apps/website/docs/getting-started/usage.md index 284956bac8..3631ed0a34 100644 --- a/apps/website/docs/getting-started/usage.md +++ b/apps/website/docs/getting-started/usage.md @@ -11,7 +11,7 @@ It is recommended to read [Overview](/docs/overview) first. :::caution If you are a [vite](https://vitejs.dev/) user, use `esm` in **baseURL** instead of `umd`: -~~https://unpkg.com/@ffmpeg/core@0.12.9/dist/umd~~ => https://unpkg.com/@ffmpeg/core@0.12.9/dist/esm +~~https://unpkg.com/@ffmpeg/core@0.12.10/dist/umd~~ => https://unpkg.com/@ffmpeg/core@0.12.10/dist/esm ::: ```jsx live diff --git a/packages/core-mt/package.json b/packages/core-mt/package.json index ddebfa729e..4d70370a81 100644 --- a/packages/core-mt/package.json +++ b/packages/core-mt/package.json @@ -1,6 +1,6 @@ { "name": "@ffmpeg/core-mt", - "version": "0.12.9", + "version": "0.12.10", "description": "FFmpeg WebAssembly version (multi thread)", "main": "./dist/umd/ffmpeg-core.js", "exports": { diff --git a/packages/core/package.json b/packages/core/package.json index cfcb97d676..96ad5a9cf7 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@ffmpeg/core", - "version": "0.12.9", + "version": "0.12.10", "description": "FFmpeg WebAssembly version (single thread)", "main": "./dist/umd/ffmpeg-core.js", "exports": { diff --git a/packages/ffmpeg/src/const.ts b/packages/ffmpeg/src/const.ts index 6e415ff5bb..940651330e 100644 --- a/packages/ffmpeg/src/const.ts +++ b/packages/ffmpeg/src/const.ts @@ -1,7 +1,7 @@ export const MIME_TYPE_JAVASCRIPT = "text/javascript"; export const MIME_TYPE_WASM = "application/wasm"; -export const CORE_VERSION = "0.12.9"; +export const CORE_VERSION = "0.12.10"; export const CORE_URL = `https://unpkg.com/@ffmpeg/core@${CORE_VERSION}/dist/umd/ffmpeg-core.js`; export enum FFMessageType { diff --git a/scripts/download-assets.js b/scripts/download-assets.js index ffbb35727e..44ec2add31 100644 --- a/scripts/download-assets.js +++ b/scripts/download-assets.js @@ -4,10 +4,10 @@ const fs = require("fs"); const NPM_URL = "https://registry.npmjs.org"; const ROOT = "public/assets"; -const FFMPEG_VERSION = "0.12.14"; -const UTIL_VERSION = "0.12.1"; -const CORE_VERSION = "0.12.9"; -const CORE_MT_VERSION = "0.12.9"; +const FFMPEG_VERSION = "0.12.15"; +const UTIL_VERSION = "0.12.2"; +const CORE_VERSION = "0.12.10"; +const CORE_MT_VERSION = "0.12.10"; const FFMPEG_TGZ = `ffmpeg-${FFMPEG_VERSION}.tgz`; const UTIL_TGZ = `util-${UTIL_VERSION}.tgz`;