Repository navigation
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).