Valkey-Swift 1.0 Launches: New Production-Grade Swift Client for High-Performance Datastore
Swift Server Ecosystem Gains First-Class Valkey Client
The Valkey project has announced the 1.0 release of valkey-swift, a native Swift client built with Swift 6 and structured concurrency. The library provides full coverage of all standard Valkey commands, with compile-time type safety and automatic resource cleanup.
"Valkey-swift is a client library targeted at Valkey servers but is equally capable of working with Redis," said Adam Fowler, open source developer and guest contributor. "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 during compilation.
Key Features
- Structured concurrency: Connections and subscriptions are scoped, ensuring automatic cleanup.
- Typed responses: All Valkey commands return compile-time verified types.
- Auto-generated commands: The client stays in sync with Valkey’s evolving command set by generating code from its own specifications.
- Full compatibility: Works with both Valkey and Redis servers, with a migration guide available for RediStack users.
Background
Valkey is an open source fork of Redis, created after Redis changed its licensing structure. The previous de facto Swift client, RediStack, relied on pre-concurrency patterns. Retrofitting structured concurrency was deemed awkward and would have blocked advanced features.
"Around the same time Redis changed its licensing and Valkey was created, so it felt like a good time to make a clean break," Fowler explained. The result is a library that leverages Swift 6’s concurrency model from the ground up.
What This Means
For server-side Swift developers using a key-value store as a caching layer or message broker, valkey-swift offers a modern, safe, and performant alternative. The library eliminates entire classes of runtime bugs through compile-time checks and automatic resource management. Those still on RediStack can migrate using the provided guide, ensuring a smooth transition to structured concurrency.
The release also signals the Swift ecosystem’s growing maturity for server workloads, with a production-grade client that embraces the language’s latest features. "If you’re building server-side Swift and need a fast key-value store, add valkey-swift via Swift Package Manager," Fowler urged.
Other Swift Updates
Embedded Swift Gains Momentum at try! Swift Tokyo 2026
The conference featured two talks: Getting started with Embedded Swift, an intro with code examples for devices including the Game Boy Advance, and Learn by Building: Bare-Metal Programming with Embedded Swift, which walks through five Raspberry Pi Pico examples. Both demonstrate Swift’s expanding reach into embedded systems.
Concurrency Q&A and Video Releases
A live online Q&A with Swift concurrency engineers is now available for viewing. Additionally, the Nil Coalescing channel released Advanced Techniques for Working with Optionals in Swift, covering lesser-known optional handling patterns.
New Package Releases
Several new Swift packages were released in April 2026. For a full list, see the package releases section.
This article is part of our monthly ‘What’s new in Swift’ series, covering releases, videos, and discussions in the Swift community.