-
Notifications
You must be signed in to change notification settings - Fork 11.1k
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
Allow for Redis 5.0 #29029
Comments
Are you referring to these changes?
|
Those errors and these failures:
|
The changes are listed on PECL at the moment. Unless I've made a mistake? (And in the source Looks like it's also been added in a slightly nicer format in the CHANGELOG on GitHub. 👍 |
Is this possibly related to the breaking change to I tried testing it with the new array syntax (seems to be preferred) which seems to resolve the zRange issues: And the same with the boolean syntax. The deprecated method errors seem to be related to the following commits: I've added a test to see if these can be resolved by updating the PhpRedisConnection class. This seems to (when combined with the array syntax fix above) resolve the issues with those warnings. Note, I personally don't use Redis yet so I have only tested this against the unit tests with Redis 5.0 |
There is also still likely this issue, #24222 which was merged but then reverted so it's not actually there, but most of the prefix based functions don't work under phpredis at the moment. I unfortunately haven't had a chance to revisit those issues. |
PhpRedis 5.0 was just released but apparently some changes are needed in Laravel before it can be used with the framework. There's nothing yet in the changelog so unsure what has changed.
We should make sure that no breaking changes are made that would disallow usage of older phpredis versions. Otherwise the changes will have to go to master.
I made a change to the build to only test on the latest 4.x release for now: 0596050
The text was updated successfully, but these errors were encountered: