---
title: "github.com/ml-explore/mlx-swift 0.33.0 Breaking Changes"
description: "What each github.com/ml-explore/mlx-swift release removed, renamed or changed: 31 breaking changes in 5 versions on Swift Package Index, each with its source."
canonical_url: https://since.dev/packages/swift/github.com/ml-explore/mlx-swift
last_updated: 2026-12-04
---

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

github.com/ml-explore/mlx-swift 0.33.0 (October 27, 2026) is its newest release with breaking changes, 10 of them. The first: Behavior changed eval. Every breaking API change we have recorded in github.com/ml-explore/mlx-swift on Swift Package Index: 31 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.33.0`, released October 27, 2026. [Source repository](https://github.com/ml-explore/mlx-swift)

- From [0.25.1](#v-0-25-1) to [0.33.0](#v-0-33-0): 30 breaking changes in 4 versions.

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

github.com/ml-explore/mlx-swift 0.33.0, released October 27, 2026: 10 breaking changes.

- **Behavior changed** `eval`  

eval() no longer holds evalLock while waiting, which changes concurrency behavior. [github.com](https://github.com/ml-explore/mlx-swift/releases/tag/0.33.0)
- **Behavior changed** `MLXLog`  

Logging internals changed; the library was internal so this should be transparent. [github.com](https://github.com/ml-explore/mlx-swift/releases/tag/0.33.0)
- **Behavior changed** `shardedToAll`  

Sharding with index segments now builds a correct predicate for QuantizedLinear layers, which can change sharding results. [github.com](https://github.com/ml-explore/mlx-swift/releases/tag/0.33.0)
- **Behavior changed** `tripletLoss`  

tripletLoss() now computes with the correct p-norm, so results for non-default p-norm change. [github.com](https://github.com/ml-explore/mlx-swift/releases/tag/0.33.0)
- **Signature changed** `compile`  

The compile function no longer returns a Sendable closure; use compile(shapeless:\_:), which requires a @Sendable closure and returns one. Check whether build failures come from using compile incorrectly. [github.com](https://github.com/ml-explore/mlx-swift/releases/tag/0.33.0)
- **Signature changed** `Linear`  

Linear parameters now use @ParameterInfo instead of bare MLXArray. [github.com](https://github.com/ml-explore/mlx-swift/releases/tag/0.33.0)
- **Signature changed** `MLXArray`  

MLXArray is no longer marked final; MaterializedArray is the new sendable evaluated alternative. [github.com](https://github.com/ml-explore/mlx-swift/releases/tag/0.33.0)
- **Signature changed** `MLXCustomFunction`  

Closures passed to MLXCustomFunction must now be @Sendable, which can cause build failures for non-Sendable closures. [github.com](https://github.com/ml-explore/mlx-swift/releases/tag/0.33.0)
- **Signature changed** `QuantizedEmbedding`  

QuantizedEmbedding parameters now use @ParameterInfo instead of bare MLXArray. [github.com](https://github.com/ml-explore/mlx-swift/releases/tag/0.33.0)
- **Signature changed** `QuantizedLinear`  

QuantizedLinear parameters now use @ParameterInfo instead of bare MLXArray. [github.com](https://github.com/ml-explore/mlx-swift/releases/tag/0.33.0)

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

github.com/ml-explore/mlx-swift 0.32.2, released September 28, 2026: 16 breaking changes.

- **Behavior changed** `Adafactor`  

Adafactor now uses broadcast instead of matmul and creates state lazily instead of force-unwrapping, which can change results. [github.com](https://github.com/ml-explore/mlx-swift/releases/tag/0.32.2)
- **Behavior changed** `ALiBi.alibiSlope`  

alibiSlope now matches Python for non-power-of-2 head counts, so slopes for those counts differ from before. [github.com](https://github.com/ml-explore/mlx-swift/releases/tag/0.32.2)
- **Behavior changed** `Device`  

Two Device values with different indices are no longer equal, so comparisons that relied on the old behavior may change. [github.com](https://github.com/ml-explore/mlx-swift/releases/tag/0.32.2)
- **Behavior changed** `Device.cpu`  

Device.cpu now returns the current device for the active stream rather than a fixed device. [github.com](https://github.com/ml-explore/mlx-swift/releases/tag/0.32.2)
- **Behavior changed** `Device.gpu`  

Device.gpu now returns the current device for the active stream, which may not be device 0 on multi-GPU systems. [github.com](https://github.com/ml-explore/mlx-swift/releases/tag/0.32.2)
- **Behavior changed** `Device.setDefaultDevice`  

Device.setDefaultDevice may only be called before any mlx resources are created. [github.com](https://github.com/ml-explore/mlx-swift/releases/tag/0.32.2)
- **Behavior changed** `GRU`  

The hidden bias bhn is now applied when there is no incoming hidden state, which changes GRU outputs. [github.com](https://github.com/ml-explore/mlx-swift/releases/tag/0.32.2)
- **Behavior changed** `Muon`  

Muon now uses norm and addMM in Newton–Schulz, which causes small numeric differences from earlier versions. [github.com](https://github.com/ml-explore/mlx-swift/releases/tag/0.32.2)
- **Behavior changed** `Stream.cpu`  

Stream.cpu now returns the current task-aware CPU stream. [github.com](https://github.com/ml-explore/mlx-swift/releases/tag/0.32.2)
- **Behavior changed** `Stream.gpu`  

Stream.gpu now returns the current task-aware GPU stream. [github.com](https://github.com/ml-explore/mlx-swift/releases/tag/0.32.2)

And 6 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

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

github.com/ml-explore/mlx-swift 0.31.1, released March 23, 2026: 1 breaking change.

- **Behavior changed** `x[.ellipsis]`  

Subscripting an array with \[.ellipsis\] now returns a copy rather than the original array object. Code that relied on the result sharing storage with the source must be updated. [github.com](https://github.com/ml-explore/mlx-swift/releases/tag/0.31.1)

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

github.com/ml-explore/mlx-swift 0.29.1, released October 16, 2025: 3 breaking changes.

- **Signature changed** `Quantizable.toQuantized`  

The Quantizable protocol method toQuantized now requires a mode parameter, so custom conformances must add it. [github.com](https://github.com/ml-explore/mlx-swift/releases/tag/0.29.1)
- **Signature changed** `quantized`  

The biases returned by quantized is now optional, so code using it must unwrap or handle nil. [github.com](https://github.com/ml-explore/mlx-swift/releases/tag/0.29.1)
- **Signature changed** `QuantizedLinear.biases`  

The biases property of QuantizedLinear changed type to optional, and a mode property was added, so code reading biases must handle nil. [github.com](https://github.com/ml-explore/mlx-swift/releases/tag/0.29.1)

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

github.com/ml-explore/mlx-swift 0.25.1, released May 2, 2025: 1 breaking change.

- **Renamed** `update`  

The update method was renamed to \_updateInternal to discourage callers from using it. Code that calls update must switch to \_updateInternal. [github.com](https://github.com/ml-explore/mlx-swift/releases/tag/0.25.1)

## Related packages

- [github.com/ml-explore/mlx-swift-examples](https://since.dev/packages/swift/github.com/ml-explore/mlx-swift-examples.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.
