Skip to content

Lower Apple deployment minimums to macOS 15 and iOS 18 (1.8.1) - #83

Closed
ThorFuchs wants to merge 3 commits into
release/1.8.xfrom
platform-floor-1.8.1
Closed

ThorFuchs wants to merge 3 commits into
release/1.8.xfrom
platform-floor-1.8.1

Conversation

@ThorFuchs

Copy link
Copy Markdown
Owner

Patch release candidate for 1.8.1 on top of 1.8.0. Base is the new release/1.8.x branch at the 1.8.0 commit 66718f1.

Why

Swift-MCP-Server (the MCP 2026-07-28 server SDK) wants to support macOS 15 / iOS 18 and Linux, like the official MCP Swift SDK. Swift-JSON's macOS/iOS 27 floor was the only blocker on Apple platforms, and it turned out to be declared rather than required.

Changes

  • Package.swift: .macOS(.v15), .iOS(.v18) (was macOS/iOS 27).
  • JSONHTML: JSONPDFWebPage and its navigation decider are @available(macOS 26, iOS 26, *) (WebKit WebPage). preparingPDFWithReport throws the existing JSONPDFFailure.backendUnavailable before 26, as on platforms without WebKit.
  • JSONHTML: the Markdown transfer type is UTType.markdown on 27+, and the same system-declared net.daringfireball.markdown identifier before that.
  • Tests that exercise those APIs carry matching @available (3 transfer tests, 2 WebKit PDF tests).
  • Docs: README requirements table, AGENTS/architecture notes and the CHANGELOG 1.8.1 entry. Historical qualification reports are unchanged.

No public API, behavior or dependency change on macOS/iOS 27. Linux and WASI are unaffected.

Results (macOS 27.0, Xcode 27.2, Swift 6.4.2)

  • swift build --build-tests: PASS (all 13 products and tests, floor macOS 15).
  • swift test: PASS — 950 test functions, 0 failures.
  • Not run: execution on an actual macOS 15–26 or iOS 18 device. PDF tests that use the WebKit backend need macOS/iOS 26 at runtime.

After merge

Tag 1.8.1 on release/1.8.x (maintainer decision). The same change is needed on main for 1.9 (follow-up PR).

🤖 Generated with Claude Code

ThorFuchs and others added 3 commits November 10, 2026 10:54
Swift-JSON compiles and passes its tests with macOS 15 / iOS 18 minimums;
the macOS/iOS 27 floor was declared rather than required. Only two optional
JSONHTML APIs need newer systems:

- The WebKit WebPage PDF backend is marked available from macOS/iOS 26;
  earlier systems report the existing JSONPDFFailure.backendUnavailable.
- The Markdown transfer type uses the system-declared
  net.daringfireball.markdown identifier before UTType.markdown (27).

Tests that exercise those APIs carry matching availability. Development
still uses Swift 6.4 with the macOS 27 SDK; Linux and WASI are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ThorFuchs

Copy link
Copy Markdown
Owner Author

Superseded by 1.9.0: the macOS 15 / iOS 18 deployment floor ships in #84 (same commits, carried onto main). No 1.8.1 release is planned. Consumers on from: "1.8.0" pick up 1.9.0 automatically; Swift-MCP-Server-Core can move to from: "1.9.0" once it is tagged.

@ThorFuchs ThorFuchs closed this Nov 10, 2026
ThorFuchs added a commit that referenced this pull request Nov 10, 2026
…to macOS 15 / iOS 18 (#84)

Typed store failure phase/capacity (Equatable), integer record IDs (JSONStoreIDKind, JSONStoreRecordID), collectionIndex(named:), strict(marker:) without validateTargets, JSONInspectionBatch.optionalValues(at:), JSONTransformProgram.selectIndices(in:), WASI pin to Swift 6.4.2, macOS 15 / iOS 18 deployment floor carried from #83, and the 1.9.0 candidate qualification record with the maintainer's performance-gate exception.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@ThorFuchs
ThorFuchs deleted the platform-floor-1.8.1 branch November 11, 2026 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant