swift-nio-extras

1.26.0

Useful code around SwiftNIO.
apple/swift-nio-extras

What's New

SwiftNIO Extras 1.26.0

2025-04-23T10:01:25Z

What's Changed

SemVer Minor

  • Strict concurrency for NIOExtras and NIOExtrasTests by @glbrntt in #254
  • Strict concurrency for NIOHTTPCompression by @glbrntt in #257
  • Strict concurrency for NIOHTTPResponsiveness and NIOHTTPResponsivenessTests by @glbrntt in #261
  • Strict concurrency for HTTPTypes and friends by @glbrntt in #259
  • Strict concurrency for NIONFS3 and NIONFS3Tests by @glbrntt in #264

SemVer Patch

Other Changes

  • Rename nightly_6_1 params to nightly_next by @rnro in #249
  • Only apply standard swift settings on valid targets by @rnro in #250
  • Add a missing import to CNIOLinux by @czechboy0 in #251
  • Enable macOS CI on merge to main and daily timer by @rnro in #255
  • Strict concurrency for NIOWritePCAPDemo, NIOWritePartialPCAPDemo and NIOSOCKSClient by @glbrntt in #260
  • Strict concurrency for HTTPServerWithQuiescingDemo by @glbrntt in #262
  • Strict concurrency for NIOExtrasPerformanceTester by @glbrntt in #263
  • Enable macOS CI on pull requests by @rnro in #258
  • Enable Swift 6.1 jobs in CI by @rnro in #268

New Contributors

Full Changelog: 1.25.0...1.26.0

NIOExtras

NIOExtras is a good place for code that is related to NIO but not core. It can also be used to incubate APIs for tasks that are possible with core-NIO but are cumbersome today.

What makes a good contribution to NIOExtras?

  • a protocol encoder/decoder pair (also called "codec") that is often used but is small enough so it doesn't need its own repository
  • a helper to achieve a task that is harder-than-necessary to achieve with core-NIO

Code Quality / Stability

All code will go through code review like in the other repositories related to the SwiftNIO project.

swift-nio-extras part of the SwiftNIO 2 family of repositories and depends on the following:

  • swift-nio, version 2.30.0 or better.
  • Swift 5.7.1
  • zlib and its development headers installed on the system. But don't worry, you'll find zlib on pretty much any UNIX system that can compile any sort of code.

To depend on swift-nio-extras, put the following in the dependencies of your Package.swift:

.package(url: "https://github.com/apple/swift-nio-extras.git", from: "1.0.0"),

Support for older Swift versions

The most recent versions of SwiftNIO Extras support Swift 5.7.1 and newer. The minimum Swift version supported by SwiftNIO Extras releases are detailed below:

SwiftNIO Extras Minimum Swift Version
1.0.0 ..< 1.10.0 5.0
1.10.0 ..< 1.11.0 5.2
1.11.0 ..< 1.14.0 5.4
1.14.0 ..< 1.19.0 5.5.2
1.19.0 ..< 1.20.0 5.6
1.20.0 ..< 1.23.0 5.7.1
1.23.0 ... 5.8

On the nio-extras-0.1 branch, you can find the swift-nio-extras version for the SwiftNIO 1 family. It requires Swift 4.1 or better.

Current Contents

Description

  • Swift Tools 5.8.0
View More Packages from this Author

Dependencies

Last updated: Fri May 16 2025 00:53:43 GMT-0900 (Hawaii-Aleutian Daylight Time)