45 Commits

Author SHA1 Message Date
Honza Dvorsky 8c4ce10883 [CI] Update package for Swift 6.0+ (#137)
### Motivation:

Right now, the nightly CI is failing due to the package relying on old
decommissioned Swift toolchains (dev toolchains for 6.0).

### Modifications:

Updated the CI setup to be Swift 6.0+, bumped the tools version, but
kept the language mode to 5 for now.

Bumping of language mode from 5 to 6 can be done in a separate PR, this
PR is mainly to unblock nightly CI.

### Result:

Fixes nightly CI.
2026-02-16 17:09:27 +01:00
Tim Condon e243c4e26e Update README.md (#95)
Master branch is no more, rename to main
2023-10-06 03:35:52 -07:00
Joannis Orlandos 26299c0571 Readme: Clarify how to obtain an EventLoop (#89)
Fixes a dead link to the EventLoop docs, and add a default way to obtain an EventLoop using NIOSingletons.
2023-09-14 18:02:37 +02:00
Fabian Fett d7c4121e4b README.md: Switch mirroring around (#56) 2023-06-20 13:33:15 +02:00
Joannis Orlandos 95d04866ef README: Remove the testing table, release table and supported OSes (#62) 2023-06-19 05:49:51 -07:00
Joannis Orlandos 2f3db6ef11 Remove reliance on the NIO umbrella module (#60) 2023-06-19 09:37:04 +02:00
Fabian Fett 60021f99bc Remove codeclimate (#55) 2023-06-16 11:11:58 -07:00
Nathan Harris b5c0bc8e05 Bump minimum supported Swift version to 5.5
## Motivation

RediStack 1.x is going to be supported at least until 2.x is released, which is a few months away.

Developers who are on later versions of Swift will adopt later versions of NIO and other libraries, and after we merged !183 we required NIO 2.42.x which has a minimum Swift version of 5.5

## Changes

This back ports the CI config from `master` into this branch, with updates to the README to reflect the changes
2022-11-30 21:35:43 -06:00
Nathan Harris b2367ac33e 81 -- Add Configuration types for initialization 2020-11-22 00:17:22 -08:00
Nathan Harris ec1a38ba7f Update README to clarify Swift version support and update process 2020-11-22 03:53:14 +00:00
Nathan Harris 02ab82c1ac Update README to have latest correct information regarding versions 2020-11-22 03:45:14 +00:00
Nathan Harris 1cf438ea2b Add Swift 5.3 testing for more platforms 2020-08-30 16:20:54 -07:00
Nathan Harris cfb02ba827 Add CI testing on CentOS 7 2020-08-30 15:27:35 -07:00
Nathan Harris e56df0c469 Fix project logo in README 2020-08-29 21:04:40 -07:00
Nathan Harris d2fcb61f56 Drop support for Swift 5.0 2020-08-09 16:34:59 -07:00
George Barnett 60e79b71b8 Update URLs from swift-redi-stack to RediStack
Motivation:

The project was moved from Mordil/swift-redi-stack to Mordil/RediStack;
some URLs still point to swift-redi-stack.

Modifications:

- Update URLs in README and CHANGELOG

Result:

More accurate URLs; fewer warnings from GitLab :)
2020-05-29 17:06:49 +00:00
Nathan Harris b462bdcf3f Update CodeClimate badge for renamed project 2020-03-27 14:28:21 -07:00
Nathan Harris 851c81ae79 Update CI to use official Swift 5.2 images and update README for current testing matrix 2020-03-27 14:19:27 -07:00
Nathan Harris bd4a0dab84 Add documentation coverage badge to README 2020-02-04 23:10:18 -08:00
Nathan Harris 21d0a3120b Add code quality tracking from Code Climate 2020-02-04 22:33:33 -08:00
Nathan Harris a0b21e7b81 Update test matrix in README 2020-01-26 13:57:07 -08:00
Nathan Harris 8e48e939e0 Update README to clarify Redis version support 2020-01-16 10:15:02 -08:00
Nathan Harris 4b2729c0ac Add Swift 5.2 branch testing to CI f10d6a0 Nathan Harris <nathan@mordil.info> Jan 16, 2020 at 08:08 2020-01-16 09:28:07 -08:00
Nathan Harris 3c4b5c407a Update Test Matrix to include Swift 5.1 Official Release
Motivation:

With the release of Swift 5.1, the official docker containers are available for both 16.04 and 18.04 of Linux - so the test matrix should include them.

Modifications:

- Add new 5.1 jobs for 18.04 linux and change 16.04 5.1 jobs to use the official docker images.
- Update the README to capture the changes

Result:

The number of configurations the library is tested against should be as wide as possible for regular interval testing passes.
2019-09-23 19:19:31 -07:00
Nathan Harris ca16cee332 Fix relative links in README to legal docs 2019-07-12 20:31:50 -07:00
Nathan Harris 6791ba80e9 Fix relative links in README that were broken for docs site users 2019-07-11 14:52:02 -07:00
Nathan Harris f788056ecb Update documentation URL to new docs.redistack.info URL 2019-07-09 13:45:43 -07:00
Nathan Harris 0fbc2eb39f Add links to new support email.
Motivation:

As this project might take off and support be needed, users will want a direct line of communication to file support tickets.

Modifications:

Update docs to include references and links for contacting the RediStack maintainers for assistance.

Result:

Users should have more information on how to contact project maintainers.
2019-07-09 13:20:10 -07:00
Nathan Harris 04aa1f93a3 Polish project documents
Motivation:

To give a better first impression, and providing more comprehensive information for first time viewers, the README file needed reworking.

Modifications:

- Add a CHANGELOG file that at least redirects readers to the releases page of GitLab
- Update the CONTRIBUTORS list
- Change project README to have more information, flow better, and to have a better "first impression"

Result:

The README should give a stronger indication into the project's health.
2019-07-08 23:06:57 -07:00
Nathan Harris 7e7e354697 61 -- Rebrand from RedisNIO to RediStack 2019-07-08 19:45:33 -07:00
Nathan Harris ea7c755d07 Refactor RedisConnection
Motivation:

During proposal review, and while working within the codebase, several issues were identified with how `RedisConnection` was architectured.

Modifications:

- Change implementation of `RedisConnection` in some areas for new logic of internal `ConnectionState`
- Change behavior of logging in a few places
- The initializer for `RedisConnection` is now **internal**
- How users can override the default `ClientBootstrap` for a connection is by passing an instance to the `.connect` static method
- Change unit tests to inherit from a common XCTestCase class that handles creation and cleanup of `RedisConnection` in tests
- Remove Redis namespace enum

Result:

The API for `RedisConnection` should be much simpler, with the implementation being less buggy.

This resolves issues #49, #54, and #57.
2019-07-05 11:29:35 -07:00
Nathan Harris 73b3f5df32 Add static property for default RedisConnection port
Motivation:

The default port for Redis is well published to be 6379, and it is common to want to pass this value around or use it as a static default value in methods and initializers.

Modifications:

Add `RedisConnection.defaultPort` static property for all users to use, and update references of the `6379` literals to use new  the new property.

Result:

Users should have a reliable default defined to use everywhere to avoid bugs.
2019-06-12 10:11:53 -07:00
Nathan Harris 06c0aeed0a Fix README and API Docs
Motivation:

The emojis in the README were not rendered consistently in the docs and on different screen form factors making a poor UX.

Modifications:

The CI config now properly sends the custom theme to Jazzy, and the README no longer has the `🔔` emoji in the disclaimer header.

Result:

A consistent UX with the README and proper API docs referring to GitLab
2019-06-06 18:40:32 -07:00
Nathan Harris 23a8d4455f Update README
Motivation:

After moving to GitLab, and while still having a GitHub mirror, it is important to drive people to the proper location for getting help and reporting bugs or feature requests.

Also, some information should be updated to include new tags, formatting, and a link to the new API docs.

Modifications:

README is updated to point users to the GitLab repository and to have up-to-date information about the project.

Result:

Users should know where to reach project maintainers and where to find documentation.
2019-06-06 18:00:42 -07:00
Nathan Harris e81f9546d1 Rename NIORedis to RedisNIO
Motivation:

The SSWG has identified a fast approaching reality of namespace clashes in SPM within the ecosystem and has proposed a rule on names that `NIORedis` no longer complies with.

Modifications:

All references to `NIORedis` have been switched to `RedisNIO` as this module name is unique (at least within GitHub's public repositories).

The goals for this name are as follows:

1. To indicate that this is a Redis client library that is built with SwiftNIO
2. That it is a lower level library, as it directly exposes SwiftNIO as an implementation detail
    2a. The idea being that a higher level library (`Redis`) will be used, and to "go one level deeper" in the stack, you append the "deeper" `NIO` postfix
3. It follows a naming pattern adopted by Vapor who has expressed their desire to adopt this library as their Redis implementation

Result:

A repository, package name, and module name that are unique across GitHub's public repositories that achives the goals outlined above.
2019-06-06 09:55:08 -07:00
Nathan Harris 3eb7608762 Tweak README formatting 2019-05-01 19:36:19 -07:00
Nathan Harris 0131fe43ba Update Readme and Tweak Redis.makeConnection(...)
Motivation:

The goal of the `Redis.makeConnection` factory method is to provide end users with a quick way to jump in and get started with Redis in Swift.

Right now, users have to provide an `EventLoopGroup` instance, when a reasonable default is available for us to define.

Modifications:

- Add: `MultiThreadedEventLoopGroup` for 1 thread as a default argument to the `using:` label in `Redis.makeConnection`
- Remove: The `with:` label for the password in `Redis.makeConnection`
- Change: The project README to reflect the current state of the project

Results:

Users should be able to create `RedisConnections` by just defining an IP Address & Port to connect to - and possibly a password.

In addition, the README should now properly direct users on how to use the latest version of the library.
2019-05-01 18:59:59 -07:00
Nathan Harris c80b8e7312 add contribution information 2019-02-08 00:16:58 -08:00
Nathan Harris 96af68f4b5 add additional details to README 2019-02-08 00:08:25 -08:00
Nathan Harris 229f9574d8 Update README 2019-02-07 23:43:08 -08:00
Nathan Harris badf342391 Simplify README now that forum post is active 2019-01-10 12:06:42 -08:00
Nathan Harris 26e3ac2aab Rename usage of RedisData to RESPValue or just RESP where it makes sense 2019-01-09 13:04:51 -08:00
Nathan Harris 498a732b3f Update pitch doc to include references to pipelines and include links 2019-01-07 19:45:46 -08:00
Nathan Harris 3a26585562 Add pitch doc 2018-12-22 20:35:10 -08:00
Nathan Harris 9a23a427df Initial commit 2018-12-12 22:10:15 -08:00