Valkey-Swift 1.0 Launches: A Production-Grade Swift Client for High-Performance Datastore
Valkey-Swift 1.0 Released: Built for Swift 6 with Structured Concurrency
A new milestone for server-side Swift: the valkey-swift client library has reached version 1.0, offering a modern, type-safe interface to Valkey (and Redis) datastores. The announcement was made today on the Valkey blog, with co-author Adam Fowler sharing details in an exclusive guest post.
“I am excited to announce the 1.0 release of valkey-swift—a production-grade Swift client for Valkey,” said Fowler. “It is built from the ground up with Swift 6 and structured concurrency. Every Valkey command returns typed responses checked at compile time, and strict concurrency checking is enabled throughout so that data races are caught by the compiler, not in production.”
Background
Valkey is an open-source fork of Redis, created after the latter changed its licensing model. It serves as a high-performance datastore commonly used for caching, message brokering, and more. The new client covers every standard Valkey command, auto-generated from Valkey’s own command specifications to stay in sync as the server evolves.
Previously, the de facto Swift client for Redis was RediStack, which relied on pre-concurrency patterns. “Retrofitting structured concurrency would have been awkward, and some of the new features in valkey-swift would have been infeasible,” Fowler explained. “Around the same time, Redis changed its licensing, and Valkey was created. So it felt like a good time to make a clean break and build a new library.”
What This Means
For server-side Swift developers, valkey-swift eliminates whole classes of runtime bugs by catching data races at compile time. Connections and subscriptions are scoped through structured concurrency, ensuring automatic resource cleanup. The library is drop-in ready via Swift Package Manager and includes a migration guide for existing RediStack users.
“If you’re building server‑side Swift and need a fast key-value store, add valkey-swift and you’re ready to go,” Fowler added. Complete documentation and contribution guidelines are available on GitHub.
Other Swift News This Month
Embedded Swift at try! Swift Tokyo 2026
Two talks on Embedded Swift debuted at the conference. Getting started with Embedded Swift offers a short, accessible introduction with code examples running on the Game Boy Advance. Learn by Building: Bare‑Metal Programming with Embedded Swift dives deeper with five Raspberry Pi Pico examples.
Swift Concurrency Insights
A live online Q&A with engineers who designed Swift concurrency features is now available to watch. The session covers real‑world usage tips and design rationale.
Advanced Optionals Video
Nil Coalescing published a new tutorial on lesser‑known options for working with optionals: Advanced Techniques for Working with Optionals in Swift.
Next Steps for Developers
To get started with valkey-swift, add the package via Swift Package Manager. Existing RediStack users can follow the migration guide. Full documentation and source code are publicly available.
Keywords: valkey-swift, Swift, Valkey, Redis, server-side Swift, structured concurrency, Embedded Swift
Related Discussions