Embracing the Ecosystem

As the march to Vapor 5 continues, we are starting to see what our packages will look like in the modern ecosystem. Part of this involves integrating the many packages that are becoming integral to Swift on the server.

blog.vapor.codes/posts/embracing-the-ecosystem/

The upcoming Vapor 5 release embraces the modern Swift ecosystem by integrating key packages, with JWTKit v5 leading the way by adopting Swift 6, Swift Testing, Benchmark, and Swift Crypto, eliminating BoringSSL to improve build times and leveraging Swift Concurrency.

MultipartKit is next, transitioning to Swift Testing for better test writing, adding benchmark tests for performance, and removing SwiftNIO dependency to use AsyncSequences for a type-agnostic streaming API, enhancing compatibility with packages like Swift OpenAPI Generator.

Vapor 5 will incorporate Swift Testing via a new VaporTesting module, use benchmarks for measurable performance improvements, and adopt Swift Argument Parser to reduce duplicated behaviour. Swift Service Lifecycle will manage service lifecycles, while new Swift Middleware and HTTP Server libraries aim to minimise ecosystem duplication, positioning Vapor 5 as a robust, modern foundation for server-side Swift development.


Category:

Year: