Skip to content

Move to FoundationEssentials#59

Merged
rnro merged 2 commits into
swift-server:mainfrom
madsodgaard:foundation-essentials
Mar 6, 2026
Merged

Move to FoundationEssentials#59
rnro merged 2 commits into
swift-server:mainfrom
madsodgaard:foundation-essentials

Conversation

@madsodgaard

Copy link
Copy Markdown
Contributor

Uses FoundationEssentials instead of Foundation. Also removes NIOFoundationCompat, because it did appear to be used, and that pulled in the entire Foundation.

Also disabled the default traits for the OpenAPIRuntime to prevent linking Foundation.

@rnro

rnro commented Mar 6, 2026

Copy link
Copy Markdown
Collaborator

Thanks for this, it looks like a good change. It looks like the Soundness checks aren't getting on with the pinned manifest though. I'm not sure at first glance if this is a shortcoming of the checks or not.

@madsodgaard

Copy link
Copy Markdown
Contributor Author

@rnro Thanks! Yeah, I forgot to update the ignore files. Should be good now 👍

@rnro rnro added the 🆕 semver/minor Adds new public API. label Mar 6, 2026
@rnro rnro merged commit 5ee8f2d into swift-server:main Mar 6, 2026
33 of 34 checks passed
@madsodgaard

Copy link
Copy Markdown
Contributor Author

@rnro thanks for merging 🙌 - can we get new release tagged perhaps?

@rnro

rnro commented Mar 9, 2026

Copy link
Copy Markdown
Collaborator

We've just cut https://github.com/swift-server/swift-openapi-async-http-client/releases/tag/1.4.0

simonjbeaumont added a commit to apple/swift-openapi-urlsession that referenced this pull request Apr 8, 2026
Disables the default traits for OpenAPIRuntime, so that anyone that
depends on urlsession transport, can choose disable the default. runtime
traits

Related: 
*
swift-server/swift-openapi-async-http-client#59
* apple/swift-openapi-generator#878

---------

Co-authored-by: Si Beaumont <beaumont@apple.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🆕 semver/minor Adds new public API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants