Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: refactor zrange #1267

Merged
merged 6 commits into from
Apr 8, 2023
Merged

feat: refactor zrange #1267

merged 6 commits into from
Apr 8, 2023

Conversation

marcoreni
Copy link
Contributor

@marcoreni marcoreni commented Apr 7, 2023

Starting with 6.2.0, Redis has deprecated ZREVRANGE, Z[REV]RANGEBYSCORE and Z[REV]RANGEBYLEX and added all of their params into ZRANGE.

This PR inherits Redis' new ZRange parsing function so that ZRANGE supports all the new parameters and so that all the "child" functions use the same algorithm.

In subsequent PRs I'm planning on adding support for Z[REV]RANGEBYLEX and, hopefully, ZRANGESTORE

Copy link
Owner

@stipsan stipsan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Solid work ✨ thanks!

@stipsan stipsan changed the title Feat: Refactor zrange feat: refactor zrange Apr 8, 2023
@stipsan stipsan merged commit 0d0de54 into stipsan:main Apr 8, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Apr 8, 2023

🎉 This PR is included in version 8.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants