Skip to content

Remove platform requirements - #4

Merged
glbrntt merged 5 commits into
apple:mainfrom
aryan-25:remove-platform-requirements
Jun 30, 2026
Merged

Remove platform requirements#4
glbrntt merged 5 commits into
apple:mainfrom
aryan-25:remove-platform-requirements

Conversation

@aryan-25

@aryan-25 aryan-25 commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

Motivation

The 26.0 platform requirements are only present due to the swift-nio-quic dependency. Moreover, this dependency is only required by the H3IntegrationTests test target.

Following from apple/swift-nio-quic#18, we can now transitively drop the platform requirements in this repo and gate declarations using swift-nio-quic APIs in H3IntegrationTests behind an @available(anyAppleOS 26, *) guard.

Modifications

  • Updated the swift-nio-quic dependency to point to the branch of Drop platforms block and add availability annotations swift-nio-quic#18.
  • Removed the platform declaration in Package.swift.
  • Added an @available(anyAppleOS 26, *) guard to all declarations in H3IntegrationTests using swift-nio-quic APIs.
  • Added an @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *) guard to all declarations behind the HTTP3AsyncInterface SPI (to match the availability of AsyncStreaming).

Result

swift-nio-http3 can be used without 26.0 platform requirements.

@aryan-25 aryan-25 added the semver/none No version bump required. label Jun 18, 2026
@aryan-25
aryan-25 marked this pull request as ready for review June 22, 2026 19:53
@6639835

6639835 commented Jun 24, 2026

Copy link
Copy Markdown

I need this change! Thanks! Hope we can merge it soon...

@6639835 6639835 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@glbrntt
glbrntt enabled auto-merge (squash) June 30, 2026 09:16
@glbrntt
glbrntt merged commit cbf3926 into apple:main Jun 30, 2026
28 of 29 checks passed
@aryan-25
aryan-25 deleted the remove-platform-requirements branch June 30, 2026 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver/none No version bump required.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants