Repository navigation
Nexus 2.1 lets packages that only use the Hummingbird adapter skip Vapor entirely.
What's new
-
Vaporpackage trait:NexusVaporand its Vapor dependency now sit behind theVaportrait, which is on by default, so existing users are unaffected. Depend on Nexus withtraits: []and SwiftPM no longer fetches Vapor, routing-kit, multipart-kit, console-kit, or websocket-kit (about 75 MB of sources):.package(url: "https://github.com/roost-framework/Nexus.git", from: "2.1.0", traits: []),
What's fixed
HTTPRequest.arbitraryno longer generates an authority made only of whitespace or control characters. HTTPTypes stores such an authority as empty, so the generator broke its non-empty guarantee for some seeds.
Requirements
- Swift 6.1 or later (swift-tools-version 6.1), the first version with package traits. Swift 6.0 projects keep resolving Nexus 2.0.x.
See the changelog for details.