Breaking: Valkey-Swift 1.0 Launches as Production-Grade Swift Client for Valkey and Redis
A production-ready Swift client for the high-performance key-value store Valkey has reached its 1.0 milestone, marking a significant upgrade for server-side Swift developers who rely on caching or message brokering.
“Valkey-swift is a client library targeted at Valkey servers but works equally well with Redis,” said Adam Fowler, an open source developer in the Swift-on-server ecosystem and one of the library’s authors. “It is built from the ground up with Swift 6 and structured concurrency. Every command returns typed responses checked at compile time, and strict concurrency checking catches data races at compile time, not in production.”
The library covers every standard Valkey command, auto-generated from Valkey’s command specifications to stay in sync as the server evolves. Connections and subscriptions are scoped through structured concurrency, ensuring automatic resource cleanup.
Background
Valkey is an open source fork of Redis, created after Redis changed its licensing structure. It is a high-performance datastore commonly used as a caching layer or message broker in server applications.
Previously, the de facto Swift client for Redis was RediStack, which was built on pre-concurrency concepts. “Retrofitting structured concurrency would have been awkward, and some of the new features in valkey-swift would have been infeasible,” Fowler explained. With Redis’s license change and the rise of Valkey, the team saw an opportunity for a clean break.
What This Means
For developers building server-side Swift applications that need a fast key-value store, valkey-swift offers a modern, type-safe, and concurrency-safe alternative to legacy clients. It can be added via Swift Package Manager and includes a migration guide for RediStack users.
Complete documentation is available, and contributions are open on GitHub. The library is designed to be production-grade, catching errors during compilation rather than at runtime.
Other Swift Updates
Videos to Watch
At try! Swift Tokyo 2026, two talks focused on Embedded Swift:
- Getting started with Embedded Swift — a short introduction covering embedded simulators and code examples for devices including the Game Boy Advance.
- Learn by Building: Bare-Metal Programming with Embedded Swift — a deeper dive with sample code for five bare-metal Raspberry Pi Pico examples featured in the talk.
Concurrency Q&A
A live online Q&A on Swift concurrency features engineers who designed and used the features, offering practical insights.
New Package Releases
Nil Coalescing published a video on advanced techniques for working with optionals in Swift, covering lesser-known options.
Additional package releases were also announced, though details were not disclosed in the original announcement.
Related Articles
- 10 Lessons from Meta's WebRTC Modernization: Escaping the Forking Trap
- 10 Essential Updates in Git 2.54 You Should Know
- Rust Expands Mentorship Horizons: Joining Outreachy for the May 2026 Cohort
- 8 Key Updates on GitHub’s Reliability Journey
- Rust Project Joins Outreachy: Everything You Need to Know
- Breaking the WebRTC Forking Cycle: Meta's Modular Approach to Real-Time Communication at Scale
- The Rise of OpenClaw: How Persistent AI Agents Are Redefining Enterprise Autonomy
- Breaking: Rust Project Approves 13 Open Source Projects for Google Summer of Code 2026 Amid Record Proposal Surge