Implements the RESP2 and RESP3 Redis protocols.
Please see the project documentation for more details.
- Getting Started - This guide explains how to use the
Protocol::Redis
gem to implement the RESP2 and RESP3 Redis protocols for low level client and server implementations.
Please see the project releases for all releases.
- Introduce
Pubsub#spublish
method for shard channels.
- Introduce cluster methods, including
Strings
,Streams
,Scripting
andPubsub
.
- Add agent context.
- 100% documentation and test coverage + minor bug fixes.
- Add support for
client info
command.
- Fix HSCAN method implementation.
- Add missing
hscan
method. - Add
mapped_hmget
andmapped_hmset
methods to matchredis-rb
gem interface. - Add cluster methods to client.
- Make hashes methods compatible with redis-rb.
- Add scripting methods to client and fix script interface.
- Include sets and streams in the protocol methods.
- Add support for essential
exists?
method. - Prefer bake-gem for release management.
- Add support for multi-argument auth.
- Add relevant pubsub method group.
- Add tests for info command, streams, and string methods.
- Use correct CRLF constant in server methods.
- Modernize gem configuration.
We welcome contributions to this project.
- Fork it.
- Create your feature branch (
git checkout -b my-new-feature
). - Commit your changes (
git commit -am 'Add some feature'
). - Push to the branch (
git push origin my-new-feature
). - Create new Pull Request.
In order to protect users of this project, we require all contributors to comply with the Developer Certificate of Origin. This ensures that all contributions are properly licensed and attributed.
This project is best served by a collaborative and respectful environment. Treat each other professionally, respect differing viewpoints, and engage constructively. Harassment, discrimination, or harmful behavior is not tolerated. Communicate clearly, listen actively, and support one another. If any issues arise, please inform the project maintainers.