Repository navigation
1.3.0 — NamedPipeline
What's New
Added
- NamedPipeline (Spec 29) — reusable, named middleware pipeline that can be declared once and applied to multiple routes or scopes. Conforms to
SendableandModulePlug, works with@PlugPipelineresult builder, and integrates via newscope(_:through:)overload acceptingNamedPipeline. Supports conditionals, loops, halt propagation, and nested scope composition.
let apiPipeline = NamedPipeline {
requestId()
auth
}
let router = Router {
scope("/api", through: apiPipeline) {
GET("/users") { conn in ... }
}
}CI
- Upgraded to Swift 6.3 toolchain across all CI jobs.
Full Changelog: 1.2.0...1.3.0