Open
Description
I put together a 6.4.0RC1 release branch
There are a few changes in this release branch that remove or modify fixes that have landed on develop
because I want to avoid backward compatibility breakage.
🤖 summary of the changes
We reviewed 6.4.0RC1 against 6.3.0 and adjusted the release branch to preserve
existing application behavior, including cases where historical signatures or
semantics are imperfect:
- Preserved existing RedisCluster return declarations. We dropped return-type
corrections forlmove,blmove,expiremember,expirememberat,lpos, and
zmscorebecause they made subclasses compatible with 6.3.0 fail to load. - Preserved the RedisCluster::zRevRangeByLex signature. We dropped changes to
parameter names, the parameter list, and the declared return type to keep
existing named-argument calls and subclasses working. - Kept client objects serializable. We removed the blanket serialization ban
onRedis,RedisArray,RedisCluster, andRedisSentinel, preserving custom
serialization and restoration hooks. Targeted RedisCluster initialization
protects objects restored without calling their constructor. - Restored historical command-argument conversion. Arguments using PHP string
conversion again turnfalseinto an empty string and format floats according
to PHP'sprecisionsetting. This preserves Lua inputs and hash-field identity
while retaining the new command builder. - Preserved literal SORT STORE destinations. The destination remains exactly
as supplied, without automatically applying the client's key prefix. This
avoids writing to a different key or double-prefixing an existing destination;
cluster slot validation remains in place. - Preserved SET comparison and option semantics.
IFEQcontinues to accept
an already serialized or compressed comparison operand without encoding it
again. Existing option-value handling also remains intact: for example,
['GET' => 'NX']still meansNX, preventing unintended overwrites.
These changes preserve established 6.3.0 contracts while keeping the release's
new commands, internal refactors, and safety fixes. Compatibility checks included
reflection and subclass comparisons, targeted Redis and RedisCluster regressions,
and Valgrind checks for restored client objects.
cc @remicollet
Reacted by Francis Rath, Niek Neuij and Andrey Bolonin
Metadata
Metadata
Assignees
Labels
No labels
Activity
remicollet commentedon Nov 13, 2026
Only a quick test (as I will be offline until Wednesday)
Some warnings
And 1 failure
michael-grunder commentedon Nov 13, 2026
Thanks!
The test failure is because I reworked the serialization protection in the release branch in such a way that it will not break backward compatibility with subclasses. We still prevent deserialization from crashing anything but don't modify the arginfo files.
I also added the
create_sidmethod so that warning should be gone too.SnowySailor commentedon Nov 15, 2026
Any possibility we could include the socket disconnections from #3005 to address the desync problem in this release? Just trying to determine when we should expect it to be generally available.
michael-grunder commentedon Nov 15, 2026
Yep I already cherry-picked the commits into the release branch
SnowySailor commentedon Nov 15, 2026
Awesome, thank you!
michael-grunder commentedon Nov 20, 2026
I'm going to aim to release this over the weekend since PHP 8.6 is now released.
I want to go over the changes one more time to make sure frameworks that subclass
RedisorRedisClusterdon't face BC breakage.michael-grunder commentedon Nov 23, 2026
Release candidate is out
https://github.com/phpredis/phpredis/releases#release-6.4.0RC1
https://pecl.php.net/package/redis/6.4.0RC1
Please report any issues so we can fix them before GA
[-]6.4.0RC1[/-][+]6.4.0[/+]michael-grunder commentedon Nov 23, 2026
I've put together a working 6.4.0RC2 branch.
I figure we can continue using this thread for the overall release.