# Migration Context: LocalAI v1 -> v2 # Generated by Changelogs.us: 2026-11-30T03:04:31.469462+00:00 # Target Version: v2.29.0 # Upgrade Command: N/A # Breaking Changes: 15 # Security Fixes: 0 ## Executive Summary Upgrading LocalAI from 1 to 2 involves 51 releases with risk rating High. ## Breaking Changes List: - [vv2.0.0] Breaking Changes 🛠 * :fire: add LLaVA support and GPT vision API, Multiple requests for llama.cpp, return JSON types by @mudler in https://github.com/mudler/LocalAI/pull/1254 * refactor: rename llama-stable to llama-ggml by @mudler in https://github.com/mudler/LocalAI/pull/1287: - [vv2.1.0] Breaking Changes 🛠 * feat(alias): alias llama to llama-cpp, update docs by @mudler in https://github.com/mudler/LocalAI/pull/1448 ### Bug fixes :bug:: - [vv2.10.0] Excited to announce the release of LocalAI v2.10.0! This version introduces significant changes, including breaking changes, numerous bug fixes, exciting new features, dependency updates, and more. Here's a summary of what's new:: - [vv2.10.0] Breaking Changes 🛠 - The `trust_remote_code` setting in the YAML config file of the model are now consumed for enhanced security measures also for the AutoGPTQ and transformers backend, thanks to @dave-gray101's contribution ([#1799](https://github.com/mudler/LocalAI/pull/1799)). If your model relied on the old behavior and you are sure of what you are doing, set `trust_remote_code: true` in the YAML config file.: - [vv2.10.0] Breaking Changes 🛠 * feat(autogpt/transformers): consume `trust_remote_code` by @dave-gray101 in https://github.com/mudler/LocalAI/pull/1799 ### Bug fixes :bug:: - [vv2.20.0] Breaking Changes 🛠 * chore: drop gpt4all.cpp by @mudler in https://github.com/mudler/LocalAI/pull/3106 * chore: drop petals by @mudler in https://github.com/mudler/LocalAI/pull/3316: - [vv2.20.1] Breaking Changes 🛠 * chore: drop gpt4all.cpp by @mudler in https://github.com/mudler/LocalAI/pull/3106 * chore: drop petals by @mudler in https://github.com/mudler/LocalAI/pull/3316: - [vv2.21.0] Breaking Changes 🛠 * chore(exllama): drop exllama backend by @mudler in https://github.com/mudler/LocalAI/pull/3536 * chore(aio): rename gpt-4-vision-preview to gpt-4o by @mudler in https://github.com/mudler/LocalAI/pull/3597: - [vv2.23.0] Breaking Changes 🛠 * feat(templates): use a single template for multimodals messages by @mudler in https://github.com/mudler/LocalAI/pull/3892 ### Bug fixes :bug:: - [vv2.24.0] Breaking Changes 🛠 * feat(models): use rwkv from llama.cpp by @mudler in https://github.com/mudler/LocalAI/pull/4264 * feat(backends): Drop bert.cpp by @mudler in https://github.com/mudler/LocalAI/pull/4272: - [vv2.26.0] It contains several cleanups, performance improvements and few breaking changes: old backends that are now superseded have been removed (for example, `vall-e-x`), while new backends have been added to expand the range of model architectures that LocalAI can support. While most of the changes are tested, if you encounter issues with the new backends or migrated ones please file a new issue.: - [vv2.26.0] :warning: Breaking Changes :warning: - Several backends have been dropped and replaced for improved performance and compatibility. - `Vall-e-x` and `Openvoice` were deprecated and dropped.: - [vv2.26.0] Breaking Changes 🛠 * chore(vall-e-x): Drop backend by @mudler in https://github.com/mudler/LocalAI/pull/4619 * feat(transformers): merge musicgen functionalities to a single backend by @mudler in https://github.com/mudler/LocalAI/pull/4620: - [vv2.29.0] ⚠️ Important: Breaking Changes This release includes significant changes to container image tagging and contents. Please review carefully:: - [vv2.29.0] Breaking Changes 🛠 * chore(autogptq): drop archived backend by @mudler in https://github.com/mudler/LocalAI/pull/5214 * chore(ci): build only images with ffmpeg included, simplify tags by @mudler in https://github.com/mudler/LocalAI/pull/5251: ## Instructions for AI Assistant: When migrating user code from LocalAI 1 to 2, scan for the deprecated APIs and breaking changes above and refactor code to use modern vv2.29.0 idioms.