---
title: "github.com/ml-explore/mlx-swift-examples (swift) | Since.dev"
description: "What each github.com/ml-explore/mlx-swift-examples release on Swift Package Index removed, renamed or changed, each with its source."
canonical_url: https://since.dev/packages/swift/github.com/ml-explore/mlx-swift-examples
last_updated: 2026-12-04
---

# github.com/ml-explore/mlx-swift-examples breaking changes

github.com/ml-explore/mlx-swift-examples 2.21.2 (December 10, 2024) is its newest release with breaking changes, 4 of them. The first: Removed LLM.loadModelContainer. Every breaking API change we have recorded in github.com/ml-explore/mlx-swift-examples on Swift Package Index: 5 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.29.1`, released October 16, 2025. [Source repository](https://github.com/ml-explore/mlx-swift-examples)

- From [1.16.0](#v-1-16-0) to [2.21.2](#v-2-21-2): 4 breaking changes in 1 version.

## github.com/ml-explore/mlx-swift-examples 2.21.2 breaking changes

github.com/ml-explore/mlx-swift-examples 2.21.2, released December 10, 2024: 4 breaking changes.

- **Removed** `LLM.loadModelContainer`  

The loadModelContainer() function is now LLMModelFactory.shared.loadContainer(); update calls to use the factory. [github.com](https://github.com/ml-explore/mlx-swift-examples/releases/tag/2.21.2)
- **Renamed** `ModelConfiguration.phi3_5_4bit`  

Model constants moved from ModelConfiguration to ModelRegistry; change references accordingly. [github.com](https://github.com/ml-explore/mlx-swift-examples/releases/tag/2.21.2)
- **Configuration changed** `ModelConfiguration.register`  

Registering new model configurations now happens on LLMModelFactory's modelRegistry instead of ModelConfiguration. [github.com](https://github.com/ml-explore/mlx-swift-examples/releases/tag/2.21.2)
- **Signature changed** `ModelContainer.perform`  

perform is now throwing, so callers need try and an async context; the generate call moves to MLXLMCommon. [github.com](https://github.com/ml-explore/mlx-swift-examples/releases/tag/2.21.2)

## github.com/ml-explore/mlx-swift-examples 1.16.0 breaking changes

github.com/ml-explore/mlx-swift-examples 1.16.0, released August 2, 2024: 1 breaking change.

- **Behavior changed**  

The release contains breaking API changes but the notes do not name them. Review the release contents before upgrading from 0.12.1. [github.com](https://github.com/ml-explore/mlx-swift-examples/releases/tag/1.16.0)

## Related packages

- [github.com/ml-explore/mlx-swift](https://since.dev/packages/swift/github.com/ml-explore/mlx-swift.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
