From d4dd95026c81c9b237ab37a11bbe999041838f0a Mon Sep 17 00:00:00 2001 From: Project516 <138796702+Project516@users.noreply.github.com> Date: Mon, 5 Oct 2026 19:00:57 -0500 Subject: [PATCH] chore: release 0.16.0 --- CHANGELOG.md | 5 ++++- apps/vanilla-app/download-assets.js | 8 ++++---- apps/website/docs/getting-started/usage.md | 16 ++++++++-------- apps/website/src/components/Playground/const.ts | 2 +- packages/core-mt/package.json | 2 +- packages/core/package.json | 2 +- packages/ffmpeg/package.json | 2 +- packages/ffmpeg/src/const.ts | 2 +- packages/types/package.json | 2 +- packages/util/package.json | 2 +- 10 files changed, 23 insertions(+), 20 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ddc9b96a86c..5460049ef83 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ All notable changes to this project are documented in this file. The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). -## Unreleased +## 0.16.0 ### Added @@ -15,6 +15,9 @@ follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). ### Fixed +- The core ends the argv array it passes to ffmpeg and ffprobe with `NULL`. + 0.15.0 could crash on a command whose last argument is an option without a + value. - A second `load()` on a loaded `FFmpeg` no longer creates a second core and leaks the first. It keeps the loaded core and resolves `false`. - `load()` names the `wasmURL` in its error when the response is not a diff --git a/apps/vanilla-app/download-assets.js b/apps/vanilla-app/download-assets.js index a71d139b01a..f4d332f6436 100644 --- a/apps/vanilla-app/download-assets.js +++ b/apps/vanilla-app/download-assets.js @@ -5,10 +5,10 @@ const fs = require("fs"); const NPM_URL = "https://registry.npmjs.org"; const ROOT = "public/assets"; -const FFMPEG_VERSION = "0.15.0"; -const UTIL_VERSION = "0.15.0"; -const CORE_VERSION = "0.15.0"; -const CORE_MT_VERSION = "0.15.0"; +const FFMPEG_VERSION = "0.16.0"; +const UTIL_VERSION = "0.16.0"; +const CORE_VERSION = "0.16.0"; +const CORE_MT_VERSION = "0.16.0"; const FFMPEG_TGZ = `ffmpeg-wasm-${FFMPEG_VERSION}.tgz`; const UTIL_TGZ = `ffmpeg-wasm-util-${UTIL_VERSION}.tgz`; diff --git a/apps/website/docs/getting-started/usage.md b/apps/website/docs/getting-started/usage.md index f5d380c7c25..1ca5d107993 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://cdn.jsdelivr.net/npm/@project516/ffmpeg-wasm-core@0.15.0/dist/umd~~ => https://cdn.jsdelivr.net/npm/@project516/ffmpeg-wasm-core@0.15.0/dist/esm +~~https://cdn.jsdelivr.net/npm/@project516/ffmpeg-wasm-core@0.16.0/dist/umd~~ => https://cdn.jsdelivr.net/npm/@project516/ffmpeg-wasm-core@0.16.0/dist/esm ::: ```jsx live @@ -24,7 +24,7 @@ function() { const messageRef = useRef(null); const load = async () => { - const baseURL = 'https://cdn.jsdelivr.net/npm/@project516/ffmpeg-wasm-core@0.15.0/dist/umd' + const baseURL = 'https://cdn.jsdelivr.net/npm/@project516/ffmpeg-wasm-core@0.16.0/dist/umd' const ffmpeg = ffmpegRef.current; ffmpeg.on('log', ({ message }) => { messageRef.current.innerHTML = message; @@ -85,7 +85,7 @@ function() { const messageRef = useRef(null); const load = async () => { - const baseURL = 'https://cdn.jsdelivr.net/npm/@project516/ffmpeg-wasm-core-mt@0.15.0/dist/umd' + const baseURL = 'https://cdn.jsdelivr.net/npm/@project516/ffmpeg-wasm-core-mt@0.16.0/dist/umd' const ffmpeg = ffmpegRef.current; ffmpeg.on('log', ({ message }) => { messageRef.current.innerHTML = message; @@ -137,7 +137,7 @@ function() { const messageRef = useRef(null); const load = async () => { - const baseURL = 'https://cdn.jsdelivr.net/npm/@project516/ffmpeg-wasm-core@0.15.0/dist/umd' + const baseURL = 'https://cdn.jsdelivr.net/npm/@project516/ffmpeg-wasm-core@0.16.0/dist/umd' const ffmpeg = ffmpegRef.current; ffmpeg.on('log', ({ message }) => { messageRef.current.innerHTML = message; @@ -195,7 +195,7 @@ function() { const messageRef = useRef(null); const load = async () => { - const baseURL = 'https://cdn.jsdelivr.net/npm/@project516/ffmpeg-wasm-core@0.15.0/dist/umd' + const baseURL = 'https://cdn.jsdelivr.net/npm/@project516/ffmpeg-wasm-core@0.16.0/dist/umd' const ffmpeg = ffmpegRef.current; // Listen to progress event instead of log. ffmpeg.on('progress', ({ progress, time }) => { @@ -246,7 +246,7 @@ function() { const messageRef = useRef(null); const load = async () => { - const baseURL = 'https://cdn.jsdelivr.net/npm/@project516/ffmpeg-wasm-core@0.15.0/dist/umd' + const baseURL = 'https://cdn.jsdelivr.net/npm/@project516/ffmpeg-wasm-core@0.16.0/dist/umd' const ffmpeg = ffmpegRef.current; ffmpeg.on('log', ({ message }) => { messageRef.current.innerHTML = message; @@ -316,7 +316,7 @@ function() { const messageRef = useRef(null); const load = async () => { - const baseURL = 'https://cdn.jsdelivr.net/npm/@project516/ffmpeg-wasm-core@0.15.0/dist/umd' + const baseURL = 'https://cdn.jsdelivr.net/npm/@project516/ffmpeg-wasm-core@0.16.0/dist/umd' const ffmpeg = ffmpegRef.current; ffmpeg.on('log', ({ message }) => { messageRef.current.innerHTML = message; @@ -375,7 +375,7 @@ function() { const messageRef = useRef(null); const load = async () => { - const baseURL = 'https://cdn.jsdelivr.net/npm/@project516/ffmpeg-wasm-core@0.15.0/dist/umd' + const baseURL = 'https://cdn.jsdelivr.net/npm/@project516/ffmpeg-wasm-core@0.16.0/dist/umd' const ffmpeg = ffmpegRef.current; ffmpeg.on('log', ({ message }) => { messageRef.current.innerHTML = message; diff --git a/apps/website/src/components/Playground/const.ts b/apps/website/src/components/Playground/const.ts index 4232e5cd94c..8e81dc2c8cd 100644 --- a/apps/website/src/components/Playground/const.ts +++ b/apps/website/src/components/Playground/const.ts @@ -1,4 +1,4 @@ -export const CORE_VERSION = "0.15.0"; +export const CORE_VERSION = "0.16.0"; export const CORE_URL = `https://cdn.jsdelivr.net/npm/@project516/ffmpeg-wasm-core@${CORE_VERSION}/dist/umd/ffmpeg-core.js`; export const CORE_MT_URL = `https://cdn.jsdelivr.net/npm/@project516/ffmpeg-wasm-core-mt@${CORE_VERSION}/dist/umd/ffmpeg-core.js`; diff --git a/packages/core-mt/package.json b/packages/core-mt/package.json index 76dc94f693b..37b8e85023d 100644 --- a/packages/core-mt/package.json +++ b/packages/core-mt/package.json @@ -1,6 +1,6 @@ { "name": "@project516/ffmpeg-wasm-core-mt", - "version": "0.15.0", + "version": "0.16.0", "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 f8cfdebf557..30ef13bc1e4 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@project516/ffmpeg-wasm-core", - "version": "0.15.0", + "version": "0.16.0", "description": "FFmpeg WebAssembly version (single thread)", "main": "./dist/umd/ffmpeg-core.js", "exports": { diff --git a/packages/ffmpeg/package.json b/packages/ffmpeg/package.json index 3c6bd8256a1..d66156011d8 100644 --- a/packages/ffmpeg/package.json +++ b/packages/ffmpeg/package.json @@ -1,6 +1,6 @@ { "name": "@project516/ffmpeg-wasm", - "version": "0.15.0", + "version": "0.16.0", "description": "FFmpeg WebAssembly version for browser", "main": "./dist/umd/ffmpeg.js", "types": "./dist/esm/index.d.ts", diff --git a/packages/ffmpeg/src/const.ts b/packages/ffmpeg/src/const.ts index dab658a861e..c108e622355 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.15.0"; +export const CORE_VERSION = "0.16.0"; export const CORE_URL = `https://cdn.jsdelivr.net/npm/@project516/ffmpeg-wasm-core@${CORE_VERSION}/dist/umd/ffmpeg-core.js`; export enum FFMessageType { diff --git a/packages/types/package.json b/packages/types/package.json index 050180293ae..6289fee2d1e 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@project516/ffmpeg-wasm-types", - "version": "0.15.0", + "version": "0.16.0", "description": "ffmpeg.wasm types", "types": "types", "scripts": { diff --git a/packages/util/package.json b/packages/util/package.json index 01a8b275b80..76321e0f98c 100644 --- a/packages/util/package.json +++ b/packages/util/package.json @@ -1,6 +1,6 @@ { "name": "@project516/ffmpeg-wasm-util", - "version": "0.15.0", + "version": "0.16.0", "description": "browser utils for @project516/*", "main": "./dist/cjs/index.js", "type": "module",