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.

Breaking: Valkey-Swift 1.0 Launches as Production-Grade Swift Client for Valkey and Redis

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:

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.

Tags:

Recommended

Discover More

Open Source Unsung Heroes: Documentary Series Reveals Human Stories Behind Internet's Core TechnologiesHow to Transform Your PlayStation 5 into a Linux Gaming Machine: A Step-by-Step GuideLinux 7.2 Kernel Update: Fair Scheduling for DRM and New AIE4 Support in AMDXDNASegway Xaber 300: The 60 MPH Electric Dirt Bike That Redefines Off-Road RidingIntel and Apple Reportedly Reach Preliminary Chip Production Agreement