Swift Developers Land Production-Grade Valkey Client: valkey-swift 1.0 Goes Live

From Xtcworld, the free encyclopedia of technology

Swift Developers Land Production-Grade Valkey Client: valkey-swift 1.0 Goes Live

The Swift on server ecosystem reached a milestone with the release of valkey-swift 1.0, a production-grade Swift client for the Valkey datastore. Adam Fowler, open source developer and lead author, announced the release on the Valkey blog today.

Swift Developers Land Production-Grade Valkey Client: valkey-swift 1.0 Goes Live

“valkey-swift is built from the ground up with Swift 6 and structured concurrency,” Fowler said. “Every Valkey command returns typed responses checked at compile time, and strict concurrency catching data races before production.”

Valkey, an open source fork of Redis, is a high-performance datastore commonly used as a caching layer or message broker in server applications. The new client supports every standard Valkey command, auto-generated from Valkey’s own command specifications to ensure compatibility as the server evolves.

Connections and subscriptions are scoped through structured concurrency, meaning resources clean up automatically. The library currently covers all standard commands and is targeted at Valkey servers but works equally well with Redis.

Background

Before valkey-swift, the de facto Swift client for Redis was RediStack, built on pre-concurrency concepts. Retrofitting structured concurrency would have been awkward, and some new features in valkey-swift were infeasible under that design.

Around the same time, Redis changed its licensing structure, prompting the creation of the open source fork Valkey. “It felt like a good time to make a clean break and build a new library,” Fowler added.

What This Means

Server-side Swift developers now have a modern, safe, and efficient client for one of the most popular datastores. valkey-swift leverages Swift 6’s concurrency model to eliminate data races at compile time, reducing runtime errors and simplifying code maintenance.

For teams using RediStack to connect with Redis, a migration guide is available. The library is ready to add via Swift Package Manager, with complete documentation and contributions welcome on GitHub.

More Swift News from April 2026

Embedded Swift Takes Center Stage at try! Swift Tokyo

The try! Swift Tokyo 2026 conference featured two talks on Embedded Swift:

  • Getting started with Embedded Swift: A short introductory talk covering embedded simulators and code examples running on devices like the Game Boy Advance.
  • Learn by Building: Bare-Metal Programming with Embedded Swift: A deeper dive with five bare-metal Raspberry Pi Pico examples available as sample code.

Deep Dive on Swift Concurrency

A live online Q&A on Swift concurrency offers insights directly from engineers who designed and used its features. The session is available for replay.

Advanced Optionals Video Released

Nil Coalescing published Advanced Techniques for Working with Optionals in Swift, a video exploring lesser-known options for handling optionals.

New Package Releases

Several new packages were released this month. Developers are encouraged to check the Swift Package Index for the latest additions.

Get Started with valkey-swift

To add valkey-swift to your project, use Swift Package Manager with the GitHub repository. Full documentation and a migration guide from RediStack are available. The project welcomes contributions.

Reporting for the Swift community