Repository navigation
SwiftDecision 0.5.0
Highlights
- Adds
DecisionResult.orderedTrace, a single invocation-scoped timeline that interleaves SwiftDecision lifecycle checkpoints with SpecificationCore evaluation spans. - Adds
decisionTraceHandlersnapshots for successful and thrown calls, including partial traces on cancellation and backend errors. - Uses the released SpecificationCore 2.1.0 dependency, which supplies the shared monotonic timeline API.
Compatibility
SwiftDecision 0.5.0 requires Swift tools 6.3 or later and keeps the iOS 15 minimum introduced in 0.4.0. Apps that need iOS 13 or 14 should stay on the 0.3 series.
Validation
CI passed on Swift 6.3.3 and Swift 6.4, including the iOS 15 Simulator build and native MLX trait on Apple Silicon. Locally on Swift 6.4, default-trait tests passed (29 tests, 0 failures); MLX-trait tests passed for macOS 14 (28 passed, 1 optional checkpoint parity test skipped because no model checkpoint was provided).