# Migration Context: LocalAI v3 -> v4 # Generated by Changelogs.us: 2026-11-30T03:04:31.521879+00:00 # Target Version: v4.12.1 # Upgrade Command: N/A # Breaking Changes: 5 # Security Fixes: 3 ## Executive Summary Upgrading LocalAI from 3 to 4 involves 42 releases with risk rating High. ## Breaking Changes List: - [vv4.0.0] Breaking Changes 🛠 * Remove HuggingFace backend support by @localai-bot in https://github.com/mudler/LocalAI/pull/8971 * chore: drop AIO images by @mudler in https://github.com/mudler/LocalAI/pull/9004: - [vv4.0.0] fix: whisper breaking on cuda-13 (use absolute path for CUDA directory detection) by @localai-bot in https://github.com/mudler/LocalAI/pull/8678: - [vv4.7.0] - `fix(ui)`: prevent a large data table from breaking the flexbox layout and forcing a page-wide horizontal scrollbar - #10754: - [vv4.8.0] A sustained pass on the build pipeline, most of it invisible to users but responsible for how quickly changes land: the full backend matrix now only rebuilds on breaking `backend.proto` edits (#11192), image and Go PR workflows skip content they cannot see (#11218, #11223, #11224), the native engine builds in a layer the registry cache can actually restore (#11221), and three workflows that stacked runs on every PR push were deduplicated (#11058). Go backends now rebuild on linked `pkg/` changes and matrix-entry edits (#10988, #10975).: - [vv4.9.0] Breaking Changes 🛠 * fix(auth): protect HTTP routes by default by @localai-bot in https://github.com/mudler/LocalAI/pull/11602 ### Bug fixes :bug:: ## Patched Vulnerabilities (CVEs): - [CVE-2026-53488] (Severity: UNRATED) in vv4.10.0: Security advisory CVE-2026-53488 patched in localai v4.10.0 - [CVE-2026-46680] (Severity: UNRATED) in vv4.10.0: Security advisory CVE-2026-46680 patched in localai v4.10.0 - [CVE-2026-69192] (Severity: UNRATED) in vv4.10.0: Security advisory CVE-2026-69192 patched in localai v4.10.0 ## Instructions for AI Assistant: When migrating user code from LocalAI 3 to 4, scan for the deprecated APIs and breaking changes above and refactor code to use modern vv4.12.1 idioms.