forked from phpredis/phpredis
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.xml
More file actions
1751 lines (1478 loc) · 79 KB
/
package.xml
File metadata and controls
1751 lines (1478 loc) · 79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0"?>
<package packagerversion="1.4.11" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0
http://pear.php.net/dtd/tasks-1.0.xsd
http://pear.php.net/dtd/package-2.0
http://pear.php.net/dtd/package-2.0.xsd">
<name>redis</name>
<channel>pecl.php.net</channel>
<summary>PHP extension for interfacing with key-value stores</summary>
<description>
This extension provides an API for communicating with RESP-based key-value
stores, such as Redis, Valkey, and KeyDB.
</description>
<lead>
<name>Michael Grunder</name>
<user>mgrunder</user>
<email>michael.grunder@gmail.com</email>
<active>yes</active>
</lead>
<lead>
<name>Pavlo Yatsukhnenko</name>
<user>yatsukhnenko</user>
<email>p.yatsukhnenko@gmail.com</email>
<active>yes</active>
</lead>
<date>2025-03-24</date>
<version>
<release>6.2.0</release>
<api>6.2.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP</license>
<notes>
--- Sponsors ---
A-VISION Advisering - https://a-vision.nu/
Audiomack - https://audiomack.com
Avtandil Kikabidze - https://github.com/akalongman
Geoffrey Hoffman - https://github.com/phpguru
Object Cache Pro for WordPress - https://objectcache.pro
Open LMS - https://openlms.net
Salvatore Sanfilippo - https://github.com/antirez
Ty Karok - https://github.com/karock
Vanessa Santana - https://github.com/vanessa-dev
* A special thanks to Jakub Onderka for nearly two dozen performance improvements in this release!
--- 6.2.0 ---
Fixed:
* Fix arguments order for SET command [f73f5fc] (Pavlo Yatsukhnenko)
* Fix error length calculation and UB sanity check [e73130fe] (michael-grunder)
* Invalidate slot cache on failed cluster connections [c7b87843] (James Kennedy)
* Don't cast a uint64_t to a long [faa4bc20] (michael-grunder)
* Fix potential NULL dereference [43e6cab8] (peter15914)
* Print cursor as unsigned 64 bit integer [138d07b6] (Bentley O'Kane-Chase)
* Fix XAUTOCLAIM argc when sending COUNT [0fe45d24] (michael-grunder)
Added:
* Added `serverName()` and `serverVersion()` [fa3eb006, cbaf095f, 056c2dbe]
(Pavlo Yatsukhnenko, Michael Grunder)
* Added getWithMeta method [9036ffca, 36ab5850] (Pavlo Yatsukhnenko)
* Implement GETDEL command for RedisCluster [d342e4ac] (michael-grunder)
* Introduce Redis::OPT_PACK_IGNORE_NUMBERS option [f9ce9429, 29e5cf0d] (michael-grunder)
* Implement Valkey >= 8.1 IFEQ SET option [a2eef77f] (michael-grunder)
* Implement KeyDB's EXPIREMEMBER[AT] commands [4cd3f593] (michael-grunder)
Documentation:
* Fix phpdoc type of $pattern [5cad2076] (OHZEKI Naoki)
* Better documentation for the $tlsOptions parameter of RedisCluster [8144db37] (Jacob Brown)
Tests/CI:
* Add details to the option doc block [abb0f6cc] (michael-grunder)
* Update CodeQL to v3 [41e11417, a10bca35] (Pavlo Yatsukhnenko)
* Add PHP 8.4 to CI [6097e7ba] (Pavlo Yatsukhnenko)
* Pin ubuntu version for KeyDB [eb66fc9e, 985b0313] (michael-grunder)
* Windows CI: update setup-php-sdk to v0.10 and enable caching [f89d4d8f] (Christoph M. Becker)
Internal:
* Reduce buffer size for signed integer [044b3038, 35c59880] (Bentley O'Kane-Chase)
* Create a strncmp wrapper [085d61ec] (michael-grunder)
* Refactor and avoid allocation in rawcommand method [f68544f7] (Jakub Onderka)
* Use defines for callback growth + sanity check [42a42769] (michael-grunder)
* Switch from linked list to growing array for reply callbacks [a551fdc9] (Jakub Onderka)
* Reuse redis_sock_append_auth method [be388562] (Jakub Onderka)
* Switch pipeline_cmd from smart_str to smart_string [571ffbc8] (Jakub Onderka)
* Remove unused redis_debug_response method from library.c [7895636a] (Jakub Onderka)
* Optimise HMGET method [2434ba29] (Jakub Onderka)
* Avoid unnecessary allocation in redis_hset_cmd [aba09933] (Jakub Onderka)
* Avoid unnecessary allocation in redis_hdel_cmd [4082dd07] (Jakub Onderka)
* Avoid unnecessary allocation in redis_key_varval_cmd [99650e15] (Jakub Onderka)
* Use zval_get_tmp_string method that is faster when provided zval is string [f6906470] (Jakub Onderka)
* Optimise constructing Redis command string [2a2f908f] (Jakub Onderka)
* If no command is issued in multi mode, return immutable empty array [5156e032] (Jakub Onderka)
* Test for empty pipeline and multi [426de2bb] (Jakub Onderka)
* Optimise method array_zip_values_and_scores [400503b8] (Jakub Onderka)
* Faster parameter parsing in redis_key_cmd and redis_key_long_val_cmd [83a19656] (Jakub Onderka)
* Use immutable empty array in Redis::hKeys [3a2f3f45] (Jakub Onderka)
* Use immutable empty array in Redis::exec [60b5a886] (Jakub Onderka)
* Do not allocate empty string or string with one character [64da891e] (Jakub Onderka)
* Initialize arrays with known size [99beb922] (Jakub Onderka)
* Use smart str for constructing pipeline cmd [b665925e] (Jakub Onderka)
</notes>
<contents>
<dir name="/">
<file role='doc' name='LICENSE'/>
<file role='doc' name='CREDITS'/>
<file role='doc' name='README.md'/>
<file role='src' name='INSTALL.md'/>
<file role='doc' name='arrays.md'/>
<file role='doc' name='cluster.md'/>
<file role='doc' name='sentinel.md'/>
<file role='src' name='backoff.c'/>
<file role='src' name='backoff.h'/>
<file role='src' name='cluster_library.c'/>
<file role='src' name='cluster_library.h'/>
<file role='src' name='common.h'/>
<file role='src' name='config.m4'/>
<file role='src' name='config.w32'/>
<file role='src' name='crc16.h'/>
<file role='src' name='library.c'/>
<file role='src' name='library.h'/>
<file role='src' name='php_redis.h'/>
<file role='src' name='redis.c'/>
<file role='src' name='redis.stub.php'/>
<file role='src' name='redis_arginfo.h'/>
<file role='src' name='redis_legacy_arginfo.h'/>
<file role='src' name='redis_array.c'/>
<file role='src' name='redis_array.h'/>
<file role='src' name='redis_array.stub.php'/>
<file role='src' name='redis_array_arginfo.h'/>
<file role='src' name='redis_array_legacy_arginfo.h'/>
<file role='src' name='redis_array_impl.c'/>
<file role='src' name='redis_array_impl.h'/>
<file role='src' name='redis_cluster.c'/>
<file role='src' name='redis_cluster.h'/>
<file role='src' name='redis_cluster.stub.php'/>
<file role='src' name='redis_cluster_arginfo.h'/>
<file role='src' name='redis_cluster_legacy_arginfo.h'/>
<file role='src' name='redis_commands.c'/>
<file role='src' name='redis_commands.h'/>
<file role='src' name='redis_session.c'/>
<file role='src' name='redis_session.h'/>
<file role='src' name='redis_sentinel.c'/>
<file role='src' name='redis_sentinel.h'/>
<file role='src' name='redis_sentinel.stub.php'/>
<file role='src' name='redis_sentinel_arginfo.h'/>
<file role='src' name='redis_sentinel_legacy_arginfo.h'/>
<file role='src' name='sentinel_library.c'/>
<file role='src' name='sentinel_library.h'/>
<dir name='liblzf'>
<file role='doc' name='LICENSE'/>
<file role='doc' name='README'/>
<file role='src' name='lzf.h'/>
<file role='src' name='lzfP.h'/>
<file role='src' name='lzf_c.c'/>
<file role='src' name='lzf_d.c'/>
</dir> <!-- liblzf -->
<dir name='tests'>
<file role='test' name='RedisArrayTest.php'/>
<file role='test' name='RedisClusterTest.php'/>
<file role='test' name='RedisSentinelTest.php'/>
<file role='test' name='RedisTest.php'/>
<file role='test' name='TestRedis.php'/>
<file role='test' name='TestSuite.php'/>
<file role='test' name='getSessionData.php'/>
<file role='test' name='regenerateSessionId.php'/>
<file role='test' name='startSession.php'/>
<file role='test' name='SessionHelpers.php'/>
<file role='test' name='make-cluster.sh'/>
<file role='test' name='mkring.sh'/>
</dir> <!-- tests -->
</dir> <!-- / -->
</contents>
<dependencies>
<required>
<php>
<min>7.4.0</min>
</php>
<pearinstaller>
<min>1.4.0b1</min>
</pearinstaller>
</required>
</dependencies>
<providesextension>redis</providesextension>
<extsrcrelease>
<configureoption name="enable-redis-igbinary" prompt="enable igbinary serializer support?" default="no"/>
<configureoption name="enable-redis-lzf" prompt="enable lzf compression support?" default="no"/>
<configureoption name="enable-redis-zstd" prompt="enable zstd compression support?" default="no"/>
<configureoption name="enable-redis-msgpack" prompt="enable msgpack serializer support?" default="no"/>
<configureoption name="enable-redis-lz4" prompt="enable lz4 compression?" default="no"/>
<configureoption name="with-liblz4" prompt="use system liblz4?" default="yes"/>
</extsrcrelease>
<changelog>
<release>
<stability><release>stable</release><api>stable</api></stability>
<version><release>6.2.0</release><api>6.2.0</api></version>
<date>2025-03-24</date>
<notes>
--- Sponsors ---
A-VISION Advisering - https://a-vision.nu/
Audiomack - https://audiomack.com
Avtandil Kikabidze - https://github.com/akalongman
Geoffrey Hoffman - https://github.com/phpguru
Object Cache Pro for WordPress - https://objectcache.pro
Open LMS - https://openlms.net
Salvatore Sanfilippo - https://github.com/antirez
Ty Karok - https://github.com/karock
Vanessa Santana - https://github.com/vanessa-dev
* Special thanks to Jakub Onderka for nearly two dozen performance improvements in this release!
--- 6.2.0 ---
Fixed:
* Fix arguments order for SET command [f73f5fc] (Pavlo Yatsukhnenko)
* Fix error length calculation and UB sanity check [e73130fe] (michael-grunder)
* Invalidate slot cache on failed cluster connections [c7b87843] (James Kennedy)
* Don't cast a uint64_t to a long [faa4bc20] (michael-grunder)
* Fix potential NULL dereference [43e6cab8] (peter15914)
* Print cursor as unsigned 64 bit integer [138d07b6] (Bentley O'Kane-Chase)
* Fix XAUTOCLAIM argc when sending COUNT [0fe45d24] (michael-grunder)
Added:
* Added `serverName()` and `serverVersion()` [fa3eb006, cbaf095f, 056c2dbe]
(Pavlo Yatsukhnenko, Michael Grunder)
* Added getWithMeta method [9036ffca, 36ab5850] (Pavlo Yatsukhnenko)
* Implement GETDEL command for RedisCluster [d342e4ac] (michael-grunder)
* Introduce Redis::OPT_PACK_IGNORE_NUMBERS option [f9ce9429, 29e5cf0d] (michael-grunder)
* Implement Valkey >= 8.1 IFEQ SET option [a2eef77f] (michael-grunder)
* Implement KeyDB's EXPIREMEMBER[AT] commands [4cd3f593] (michael-grunder)
* Set priority to 60 (for PIE installations) [9e504ede] (Pavlo Yatsukhnenko)
Documentation:
* Fix phpdoc type of $pattern [5cad2076] (OHZEKI Naoki)
* Better documentation for the $tlsOptions parameter of RedisCluster [8144db37] (Jacob Brown)
Tests/CI:
* Add details to the option doc block [abb0f6cc] (michael-grunder)
* Update CodeQL to v3 [41e11417, a10bca35] (Pavlo Yatsukhnenko)
* Add PHP 8.4 to CI [6097e7ba] (Pavlo Yatsukhnenko)
* Pin ubuntu version for KeyDB [eb66fc9e, 985b0313] (michael-grunder)
* Windows CI: update setup-php-sdk to v0.10 and enable caching [f89d4d8f] (Christoph M. Becker)
Internal/Performance:
* Reduce buffer size for signed integer [044b3038, 35c59880] (Bentley O'Kane-Chase)
* Create a strncmp wrapper [085d61ec] (michael-grunder)
* Refactor and avoid allocation in rawcommand method [f68544f7] (Jakub Onderka)
* Use defines for callback growth + sanity check [42a42769] (michael-grunder)
* Switch from linked list to growing array for reply callbacks [a551fdc9] (Jakub Onderka)
* Reuse redis_sock_append_auth method [be388562] (Jakub Onderka)
* Switch pipeline_cmd from smart_str to smart_string [571ffbc8] (Jakub Onderka)
* Remove unused redis_debug_response method from library.c [7895636a] (Jakub Onderka)
* Optimise HMGET method [2434ba29] (Jakub Onderka)
* Avoid unnecessary allocation in redis_hset_cmd [aba09933] (Jakub Onderka)
* Avoid unnecessary allocation in redis_hdel_cmd [4082dd07] (Jakub Onderka)
* Avoid unnecessary allocation in redis_key_varval_cmd [99650e15] (Jakub Onderka)
* Use zval_get_tmp_string method that is faster when provided zval is string [f6906470] (Jakub Onderka)
* Optimise constructing Redis command string [2a2f908f] (Jakub Onderka)
* If no command is issued in multi mode, return immutable empty array [5156e032] (Jakub Onderka)
* Test for empty pipeline and multi [426de2bb] (Jakub Onderka)
* Optimise method array_zip_values_and_scores [400503b8] (Jakub Onderka)
* Faster parameter parsing in redis_key_cmd and redis_key_long_val_cmd [83a19656] (Jakub Onderka)
* Use immutable empty array in Redis::hKeys [3a2f3f45] (Jakub Onderka)
* Use immutable empty array in Redis::exec [60b5a886] (Jakub Onderka)
* Do not allocate empty string or string with one character [64da891e] (Jakub Onderka)
* Initialize arrays with known size [99beb922] (Jakub Onderka)
* Use smart str for constructing pipeline cmd [b665925e] (Jakub Onderka)
</notes>
</release>
<release>
<stability><release>stable</release><api>stable</api></stability>
<version><release>6.1.0</release><api>6.0.0</api></version>
<date>2024-10-04</date>
<notes>
--- Sponsors ---
Audiomack - https://audiomack.com
Open LMS - https://openlms.net
Avtandil Kikabidze - https://github.com/akalongman
Ty Karok - https://github.com/karock
Object Cache Pro for WordPress - https://objectcache.pro
--- 6.1.0 ---
NOTE: There were no changes to C code between 6.1.0RC2 and 6.1.0
Documentation:
* Update package.xml to make it clearer that we support many key-value stores
[52e69ede] (Remi Collet)
* Fix redis.io urls [0bae4bb0] (Vincent Langlet)
Tests/CI:
* Fix 2 tests with redis 6.2 [cc1be322] (Remi Collet)
--- 6.1.0RC2 ---
Fixed:
* Fixed a `SIGABRT` error in PHP 8.4 [a75a7e5a] (Michael Grunder)
* Clean up code for unsupported versions of PHP [37cebdd7] (Remi Collet)
* Add `SessionHelpers.php` to `package.xml`[e9474b80] (Remi Collet)
Changed:
* Raised minimum supported PHP version to 7.4 [8b519423] (Michael Grunder)
Removed:
* Removed erroneously duplicated changelog entries [40c89736] (Michael Grunder)
Tests/CI:
* Move to upload artifacts v4 [9d380500] (Michael Grunder)
Added:
* Added `composer.json` to support PIE (PHP Installer for Extensions) [b59e35a6]
(James Titcumb)
--- 6.1.0RC1 ---
Fixed:
* Fix random connection timeouts with Redis Cluster. [eb7f31e7] (Jozsef Koszo)
* Fix argument count issue in HSET with associative array [6ea5b3e0]
(Viktor Djupsjobacka)
* SRANDMEMBER can return any type because of serialization. [6673b5b2]
(Michael Grunder)
* Fix HRANDFIELD command when WITHVALUES is used. [99f9fd83] (Michael Grunder)
* Allow context array to be nullable [50529f56] (Michael Grunder)
* Fix a macOS (M1) compiler warning. [7de29d57] (Michael Grunder)
* `GETEX` documentation/updates and implentation in `RedisCluster` [981c6931]
(Michael Grunder)
* Refactor redis_script_cmd and fix to `flush` subcommand. [7c551424]
(Pavlo Yatsukhnenko)
* Update liveness check and fix PHP 8.4 compilation error. [c139de3a]
(Michael Grunder)
* Rework how we declare ZSTD min/max constants. [34b5bd81] (Michael Grunder)
* Fix memory leak if we fail in ps_open_redis. [0e926165] (Michael Grunder)
* Fix segfault and remove redundant macros [a9e53fd1] (Pavlo Yatsukhnenko)
* Fix PHP 8.4 includes [a51215ce] (Michael Grunder)
* Handle arbitrarily large `SCAN` cursors properly. [2612d444, e52f0afa]
(Michael Grunder)
* Improve warning when we encounter an invalid EXPIRY in SET [732e466a]
(Michael Grunder)
* Fix Arginfo / zpp mismatch for DUMP command [50e5405c] (Pavlo Yatsukhnenko)
* RedisCluster::publish returns a cluster_long_resp [14f93339] (Alexandre Choura)
* Fix segfault when passing just false to auth. [6dc0a0be] (Michael Grunder)
* the VALUE argument type for hSetNx must be the same as for hSet [df074dbe]
(Uladzimir Tsykun)
* Other fixes [e18f6c6d, 3d7be358, 2b555c89, fa1a283a, 37c5f8d4] (Michael Grunder, Viktor Szepe)
Added:
* Compression support for PHP sessions. [da4ab0a7] (bitactive)
* Support for early_refresh in Redis sessions to match cluster behavior
[b6989018] (Bitactive)
* Implement WAITAOF command. [ed7c9f6f] (Michael Grunder)
Removed:
* PHP 7.1, 7.2, and 7.3 CI jobs [d68c30f8, dc39bd55] (Michael Grunder)
Changed:
* Fix the time unit of retry_interval [3fdd52b4] (woodong)
Documentation:
* Many documentation fixes. [eeb51099] (Michael Dwyer)
* fix missing code tags [f865d5b9] (divinity76)
* Mention Valkey support [5f1eecfb] (PlavorSeol)
* Mention KeyDB support in README.md [37fa3592] (Tim Starling)
* Remove mention of pickle [c7a73abb] (David Baker)
* Add session.save_path examples [8a39caeb] (Martin Vancl)
* Tighter return types for Redis::(keys|hKeys|hVals|hGetAll) [77ab62bc]
(Benjamin Morel)
* Update stubs [4d233977, ff305349, 12966a74, a4a283ab, 8f8ff72a, 5d293245]
(Michael Grunder, Takayasu Oyama, Pavlo Yatsukhnenko)
* Fix config.m4 when using custom dep paths [ece3f7be] (Michael Grunder)
* Fix retry_internal documentation [142c1f4a] (SplotyCode)
* Fix anchor link [9b5cad31] (Git'Fellow)
* Fix typo in link [bfd379f0] (deiga)
* Fix Fedora package url [60b1ba14, 717713e1] (Dmitrii Kotov)
* Update Redis Sentinel documentation to reflect changes to constructor in 6.0
release [dc05d65c] (Pavlo Yatsukhnenko)
Tests/CI:
* Avoid fatal error in test execution. [57304970] (Michael Grunder)
* Refactor unit test framework. [b1771def] (Michael Grunder)
* Get unit tests working in `php-cgi`. [b808cc60] (Michael Grunder)
* Switch to `ZEND_STRL` in more places. [7050c989, f8c762e7] (Michael Grunder)
* Workaround weird PHP compiler crash. [d3b2d87b] (Michael Grunder)
* Refactor tests (formatting, modernization, etc). [dab6a62d, c6cd665b, 78b70ca8,
3c125b09, 18b0da72, b88e72b1, 0f94d9c1, 59965971, 3dbc2bd8, 9b90c03b, c0d6f042]
(Michael Grunder)
* Spelling fixes [0d89e928] (Michael Grunder)
* Added Valkey support. [f350dc34] (Michael Grunder)
* Add a test for session compression. [9f3ca98c] (Michael Grunder)
* Test against valkey [a819a44b] (Michael Grunder)
* sessionSaveHandler injection. [9f8f80ca] (Pavlo Yatsukhnenko)
* KeyDB addiions [54d62c72, d9c48b78] (Michael Grunder)
* Add PHP 8.3 to CI [78d15140, e051a5db] (Robert Kelcak, Pavlo Yatsukhnenko)
* Use newInstance in RedisClusterTest [954fbab8] (Pavlo Yatsukhnenko)
* Use actions/checkout@v4 [f4c2ac26] (Pavlo Yatsukhnenko)
* Cluster nodes from ENV [eda39958, 0672703b] (Pavlo Yatsukhnenko)
* Ensure we're talking to redis-server in our high ports test. [7825efbc]
(Michael Grunder)
* Add missing option to installation example [2bddd84f] (Pavlo Yatsukhnenko)
* Fix typo in link [8f6bc98f] (Timo Sand)
* Update tests to allow users to use a custom class. [5f6ce414] (Michael Grunder)
</notes>
</release>
<release>
<stability><release>stable</release><api>stable</api></stability>
<version><release>6.0.2</release><api>6.0.0</api></version>
<date>2023-10-22</date>
<notes>
--- Sponsors ---
Audiomack - https://audiomack.com
Open LMS - https://openlms.net
BlueHost - https://bluehost.com
Object Cache Pro for WordPress - https://objectcache.pro
Avtandil Kikabidze - https://github.com/akalongman
Zaher Ghaibeh - https://github.com/zaherg
BatchLabs - https://batch.com
Stackhero - https://github.com/stackhero-io
Florian Levis - https://github.com/Gounlaf
Luis Zarate - https://github.com/jlzaratec
---
phpredis 6.0.2
This release contains fixes for OBJECT, PSUBSCRIBE and SCAN commands.
You can find a detailed list of changes in CHANGELOG.md and package.xml
or by inspecting the git commit logs.
* Fix deprecation error when passing null to match_type parameter.[b835aaa3] (Pavlo Yatsukhnenko)
* Fix flaky test and OBJECT in a pipeline. [a7f51f70] (Michael Grunder)
* Find our callback by pattern with PSUBSCRIBE [2f276dcd] (Michael Grunder)
</notes>
</release>
<release>
<stability><release>stable</release><api>stable</api></stability>
<version><release>6.0.1</release><api>6.0.0</api></version>
<date>2023-09-23</date>
<notes>
--- Sponsors ---
Audiomack - https://audiomack.com
Open LMS - https://openlms.net/
BlueHost - https://bluehost.com
Object Cache Pro for WordPress - https://objectcache.pro/
Avtandil Kikabidze - https://github.com/akalongman
Zaher Ghaibeh - https://github.com/zaherg
BatchLabs - https://batch.com
Stackhero - https://github.com/stackhero-io
Florian Levis - https://github.com/Gounlaf
Luis Zarate - https://github.com/jlzaratec
---
phpredis 6.0.1
This release contains fix for unknown expiration modifier issue
as well as memory leak and segfault in exec function
and small documentation improvements.
You can find a detailed list of changes in CHANGELOG.md and package.xml
or by inspecting the git commit logs.
* Fix memory leak and segfault in Redis::exec [362e1141] (Pavlo Yatsukhnenko), (Markus Podar)
* Fix unknown expiration modifier [264c0c7e, 95bd184b] (Pavlo Yatsukhnenko)
* Update documentation [3674d663, 849bedb6, 1ad95b63] (Till Kruss), (Joost OrangeJuiced)
</notes>
</release>
<release>
<stability><release>stable</release><api>stable</api></stability>
<version><release>6.0.0</release><api>6.0.0</api></version>
<date>2023-09-09</date>
<notes>
--- Sponsors ---
Audiomack - https://audiomack.com
Open LMS - https://openlms.net
BlueHost - https://bluehost.com
Object Cache Pro for WordPress - https://objectcache.pro
Avtandil Kikabidze - https://github.com/akalongman
Zaher Ghaibeh - https://github.com/zaherg
BatchLabs - https://batch.com
Luis Zarate - https://github.com/jlzaratec
phpredis 6.0.0
- There were no changes between 6.0.0 and 6.0.0RC2.
---
phpredis 6.0.0RC2
* Fix arginfo for arguments that default to null [8d99b7d1] (Nicolas Grekas)
* Fix C99 usages [54d9ca45] (Remi Collet)
* Raise minimal supported version to 7.2 [e10b9a85] (Remi Collet)
---
phpredis 6.0.0RC1
* Fix restoring keys when using compression [82e08723] (Till Kruss)
* Fix missing auth in RedisSentinel stub [5db85561] (Lu Fei)
* Fix RedisSentinel pconnect check [42cbd88a] (Pavlo Yatsukhnenko)
* Fix NULL-pointer dereferences and handle possible UB [36457555] (Pavlo Yatsukhnenko)
* Fix security alerts [ee210f86, fb6a297c] (Pavlo Yatsukhnenko), (Michael Grunder)
* Fix segfault [55bf0202] (Pavlo Yatsukhnenko)
* Fix default host length [c40f9d6c] (Pavlo Yatsukhnenko)
* Fix redis session standalone stream ssl context [ed10f365, d1bc6727, 2ff11df5] (patricio.dorantes)
* Fix segfault with session+tls [a471c87a] (Pavlo Yatsukhnenko)
* Fix non standards conforming prototypes. [b3ce0486] (Michael Grunder)
* Avoid registering the same replicas multiple times [f2bfd723] (Marius Adam)
* Better unix:// or file:// detection. [d05d301b] (Michael Grunder)
* Future proof our igbinary header check [69355faa] (Michael Grunder)
* Fix BITOP cross-slot bug [af13f951] (Michael Grunder)
* SENTINEL RESET returns a long. [0243dd9d] (Michael Grunder)
* Fix redis_sock_read_multibulk_multi_reply_loop logic [d9cb5946, 5a643b62] (Pavlo Yatsukhnenko)
* Fix RPOP to unserialize/decompress data. [02c91d59] (Michael Grunder)
* Fix testObject for redis 7.2 [fea19b52, dcb95a3f] (Remi Collet)
* Fix bug: the pipeline mode socket return an unexpected result after reconnecting [a3327d9d] (thomaston)
* Fix stub files [9aa5f387, 74cf49f5, 8b1eafe8, e392dd88, b5ea5fd7, 71758b09, 2a6dee5d] (Nicolas Grekas), (Michael Grunder)
* Update documentation [b64d93e1, 703d71b5, eba1c6d2, 0f502c9e, 130b5d0b, 21c3ef94, b7bf22d4, 50151e7a, b9950727, ab4ce4ab, 8d80ca5b, c4de8667, 6982941b, 375d093d, 43da8dd9, 71344612, b9de0b97, 2d8a8a44, a2b0c86f, e0b24be1, e609fbe8, c4aef956, df50b2ad, cc2383f0, 0dd2836f, 7d5db510, 99340889, 70a55f3e, b04684d4, 980ea6b1, bb06ffa3, b8679d7a, 854f3aa4, a5c47901, cf63e96e, f05ba819, 17db2328, 450904f7, 114f4d60, 142bddf0, 87fa36d6, 531177d4, ecf65144, 53d142d9, c14a9e3a, 72f8eb25, 872b6931] (Karina Kwiatek), (Nicolas Grekas), (Muhammad Dyas Yaskur), (sergkash7), (Dawid Polak), (Michael Grunder), (Yurun), (twosee), (Juha), (Till Kruss)
* Allow to pass null as iterator [14d121bb] (Pavlo Yatsukhnenko)
* Add NOMKSTREAM option to XADD command. [f9436e25] (Pavlo Yatsukhnenko)
* Don't allow reconnect on read response [5a269ab6] (Pavlo Yatsukhnenko)
* Reset multi/pipline transaction on pconnect close [0879770a] (Pavlo Yatsukhnenko)
* Use read_mbulk_header helper where possible [ca8b4c93] (Pavlo Yatsukhnenko)
* Allow to pass null as auth argument [41517753] (Pavlo Yatsukhnenko)
* Refactor redis_parse_client_list_response [68136a29, aaa4c91a, 1fb2935b, cf2c052c] (Pavlo Yatsukhnenko)
* Refactor subscribe/unsubscribe [3c9e159c] (Pavlo Yatsukhnenko)
* Change PHPREDIS_CTX_PTR type [de3635da] (Pavlo Yatsukhnenko)
* Refactor redis_parse_info_response [982bd13b] (Pavlo Yatsukhnenko)
* Allow IPv6 address within square brackets [c28ad7bb] (Pavlo Yatsukhnenko)
* Allow multiple field-value pairs for hmset command. [e858e8e3] (Pavlo Yatsukhnenko)
* Refactor MINIT and use @generate-class-entries in stub files [3675f442] (Remi Collet)
* Use spl_ce_RuntimeException [3cd5ac1e, a7e5ea64] (Remi Collet)
* Regenerate arginfo using 8.2.0 [a38e08da] (Remi Collet)
* Refactor client command [a8d10291] (Pavlo Yatsukhnenko)
* Pull COUNT/ANY parsing into a helper function [d67b2020] (Michael Grunder)
* Return false or NULL on empty lpos response [39a01ac7] (Michael Grunder)
* BLPOP with a float timeout [a98605f2, dc9af529] (Michael Grunder)
* Make sure we set an error for key based scans [98fda1b8] (Michael Grunder)
* Add back a default switch case for setoption handler [87464932] (Michael Grunder)
* Update stubs so the tests pass in strict mode [bebd398c] (Michael Grunder)
* Move where we generate our salt [d2044c9f] (Michael Grunder)
* Refactor XINFO handler [3b0d8b77] (Michael Grunder)
* Refactor and fix XPENDING handler [457953f4] (Michael Grunder)
* Refactor FLUSHDB and update docs. [54a084e5] (Michael Grunder)
* Add missing directed node command to docs and refactor stubs. [5ac92d25] (Michael Grunder)
* Refactor BITPOS and implement BIT/BYTE option. [4d8afd38] (Michael Grunder)
* INFO with multiple sections [44d03ca0] (Michael Grunder)
* Refactor SLOWLOG command [d87f1428] (Michael Grunder)
* Refactor SORT and add SORT_RO command [8c7c5a3a] (Michael Grunder)
* Use ZEND_STRL in redis_commands.c [78de25a3] (Pavlo Yatsukhnenko)
* Refactor PubSub command [2a0d1c1e] (Pavlo Yatsukhnenko)
* Refactor SLAVEOF handler [f2cef8be] (Michael Grunder)
* Refactor ACL command [504810a5] (Pavlo Yatsukhnenko)
* Use fast_zpp API [376d4d27] (Pavlo Yatsukhnenko)
* Fix XAUTOCLAIM response handler [0b7bd83f] (Michael Grunder)
* Refactor command command [ff863f3f] (Pavlo Yatsukhnenko)
* Refactor rawCommand and WAIT [79c9d224] (Michael Grunder)
* Refactor SELECT command [86f15cca] (Michael Grunder)
* Refactor SRANDMEMBER command. [f62363c2] (Michael Grunder)
* Refactor OBJECT command. [acb5db76] (Michael Grunder)
* Refactor gen_varkey_cmd [3efa59cb] (Michael Grunder)
* Refactor MGET command. [8cb6dd17] (Michael Grunder)
* Refactor INFO and SCRIPT commands. [3574ef08] (Michael Grunder)
* Refactor MSET and MSETNX commands. [6d104481] (Michael Grunder)
* Refactor HMSET command. [90eb0470] (Michael Grunder)
* Refactor PFCOUNT command. [19fd7e0c] (Michael Grunder)
* Refactor SMOVE command. [204a02c5] (Michael Grunder)
* Rework ZRANGE argument handling. [aa0938a4] (Michael Grunder)
* Refactor a couple more command methods. [5b560ccf, c8224b93, 40e1b1bf, ccd419a4] (Michael Grunder)
* Refactor HMGET command [bb66a547] (Michael Grunder)
* Refactor CLIENT command [77c4f7a3] (Pavlo Yatsukhnenko)
* Refactor redis_long_response [f14a80db] (Pavlo Yatsukhnenko)
* Synchronize Redis and RedisSentinel constructors [ebb2386e] (Pavlo Yatsukhnenko)
* Use redis_sock_connect on connect [f6c8b9c6] (Pavlo Yatsukhnenko)
* Auto-select db in redis_sock_server_open [6930a81c] (Pavlo Yatsukhnenko)
* Use on-stack allocated valiables [7a055cad] (Pavlo Yatsukhnenko)
* Add XAUTOCLAIM command [01f3342c] (Pavlo Yatsukhnenko)
* Add SYNC arg to FLUSHALL and FLUSHDB, and ASYNC/SYNC arg to SCRIPT FLUSH [750b6cf3] (Pavlo Yatsukhnenko)
* Add reset command [947a2d38] (Pavlo Yatsukhnenko)
* Add hRandField command [fe397371] (Pavlo Yatsukhnenko)
* Add PXAT/EXAT arguments to SET command. [0a160685] (Pavlo Yatsukhnenko)
* Add GETEX, GETDEL commands. [11861d95] (Pavlo Yatsukhnenko)
* Add FAILOVER command. [4b767be7] (Pavlo Yatsukhnenko)
* Backoff settings in constructor [e6b3fe54] (Pavlo Yatsukhnenko)
* Add the COUNT argument to LPOP and RPOP [df97cc35] (Pavlo Yatsukhnenko)
* Unsubscribe from all channels [0f1ca0cc] (Pavlo Yatsukhnenko)
* Add lPos command. [687a5c78] (Pavlo Yatsukhnenko)
* Add the ANY argument to GEOSEARCH and GEORADIUS [bf6f31e3] (Pavlo Yatsukhnenko)
* Add 'BIT'/'BYTE' modifier to BITCOUNT + tests [a3d2f131] (Michael Grunder)
* Add missing configureoption entries in package.xml [59053f10] (Michele Locati)
* Implement CONFIG RESETSTAT [239678a0] (Michael Grunder)
* SINTERCARD and ZINTERCARD commands [64300508] (Michael Grunder)
* LCS command [c0e839f6] (Michael Grunder)
* EXPIRETIME and PEXPIRETIME [f5b2a09b] (Michael Grunder)
* [B]LMPOP and [B]ZMPOP commands [6ea978eb] (Michael Grunder)
* Implement new RESTORE options [9a3fe401] (Michael Grunder)
* Add new Redis 6.2.0 XTRIM options [6b34d17f] (Michael Grunder)
* Implement AUTH/AUTH2 arguments for MIGRATE [114d79d1] (Michael Grunder)
* Implement CONFIG REWRITE [525958ea] (Michael Grunder)
* Implement Redis 7.0.0 [P]EXPIRE[AT] [options 872ae107] (Michael Grunder)
* Variadic CONFIG GET/SET [36ef4bd8, a176f586] (Michael Grunder)
* EVAL_RO and EVALSHA_RO [f3a40830] (Michael Grunder)
* Implement ZRANGESTORE and add ZRANGE options [71bcbcb9] (Michael Grunder)
* XGROUP DELCONSUMER and ENTRIESREAD [1343f500] (Michael Grunder)
* Expose the transferred number of bytes [e0a88b7b, 90828019, 7a4cee2d] (Pavlo Yatsukhnenko), (Michael Grunder)
* TOUCH command [dc1f2398] (Michael Grunder)
* Redis Sentinel TLS support [f2bb2cdb] (Pavlo Yatsukhnenko)
* Add the CH, NX, XX arguments to GEOADD [2bb64038, e8f5b517] (Pavlo Yatsukhnenko)
* Implement SMISMEMBER for RedisCluster [abfac47b] (Michael Grunder)
* Implement ssubscribe/sunsubscribe [7644736e] (Pavlo Yatsukhnenko)
* Implement BLMOVE and add LMOVE/BLMOVE to cluster. [121e9d9c] (Michael Grunder)
* Implement LPOS for RedisCluster [7121aaae] (Michael Grunder)
* Implement GEOSEARCH and GEOSEARCHSTORE for RedisCluster. [fa5d1af9] (Michael Grunder)
* Implement HRANDFIELD for RedisCluster [e222b85e] (Michael Grunder)
* Implement COPY for RedisCluster [40a2c254] (Michael Grunder)
* Implement new ZSET commands for cluster [27900f39] (Michael Grunder)
* Add cluster support for strict sessions and lazy write [b6cf6361] (Michael Grunder)
* Add function command [90a0e9cc] (Pavlo Yatsukhnenko)
* Add FCALL/FCALL_RO commands [7c46ad2c] (Pavlo Yatsukhnenko)
* Remove unused macros [831d6118] (Pavlo Yatsukhnenko)
</notes>
</release>
<release>
<stability><release>stable</release><api>stable</api></stability>
<version><release>5.3.7</release><api>5.3.7</api></version>
<date>2022-02-15</date>
<notes>
--- Sponsors ---
Audiomack - https://audiomack.com
Open LMS - https://openlms.net
BlueHost - https://bluehost.com
Object Cache Pro for WordPress - https://objectcache.pro
Avtandil Kikabidze - https://github.com/akalongman
Zaher Ghaibeh - https://github.com/zaherg
BatchLabs - https://batch.com
Luis Zarate - https://github.com/jlzaratec
phpredis 5.3.7
- There were no changes between 5.3.7 and 5.3.7RC2.
---
phpredis 5.3.7RC2
- There were no changes between 5.3.7RC2 and 5.3.7RC1.
---
phpredis 5.3.7RC1
- Fix RedisArray::[hsz]scan and tests [08a9d5db, 0264de18] (Pavlo Yatsukhnenko, Michael Grunder)
- Fix RedisArray::scan [8689ab1c] (Pavlo Yatsukhnenko)
- Fix LZF decompression logic [0719c1ec] (Michael Grunder)
</notes>
</release>
<release>
<stability><release>stable</release><api>stable</api></stability>
<version><release>5.3.6</release><api>5.3.6</api></version>
<date>2022-01-17</date>
<notes>
--- Sponsors ---
Audiomack - https://audiomack.com
Open LMS - https://openlms.net
BlueHost - https://bluehost.com
Object Cache Pro for WordPress - https://objectcache.pro
Avtandil Kikabidze - https://github.com/akalongman
Zaher Ghaibeh - https://github.com/zaherg
BatchLabs - https://batch.com
Luis Zarate - https://github.com/jlzaratec
---
phpredis 5.3.6
- Fix a segfault in RedisArray::del [d2f2a7d9] (Pavlo Yatsukhnenko)
</notes>
</release>
<release>
<stability><release>stable</release><api>stable</api></stability>
<version><release>5.3.5</release><api>5.3.5</api></version>
<date>2021-12-18</date>
<notes>
phpredis 5.3.5
This release adds support for exponential backoff w/jitter, experimental
support for detecting a dirty connection, as well as many other fixes
and improvements.
You can find a detailed list of changes in Changelog.md and package.xml
or by inspecting the git commit logs.
--- Sponsors ---
Audiomack - https://audiomack.com
Open LMS - https://openlms.net
BlueHost - https://bluehost.com
Object Cache Pro for WordPress - https://objectcache.pro
Avtandil Kikabidze - https://github.com/akalongman
Zaher Ghaibeh - https://github.com/zaherg
BatchLabs - https://batch.com
Luis Zarate - https://github.com/jlzaratec
---
phpredis 5.3.5
* Fix typo in cluster_scan_resp [44affad2] (Michael Grunder)
---
phpredis 5.3.5RC1
* Fixed segfault in redis_setoption_handler [692e4e84] (Pavlo Yatsukhnenko)
* Fix masters array in the event of a cluster failover [bce692962] (Bar Shaul)
* Fix 32 bit type error [672dec87f] (Remi Collet)
* Fix radix character in certain locales [89a871e24] (Pavlo Yatsukhnenko)
* ZSTD Validation fix [6a77ef5cd] (Michael Grunder)
* Remove superfluous typecast [b2871471f] (Remi Collet)
* Updated documentation [f84168657, d017788e7, 20ac84710, 0adf05260,
aee29bf73, 09a095e72, 12ffbf33a, ff331af98, a6bdb8731, 305c15840,
1aa10e93a, d78b0c79d, c6d37c27c, a6303f5b9, d144bd2c7, a6fb815ef, 9ef862bc6]
(neodisco, Clement Tessier, T. Todua, dengliming, Maxime Cornet,
Emanuele Filannino Michael Grunder)
* Travis CI Fixes
[a43f4586e, 4fde8178f, 7bd5415ac, fdb8c4bb7, d4f407470]
(Pavlo Yatsukhnenko)
* Minor fixes/cleanup
[2e190adc1, 99975b592, 9d0879fa5, 22b06457b]
(Pavlo Yatsukhnenko)
* Fix RedisArray constructor bug
[85dc883ba](https://github.com/phpredis/phpredis/commit/85dc883ba)
([Pavlo Yatsukhnenko](https://github.com/yatsukhnenko))
* Moved to GitHub Actions
[4d2afa786, 502d09fd5] (Pavlo Yatsukhnenko)
* Use more appropriate array iteration macro
[6008900c2] (Pavlo Yatsukhnenko)
* Clean up session tests
[ab25ae7f3] (Michael Grunder)
* RedisArray refactors [1250f0001, 017b2ea7f, 37ed3f079]
(Pavlo Yatsukhnenko)
* Use zend_parse_parameters_none helper
[a26b14dbe] (Remi Collet)
* Support for various exponential backoff strategies
[#1986, #1993, 732eb8dcb, 05129c3a3, 5bba6a7fc],
(Nathaniel Braun)
* Added experimental support for detecting a dirty connection
[d68579562] (Michael Grunder)
* Created distinct compression utility methods (pack/unpack)
[#1939, da2790aec] (Michael Grunder)
* SMISMEMBER Command
[#1894, ae2382472, ed283e1ab] (Pavlo Yatsukhnenko)
</notes>
</release>
<release>
<stability><release>stable</release><api>stable</api></stability>
<version><release>5.3.4</release><api>5.3.4</api></version>
<date>2021-03-24</date>
<notes>
phpredis 5.3.4
This release fixes a multi/pipeline segfault on apple silicon as well as
two small compression related bugs.
You can find a detailed list of changes in CHANGELOG.md and package.xml
* Fix multi/pipeline segfault on Apple silicon [e0796d48] (Michael Grunder)
* Pass compression flag on HMGET in RedisCluster [edc724e6] (Adam Olley)
* Abide by ZSTD error return constants [8400ed1c] (Michael Grunder)
* Fix timing related CI session tests [9b986bf8] (Michael Grunder)
* Sponsors
~ Audiomack - https://audiomack.com
~ Open LMS - https://openlms.net
~ BlueHost - https://bluehost.com
~ Object Cache Pro for WordPress - https://objectcache.pro
~ Avtandil Kikabidze - https://github.com/akalongman
~ Zaher Ghaibeh - https://github.com/zaherg
~ BatchLabs - https://batch.com
</notes>
</release>
<release>
<stability><release>stable</release><api>stable</api></stability>
<version><release>5.3.3</release><api>5.3.3</api></version>
<date>2021-02-01</date>
<notes>
phpredis 5.3.3
This release mostly includes just small PHP 8 Windows compatibility fixes
such that pecl.php.net can automatically build Windows DLLs.
You can find a detailed list of changes in CHANGELOG.md and package.xml
* Fix PHP8 Windows includes [270b4db8] (Jan-E)
* Fix hash ops for php 8.0.1 [87297cbb] (defender-11)
* Disable cloning Redis and RedisCluster objects [cd05a344]
(Michael Grunder)
* Sponsors
~ Audiomack - https://audiomack.com
~ BlueHost - https://bluehost.com
~ Redis Cache Pro for WordPress - https://wprediscache.com
~ Avtandil Kikabidze - https://github.com/akalongman
~ Zaher Ghaibeh - https://github.com/zaherg
~ BatchLabs - https://batch.com
</notes>
</release>
<release>
<stability><release>stable</release><api>stable</api></stability>
<version><release>5.3.2</release><api>5.3.2</api></version>
<date>2020-10-22</date>
<notes>
This release containse some bugfixes and small improvements.
You can find a detailed list of changes in CHANGELOG.md and package.xml
* Sponsors
~ Audiomack - https://audiomack.com
~ BlueHost - https://bluehost.com
~ Redis Cache Pro for WordPress - https://wprediscache.com
~ Avtandil Kikabidze - https://github.com/akalongman
~ Oleg Babushkin - https://github.com/olbabushkin
phpredis 5.3.2
* Use "%.17g" sprintf format for doubles as done in Redis server. [32be3006] (Pavlo Yatsukhnenko)
* Allow to pass NULL as RedisCluster stream context options. [72024afe] (Pavlo Yatsukhnenko)
---
phpredis 5.3.2RC2
---
* Verify SET options are strings before testing them as strings [514bc371] (Michael Grunder)
---
phpredis 5.3.2RC1
---
* Fix cluster segfault when dealing with NULL multi bulk replies in RedisCluster [950e8de8] (Michael Grunder, Alex Offshore)
* Fix xReadGroup() must return message id [500916a4] (Pavlo Yatsukhnenko)
* Fix memory leak in rediscluster session handler [b2cffffc] (Pavlo Yatsukhnenko)
* Fix XInfo() returns false if the stream is empty [5719c9f7, 566fdeeb] (Pavlo Yatsukhnenko, Michael Grunder)
* Relax requirements on set's expire argument [36458071] (Michael Grunder)
* Refactor redis_sock_check_liveness [c5950644] (Pavlo Yatsukhnenko)
* PHP8 compatibility [a7662da7, f4a30cb2, 17848791] (Pavlo Yatsukhnenko, Remi Collet)
* Update documentation [c9ed151d, 398c99d9] (Ali Alwash, Gregoire Pineau)
* Add Redis::OPT_NULL_MULTIBULK_AS_NULL setting to treat NULL multi bulk replies as NULL instead of []. [950e8de8] (Michael Grunder, Alex Offshore)
* Allow to specify stream context for rediscluster session handler [a8daaff8, 4fbe7df7] (Pavlo Yatsukhnenko)
* Add new parameter to RedisCluster to specify stream ssl/tls context. [f771ea16] (Pavlo Yatsukhnenko)
* Add new parameter to RedisSentinel to specify auth information [81c502ae] (Pavlo Yatsukhnenko)
</notes>
</release>
<release>
<stability><release>stable</release><api>stable</api></stability>
<version><release>5.3.1</release><api>5.3.1</api></version>
<date>2020-07-07</date>
<notes>
phpredis 5.3.1
This is a small bugfix release that fixes a couple of issues in 5.3.0.
You should upgrade if you're using persistent_id in session.save_path or
of if you're having trouble building 5.3.0 because the php_hash_bin2hex
symbol is missing.
You can find a detailed list of changes in CHANGELOG.md and package.xml
* Sponsors
~ Audiomack - https://audiomack.com
~ BlueHost - https://bluehost.com
~ Redis Cache Pro for WordPress - https://wprediscache.com
~ Avtandil Kikabidze - https://github.com/akalongman
---
* Properly clean up on session start failure [066cff6a] (Michael Grunder)
* Treat NULL as a failure for redis_extract_auth_info [49428a2f, 14ac969d]
(Michael Grunder)
* Don't dereference a NULL zend_string or efree one [ff2e160f, 7fed06f2]
(Michael Grunder)
* Fix config.m4 messages and test for and include php_hash.h [83a1b7c5,
3c56289c, 08f202e7] (Remi Collet)
* Add openSUSE installation instructions [13a168f4] (Pavlo Yatsukhnenko)
* Remove EOL Fedora installation instructions [b4779e6a] (Remi Collet)
</notes>
</release>
<release>
<stability><release>stable</release><api>stable</api></stability>
<version><release>5.3.0</release><api>5.3.0</api></version>
<date>2020-06-30</date>
<notes>
phpredis 5.3.0
This release contains initial support for Redis 6 ACLs, LZ4 compression,
and many more fixes and improvements.
You can find a detailed list of changes in CHANGELOG.md and package.xml
A special thanks to BlueHost for sponsoring ACL support \o/
* Sponsors
~ Audiomack - https://audiomack.com
~ BlueHost - https://bluehost.com
~ Redis Cache Pro for WordPress - https://wprediscache.com
~ Avtandil Kikabidze - https://github.com/akalongman
phpredis 5.3.0
- There were no changes between 5.3.0RC2 and 5.3.0.
---
phpredis 5.3.0RC2
---
* Fix LZ4 configuration and use pkg-config if we have it [df398cb0]
(Remi Collet)
* Make sure persistent pool ID is NULL terminated [0838b5bd, 57bb95bf]
(Michael Grunder)
* Run LZ4 tests in Travis [3ba3f06d] (Michael Grunder)
phpredis 5.3.0RC1
---
* Support for Redis 6 ACLs [a311cc4e] (Michael Grunder)
* LZ4 Compression [04def9fb] (Ilia Alshanetsky)
* Support for new Redis 6 arguments (XINFO FULL, SET KEEPTTL) [a0c53e0b,
f9c7bb57] (Michael Grunder, Victor Kislov)
* Support for TLS connections [890ee0e6, b0671296] (Pavlo Yatsukhnenko)
* New option Redis::SCAN_PREFIX, Redis::SCAN_NOPREFIX [e80600e2] (Pavlo
Yatsukhnenko)
* Configurable unit test authentication arguments [e37f38a3, 201a9759]
(Pavlo Yatsukhnenko, Michael Grunder)
* Improved cluster slot caching mechanism to fix a couple of bugs and make
it more efficient. [5ca4141c] (Michael Grunder)
* Stop calling Redis constructor when creating a RedisArray [e41e19a8]
(Pavlo Yatsukhnenko)
* Use ZEND_LONG_FMT instead of system `long` [5bf88124] (Michael Grunder)
* Use long for SCAN iteration to fix potential overflow [f13f9b7c]
(Victor Kislov)
* Fix config.m4 to test for the variable $PHP_REDIS_JSON and not the
literal PHP_REDIS_JSON [20a3dc72] (Mizuki Nakano)
* Fix compiler warnings [b9b383f4, 215828e] (Remi Collet),
Pavlo Yatsukhnenko)
* Avoid use-after-free of RediSock [8c45816d] (Pavlo Yatsukhnenko)
* Fixed ZADD arginfo [a8e2b021] (Pavlo Yatsukhnenko)
* Store AUTH information in flags RedisSock rather than duplicating
information. [58dab564] (Pavlo Yatsukhnenko)
* Refactor redis_sock_get_connection_pool logic. [73212e1]
(Pavlo Yatsukhnenko)
* Updated documentation to show LPUSH and RPUSH are variadic and fixed DEL
documentation. [92f8dde1] (Michael Grunder)
* Authenticate in redis_server_sock_open [4ef465b5] (Pavlo Yatsukhnenko)
* Dynamically include json.so in unit tests based on configuration
[0ce7ca2f] (Michael Grunder)
* Update save_path logic in Redis Cluster session unit tests [dd66fce]