¹Use of newer Redis features on older Redis versions is done at your own risk. See Redis’ release notes for v5, v4, and v3 for what is supported for each version of Redis.
Supported Operating Systems
RediStack runs anywhere that is officially supported by the Swift project².
Any given release of RediStack will support at least the latest version of Swift on a given platform plus 2 previous versions, at the time of the release.
Major version releases will be scheduled around official Swift releases, taking no longer 3 months from the Swift release.
Major version releases will drop support for any version of Swift older than the last 3 Swift versions.
This policy is to balance the desire for as much backwards compatibility as possible, while also being able to take advantage of new Swift features for the best API design possible.
The following table shows the combination of Swift language versions and operating systems that
receive regular unit testing (either in development, or with CI).
Platform
Swift 5.5
5.6
5.7
Trunk
macOS Latest (M1)
✅
Ubuntu 20.04 (Focal)
✅
✅
✅
✅
Ubuntu 18.04 (Bionic)
✅
✅
✅
✅
Ubuntu 16.04 (Xenial)³
✅
❌
❌
❌
Amazon Linux 2
✅
✅
✅
✅
CentOS 8³
✅
❌
❌
❌
CentOS 7
✅
✅
✅
✅
³CentOS 8 and Ubuntu 16.04 are no longer officially supported by Swift after Swift 5.5.
This project contains code written by others not affliated with this project. All copyright claims are reserved by them. For a full list, with their claimed rights, see NOTICE.txt
Redis is a registered trademark of Redis Labs. Any use of their trademark is under the established trademark guidelines and does not imply any affiliation with or endorsement by them, and all rights are reserved by them.
Swift is a registered trademark of Apple, Inc. Any use of their trademark does not imply any affiliation with or endorsement by them, and all rights are reserved by them.
Introduction
RediStack (pronounced like “ready stack”) is a non-blocking Swift client for Redis built on top of SwiftNIO.
It communicates over the network using Redis’ Redis Seralization Protocol (RESP2).
This library is primarily developed for Redis v5, but is backwards compatible to Redis v3¹.
The table below lists the major releases alongside their compatible language, dependency, and Redis versions.
from: "1.0.0"
from: "1.4.0"
Supported Operating Systems
RediStack runs anywhere that is officially supported by the Swift project².
Installing
To install RediStack, just add the package as a dependency in your Package.swift.
Getting Started
RediStack is quick to use - all you need is an
EventLoop
from SwiftNIO.Documentation
The docs for the latest tagged release are always available at docs.redistack.info.
Questions
For bugs or feature requests, file a new issue.
For all other support requests, please email support@redistack.info.
Changelog
SemVer changes are documented for each release on the releases page.
Contributing
Check out CONTRIBUTING.md for more information on how to help with RediStack.
Contributors
Check out CONTRIBUTORS.txt to see the full list. This list is updated for each release.
Swift on Server Ecosystem
RediStack is part of the Swift on Server Working Group ecosystem - currently recommended as Sandbox Maturity.
Language and Platform Support
Any given release of RediStack will support at least the latest version of Swift on a given platform plus 2 previous versions, at the time of the release.
Major version releases will be scheduled around official Swift releases, taking no longer 3 months from the Swift release.
Major version releases will drop support for any version of Swift older than the last 3 Swift versions.
This policy is to balance the desire for as much backwards compatibility as possible, while also being able to take advantage of new Swift features for the best API design possible.
The following table shows the combination of Swift language versions and operating systems that receive regular unit testing (either in development, or with CI).
License
Apache 2.0
Copyright (c) 2019-present, Nathan Harris (@mordil)
This project contains code written by others not affliated with this project. All copyright claims are reserved by them. For a full list, with their claimed rights, see NOTICE.txt
Redis is a registered trademark of Redis Labs. Any use of their trademark is under the established trademark guidelines and does not imply any affiliation with or endorsement by them, and all rights are reserved by them.
Swift is a registered trademark of Apple, Inc. Any use of their trademark does not imply any affiliation with or endorsement by them, and all rights are reserved by them.