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
On this page
Latest version 0.33.0, released October 27, 2026. Source repository
github.com/ml-explore/mlx-swift 0.33.0 breaking changes
- Behavior changed
eval
eval() no longer holds evalLock while waiting, which changes concurrency behavior. github.com - Behavior changed
MLXLog
Logging internals changed; the library was internal so this should be transparent. github.com - Behavior changed
shardedToAll
Sharding with index segments now builds a correct predicate for QuantizedLinear layers, which can change sharding results. github.com - Behavior changed
tripletLoss
tripletLoss() now computes with the correct p-norm, so results for non-default p-norm change. github.com - 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 - Signature changed
Linear
Linear parameters now use @ParameterInfo instead of bare MLXArray. github.com - Signature changed
MLXArray
MLXArray is no longer marked final; MaterializedArray is the new sendable evaluated alternative. github.com - Signature changed
MLXCustomFunction
Closures passed to MLXCustomFunction must now be @Sendable, which can cause build failures for non-Sendable closures. github.com - Signature changed
QuantizedEmbedding
QuantizedEmbedding parameters now use @ParameterInfo instead of bare MLXArray. github.com - Signature changed
QuantizedLinear
QuantizedLinear parameters now use @ParameterInfo instead of bare MLXArray. github.com
github.com/ml-explore/mlx-swift 0.32.2 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 - 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 - 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 - Behavior changed
Device.cpu
Device.cpu now returns the current device for the active stream rather than a fixed device. github.com - 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 - Behavior changed
Device.setDefaultDevice
Device.setDefaultDevice may only be called before any mlx resources are created. github.com - Behavior changed
GRU
The hidden bias bhn is now applied when there is no incoming hidden state, which changes GRU outputs. github.com - Behavior changed
Muon
Muon now uses norm and addMM in Newton–Schulz, which causes small numeric differences from earlier versions. github.com - Behavior changed
Stream.cpu
Stream.cpu now returns the current task-aware CPU stream. github.com - Behavior changed
Stream.gpu
Stream.gpu now returns the current task-aware GPU stream. github.com
And 6 more in this version. Sign up to see every change
github.com/ml-explore/mlx-swift 0.31.1 breaking changes
- 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
github.com/ml-explore/mlx-swift 0.29.1 breaking changes
- Signature changed
Quantizable.toQuantized
The Quantizable protocol method toQuantized now requires a mode parameter, so custom conformances must add it. github.com - Signature changed
quantized
The biases returned by quantized is now optional, so code using it must unwrap or handle nil. github.com - 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
github.com/ml-explore/mlx-swift 0.25.1 breaking changes
- 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
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.