Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion Docs/RELEASE_QUALIFICATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ gates on its exact SHA before re-evaluating the supported-platform
contract. **No 1.0 release claim is authorized while the optimized
macOS fixture fails to link.**

## Candidate published swift-http-server 0.5.0 upgrade

The HTTP SDK now **proposes** the official `swift-http-server` 0.5.0 tag instead of the prior October 8 revision. Both root and conformance fixture `Package.resolved` are explicitly updated to the published tag's Git commit `3e50d9404eb916cd6d030b81af90fdaec73efebc`. `Scripts/check-release-graph.py` rejects a mismatch in either the version or revision. The SwiftNIO early-EOF patch is **not** part of swift-http-server 0.5.0 and HTTP #12 remains independent.

This candidate is not qualified merely by updating the manifests: verify clean SwiftPM resolution, public `NIOHTTPServer` API compatibility, macOS debug suite, macOS optimized ARM64 fixture links and tests, full server/client referee scenarios, plus the Linux compile-only gate. The ownership experiment of HTTP PR #20 is independently reviewed and not included in this dependency-only change. Do not merge a red PR or claim release readiness.

## Qualified build procedure

`bash Scripts/qualify-release.sh full` (macOS 27) performs explicit
Expand Down Expand Up @@ -102,7 +108,7 @@ run-time resolution**.
| --- | --- | --- |
| Swift-MCP-Server Core | `branch: "main"` | **Mutable; not suitable for 1.0**; convert after approved Core version in #14 |
| Swift-JSON | aligned with Core at `from: "1.9.0"` | Shared fixture/root revision required |
| swift-http-server | raw SHA `0b8f1691b83a6cedbe1c15096e6b8d7f485d59a9` | Based on 2026-10-08 source; upstream 0.5.0 released 2026-11-04; do not upgrade without tests |
| swift-http-server | **0.5.0 exact** (tag `3e50d9404eb916cd6d030b81af90fdaec73efebc`, issued 2026-11-04) | Candidate upgrade in a separate PR; must still pass optimized ARM64 fixture links, tests, and referees before release |
| swift-nio | `from: "2.104.0"`, baseline resolver 2.105.0 | macOS early EOF unresolved in #12 |
| swift-http-api-proposal | `exact: "0.2.0"` | Dependency compatibility still requires proof |
| swift-collections | `exact: "1.6.0"` | 1.7 borrowing iterator change previously incompatible |
Expand Down
3 changes: 2 additions & 1 deletion Package.resolved

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ let package = Package(
.package(url: "https://github.com/ThorFuchs/Swift-JSON.git", from: "1.9.0"),
// Upstream SwiftNIO. Early EOF on macOS 27 needs apple/swift-nio#3783 (see README, Known issues).
.package(url: "https://github.com/apple/swift-nio.git", from: "2.104.0"),
.package(url: "https://github.com/swift-server/swift-http-server.git", revision: "0b8f1691b83a6cedbe1c15096e6b8d7f485d59a9", traits: []),
.package(url: "https://github.com/swift-server/swift-http-server.git", exact: "0.5.0", traits: []),
.package(url: "https://github.com/apple/swift-http-api-proposal.git", exact: "0.2.0", traits: []),
// BasicContainers' borrowing iterators changed incompatibly in swift-collections 1.7.
.package(url: "https://github.com/apple/swift-collections.git", exact: "1.6.0"),
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ including 25 `auth/*` scenarios (discovery, client identity, code flow, `iss`, s
or write, because upstream SwiftNIO disables early EOF on Darwin. Fix proposed in
[apple/swift-nio#3783](https://github.com/apple/swift-nio/pull/3783); three tests are marked
`withKnownIssue` until it ships.
- `swift-http-server` is pinned to a revision (pre-release dependency).
- `swift-http-server` 0.5.0 is selected as a proposed exact release dependency; its macOS optimized-link and lifecycle qualification is still pending. See [release qualification](Docs/RELEASE_QUALIFICATION.md).

## Third-party directory listing

Expand Down
8 changes: 5 additions & 3 deletions Scripts/check-release-graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"swift-mcp-server", "swift-json", "swift-http-server", "swift-nio",
"swift-http-api-proposal", "swift-collections",
)
HTTP_SERVER_SHA = "0b8f1691b83a6cedbe1c15096e6b8d7f485d59a9"
HTTP_SERVER_SHA = "3e50d9404eb916cd6d030b81af90fdaec73efebc"
HTTP_SERVER_VERSION = "0.5.0"


def pins(path):
Expand All @@ -36,8 +37,9 @@ def main():
if not r.get("revision") or r["revision"] != f.get("revision"):
raise ValueError(f"root/fixture {identity} revision mismatch: {r} / {f}")
print(f"{identity} = {r['revision']} ({r.get('version', r.get('branch', 'revision'))})")
if root["swift-http-server"]["revision"] != HTTP_SERVER_SHA:
raise ValueError("swift-http-server revision unexpectedly changed")
if (root["swift-http-server"]["revision"] != HTTP_SERVER_SHA
or root["swift-http-server"].get("version") != HTTP_SERVER_VERSION):
raise ValueError("swift-http-server must resolve to audited 0.5.0 release tag")
if root["swift-mcp-server"].get("branch") != "main":
raise ValueError("Core dependency contract changed; conduct HTTP #14 audit")
json_version = root["swift-json"].get("version", "")
Expand Down
3 changes: 2 additions & 1 deletion Tools/Conformance/SwiftFixture/Package.resolved

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading