Repository navigation
Releases
v0.40.1 — MLXEngineUI: a lapsed models-folder grant can be re-granted
v0.40.1 — MLXEngineUI: a lapsed models-folder grant can be re-granted
Bug fix only. No contract change (still 1.30.0), no new API.
Apply was gated purely on draftPath != appliedPath, so re-picking the folder
already applied did nothing — the button stayed disabled and the click was a
no-op. That is the exact state a user lands in after relaunch when
restoreBookmark() RESOLVES the app-scope bookmark (populating the path, so the
panel looks correctly configured) but startAccessingSecurityScopedResource()
fails, leaving no actual access. The only escape was to apply some other folder
and then re-apply the real one.
A fresh pick with no access held now counts as a pending change — what changed
is the GRANT, not the path — and the silent half of the failure is logged
instead of left to be deduced.
Pairs with v0.40.0's settings-geometry fix: same module, and a consumer adopting
that release would otherwise carry this bug.
v0.40.0 — settings-window geometry fix (MLXEngineUI)
v0.40.0 — settings-window geometry fix (MLXEngineUI)
For consumers embedding EngineSettingsView. No contract change (still 1.30.0);
MLXToolKit and MLXServeCore are untouched.
- EngineSettingsView declared minWidth 720 while its columns sum to 721
(sidebar 200 + hairline 1 + panel 520), so a host sizing to the declared
minimum clipped the detail column by 1pt. The minimum is now DERIVED from the
column tokens rather than hardcoded, so changing a column can't silently
invalidate the window. - The detail column now SCROLLS. The model-storage panel grows a row per
installed model since the v0.37.0 delete affordance, so no fixed height bounds
it; previously the extra rows — and the delete buttons on them — became
unreachable rather than merely cramped. minHeight (620) is an opening size,
not a content guarantee. - New public tokens: MarqueeMetric.sidebarWidth / hairline / panelWidth /
settingsMinWidth / settingsMinHeight. Size a host window or sheet from
settingsMinWidth rather than a literal.
Also carries the preemption-test flake fix (ad67c7a): the barrier now bounds on
wall-clock time instead of a yield count, which was producing intermittent CI
reds on loaded runners.
v0.37.0 — license enforcement becomes advisory (contract 1.28.0)
v0.37.0 — license enforcement becomes advisory (contract 1.28.0)
BEHAVIOR CHANGE, read before upgrading from v0.36.0:
MLXServeEngine.register() no longer rejects a license outside its policy by
default. Through v0.36.0 (contract 1.27.0) it threw EngineError.licenseRejected
unconditionally; from this tag the default is licenseEnforcement: .advisory —
the package registers and the finding is recorded on engine.licenseAdvisories.
If your app must not load non-permissive weights, pair the bump with:
MLXServeEngine(licenseEnforcement: .blocking)
Old call sites keep compiling (the parameter is defaulted), so nothing warns you
at compile time. The runtime tell is the [License] log line per advisory.
Contract 1.28.0 (additive): LicenseEnforcement, LicenseAdvisory,
LicenseGateResult.advisory(repo:policy:), MLXServeEngine.licenseAdvisories.
LicensePolicy is UNCHANGED — .permissiveOnly is still the default classifier, so
exhaustive switches over it still compile. C7/C8 remain conformance items; their
pass condition moved from "on the allowlist" to "declared and accurate".
Also in this release, since v0.36.0:
- MS-1 marker migration finished: writeMarker now migrates a pre-1.22 marker to
the canonical path and prunes the emptied directories, so the compatibility
fallback is self-closing per repo. legacyDirectory(for:) is deprecated. - ModelStore.installedModels(at:) — per-repo enumeration for the storage UI.
- ModelStorageSettingsView gains a guarded per-model delete (WeightDeleteHandler
seam; the residency guard stays on the engine). ModelStorageModel is now
@mainactor. - MCP tool exposure removed from scope — an external bridge app consumes the
engine; C11 renamed "surface introspectability" (same number, same criterion). - CI pinned to --build-system swiftbuild: the deprecated native build system
ships no MLX metallib, which was aborting the whole test process. - MS-3 verified against the live hub (tree-API vs on-disk ratio 1.0004).