Skip to content

CoderPadKit 0.5.12

Choose a tag to compare

@adamtheturtle adamtheturtle released this 07 Aug 06:14
376e727

What's Changed

Restores Linux support for Screen response handling, which regressed in 0.5.10.

ScreenClient+ResponseData.swift used URLSession.AsyncBytes and session.bytes(for:delegate:) unconditionally. Those APIs are Darwin-only, so Linux consumers of 0.5.10 and 0.5.11 failed to build with 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'. That code now sits behind #if canImport(FoundationNetworking), with a buffered path on Linux.

CI also gains a Linux job (swift build --target CoderPadKit on swift:6.2) so this class of regression is caught before release.

Full Changelog: 0.5.11...0.5.12