@@ -5,20 +5,308 @@ All changes to phpredis will be documented in this file.
55We're basing this format on[ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
66and PhpRedis adheres to[ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8- ##[ Unreleased ]
8+ ##[ 6.1.0RC1 ] - 2024-08-04 ( [ GitHub ] ( https://github.com/phpredis/phpredis/releases/6.1.0RC1 ) , [ PECL ] ( https://pecl.php.net/package/redis/6.1.0RC1 ) )
99
1010###Sponsors:sparkling_heart :
1111
12- - [ Audiomack ] ( https://audiomack .com )
12+ - [ A-VISION ] ( https://github .com/A-VISION-BV )
1313- [ Open LMS] ( https://openlms.net/ )
14- - [ BlueHost] ( https://bluehost.com )
15- - [ Object Cache Pro for WordPress] ( https://objectcache.pro/ )
1614- [ Avtandil Kikabidze] ( https://github.com/akalongman )
17- - [ Zaher Ghaibeh] ( https://github.com/zaherg )
18- - [ BatchLabs] ( https://batch.com )
19- - [ Stackhero] ( https://github.com/stackhero-io )
20- - [ Florian Levis] ( https://github.com/Gounlaf )
21- - [ Luis Zárate] ( https://github.com/jlzaratec )
15+ - [ Ty Karok] ( https://github.com/karock )
16+ - [ Object Cache Pro for WordPress] ( https://objectcache.pro/ )
17+
18+ ###Contributors to this release:sparkling_heart :
19+
20+ @michael-grunder ,@yatsukhnenko ,@bitactive ,@OrangeJuiced ,@crocodele ,
21+ @kalifg ,@divinity76 ,@PlavorSeol ,@kjoe ,@tstarling ,@acorncom ,@tuxmartin ,
22+ @BenMorel ,@szepeviktor ,@SplotyCode ,@taka-oyama ,@PROFeNoM ,@woodongwong ,
23+ @RobiNN1 ,@vtsykun ,@solracsf ,@tillkruss ,@deiga ,@tutuna
24+
25+ ###Fixed
26+
27+ - Fix random connection timeouts with Redis Cluster.
28+ [ eb7f31e7] ( https://github.com/phpredis/phpredis/commit/eb7f31e7 )
29+ ([ Jozsef Koszo] ( https://github.com/kjoe ) )
30+ [ #1142 ] ( https://github.com/phpredis/phpredis/pull/1142 )
31+ [ #1385 ] ( https://github.com/phpredis/phpredis/pull/1385 )
32+ [ #1633 ] ( https://github.com/phpredis/phpredis/pull/1633 )
33+ [ #1707 ] ( https://github.com/phpredis/phpredis/pull/1707 )
34+ [ #1811 ] ( https://github.com/phpredis/phpredis/pull/1811 )
35+ [ #2407 ] ( https://github.com/phpredis/phpredis/pull/2407 )
36+ - Fix argument count issue in HSET with associative array
37+ [ 6ea5b3e0] ( https://github.com/phpredis/phpredis/commit/6ea5b3e0 )
38+ ([ Viktor Djupsjöbacka] ( https://github.com/crocodele ) )
39+ - SRANDMEMBER can return any type because of serialization.
40+ [ 6673b5b2] ( https://github.com/phpredis/phpredis/commit/6673b5b2 )
41+ ([ michael-grunder] ( https://github.com/michael-grunder ) )
42+ - Fix HRANDFIELD command when WITHVALUES is used.
43+ [ 99f9fd83] ( https://github.com/phpredis/phpredis/commit/99f9fd83 )
44+ ([ Michael Grunder] ( https://github.com/michael-grunder ) )
45+ [ #2524 ] ( https://github.com/phpredis/phpredis/pull/2524 )
46+ - Allow context array to be nullable
47+ [ 50529f56] ( https://github.com/phpredis/phpredis/commit/50529f56 )
48+ ([ michael-grunder] ( https://github.com/michael-grunder ) )
49+ [ #2521 ] ( https://github.com/phpredis/phpredis/pull/2521 )
50+ - Fix a macOS (M1) compiler warning.
51+ [ 7de29d57] ( https://github.com/phpredis/phpredis/commit/7de29d57 )
52+ ([ michael-grunder] ( https://github.com/michael-grunder ) )
53+ - ` GETEX ` documentation/updates and implentation in` RedisCluster `
54+ [ 981c6931] ( https://github.com/phpredis/phpredis/commit/981c6931 )
55+ ([ michael-grunder] ( https://github.com/michael-grunder ) )
56+ [ #2512 ] ( https://github.com/phpredis/phpredis/pull/2512 )
57+ - Refactor redis_script_cmd and fix to` flush ` subcommand.
58+ [ 7c551424] ( https://github.com/phpredis/phpredis/commit/7c551424 )
59+ ([ Pavlo Yatsukhnenko] ( https://github.com/yatsukhnenko ) )
60+ - Update liveness check and fix PHP 8.4 compilation error.
61+ [ c139de3a] ( https://github.com/phpredis/phpredis/commit/c139de3a )
62+ ([ michael-grunder] ( https://github.com/michael-grunder ) )
63+ - Rework how we declare ZSTD min/max constants.
64+ [ 34b5bd81] ( https://github.com/phpredis/phpredis/commit/34b5bd81 )
65+ ([ michael-grunder] ( https://github.com/michael-grunder ) )
66+ [ #2487 ] ( https://github.com/phpredis/phpredis/pull/2487 )
67+ - Fix memory leak if we fail in ps_open_redis.
68+ [ 0e926165] ( https://github.com/phpredis/phpredis/commit/0e926165 )
69+ ([ michael-grunder] ( https://github.com/michael-grunder ) )
70+ - Fix segfault and remove redundant macros
71+ [ a9e53fd1] ( https://github.com/phpredis/phpredis/commit/a9e53fd1 )
72+ ([ Pavlo Yatsukhnenko] ( https://github.com/yatsukhnenko ) )
73+ - Fix PHP 8.4 includes
74+ [ a51215ce] ( https://github.com/phpredis/phpredis/commit/a51215ce )
75+ [ #2463 ] ( https://github.com/phpredis/phpredis/pull/2463 )
76+ ([ michael-grunder] ( https://github.com/michael-grunder ) )
77+ - Handle arbitrarily large` SCAN ` cursors properly.
78+ [ 2612d444] ( https://github.com/phpredis/phpredis/commit/2612d444 )
79+ [ e52f0afa] ( https://github.com/phpredis/phpredis/commit/e52f0afa )
80+ [ #2454 ] ( https://github.com/phpredis/phpredis/pull/2454 )
81+ [ #2458 ] ( https://github.com/phpredis/phpredis/pull/2458 )
82+ ([ michael-grunder] ( https://github.com/michael-grunder ) )
83+ - Improve warning when we encounter an invalid EXPIRY in SET
84+ [ 732e466a] ( https://github.com/phpredis/phpredis/commit/732e466a )
85+ [ #2448 ] ( https://github.com/phpredis/phpredis/pull/2448 )
86+ ([ michael-grunder] ( https://github.com/michael-grunder ) )
87+ - Fix Arginfo / zpp mismatch for DUMP command
88+ [ 50e5405c] ( https://github.com/phpredis/phpredis/commit/50e5405c )
89+ ([ Pavlo Yatsukhnenko] ( https://github.com/yatsukhnenko ) )
90+ - RedisCluster::publish returns a cluster_long_resp
91+ [ 14f93339] ( https://github.com/phpredis/phpredis/commit/14f93339 )
92+ ([ Alexandre Choura] ( https://github.com/PROFeNoM ) )
93+ - Fix segfault when passing just false to auth.
94+ [ 6dc0a0be] ( https://github.com/phpredis/phpredis/commit/6dc0a0be )
95+ [ #2430 ] ( https://github.com/phpredis/phpredis/pull/2430 )
96+ ([ michael-grunder] ( https://github.com/michael-grunder ) )
97+ - the VALUE argument type for hSetNx must be the same as for hSet
98+ [ df074dbe] ( https://github.com/phpredis/phpredis/commit/df074dbe )
99+ ([ Uładzimir Tsykun] ( https://github.com/vtsykun ) )
100+ - Fix` PSUBSCRIBE ` to find callback by pattern not string literal.
101+ [ 2f276dcd] ( https://github.com/phpredis/phpredis/commit/2f276dcd )
102+ ([ michael-grunder] ( https://github.com/michael-grunder ) )
103+ [ #2395 ] ( https://github.com/phpredis/phpredis/pull/2395 )
104+ - Fix memory leak and segfault in Redis::exec
105+ [ 362e1141] ( https://github.com/phpredis/phpredis/commit/362e1141 )
106+ ([ Pavlo Yatsukhnenko] ( https://github.com/yatsukhnenko ) )
107+ - Fix unknown expiration modifier warning when null argument passed
108+ [ 264c0c7e] ( https://github.com/phpredis/phpredis/commit/264c0c7e )
109+ [ 3eb60f58] ( https://github.com/phpredis/phpredis/commit/3eb60f58 )
110+ [ #2388 ] ( https://github.com/phpredis/phpredis/pull/2388 )
111+ ([ Pavlo Yatsukhnenko] ( https://github.com/yatsukhnenko ) )
112+ - Other fixes
113+ [ e18f6c6d] ( https://github.com/phpredis/phpredis/commit/e18f6c6d )
114+ [ 3d7be358] ( https://github.com/phpredis/phpredis/commit/3d7be358 )
115+ [ 2b555c89] ( https://github.com/phpredis/phpredis/commit/2b555c89 )
116+ [ fa1a283a] ( https://github.com/phpredis/phpredis/commit/fa1a283a )
117+ ([ michael-grunder] ( https://github.com/michael-grunder ) )
118+ [ 37c5f8d4] ( https://github.com/phpredis/phpredis/commit/37c5f8d4 )
119+ ([ Viktor Szépe] ( https://github.com/szepeviktor ) )
120+
121+ ###Added
122+
123+ - Compression support for PHP sessions.
124+ [ da4ab0a7] ( https://github.com/phpredis/phpredis/commit/da4ab0a7 )
125+ [ #2473 ] ( https://github.com/phpredis/phpredis/pull/2473 )
126+ ([ bitactive] ( https://github.com/bitactive ) )
127+ - Support for early_refresh in Redis sessions to match cluster behavior
128+ [ b6989018] ( https://github.com/phpredis/phpredis/commit/b6989018 )
129+ ([ Bitactive] ( https://github.com/bitactive ) )
130+ - Implement WAITAOF command.
131+ [ ed7c9f6f] ( https://github.com/phpredis/phpredis/commit/ed7c9f6f )
132+ ([ michael-grunder] ( https://github.com/michael-grunder ) )
133+
134+ ###Removed
135+
136+ - PHP 7.1, 7.2, and 7.3 CI jobs
137+ [ d68c30f8] ( https://github.com/phpredis/phpredis/commit/d68c30f8 )
138+ [ dc39bd55] ( https://github.com/phpredis/phpredis/commit/dc39bd55 )
139+ [ #2478 ] ( https://github.com/phpredis/phpredis/pull/2478 )
140+ ([ Michael Grunder] ( https://github.com/michael-grunder ) )
141+
142+ ###Changed
143+
144+ - Fix the time unit of retry_interval
145+ [ 3fdd52b4] ( https://github.com/phpredis/phpredis/commit/3fdd52b4 )
146+ ([ woodong] ( https://github.com/woodongwong ) )
147+
148+ ###Documentation
149+
150+ - Many documentation fixes.
151+ [ eeb51099] ( https://github.com/phpredis/phpredis/commit/eeb51099 )
152+ ([ Michael Dwyer] ( https://github.com/kalifg ) )
153+ [ #2523 ] ( https://github.com/phpredis/phpredis/pull/2523 )
154+ - fix missing <code > tags
155+ [ f865d5b9] ( https://github.com/phpredis/phpredis/commit/f865d5b9 )
156+ ([ divinity76] ( https://github.com/divinity76 ) )
157+ - Mention Valkey support
158+ [ 5f1eecfb] ( https://github.com/phpredis/phpredis/commit/5f1eecfb )
159+ ([ PlavorSeol] ( https://github.com/PlavorSeol ) )
160+ - Mention KeyDB support in README.md
161+ [ 37fa3592] ( https://github.com/phpredis/phpredis/commit/37fa3592 )
162+ ([ Tim Starling] ( https://github.com/tstarling ) )
163+ - Remove mention of pickle
164+ [ c7a73abb] ( https://github.com/phpredis/phpredis/commit/c7a73abb )
165+ ([ David Baker] ( https://github.com/acorncom ) )
166+ - Add session.save_path examples
167+ [ 8a39caeb] ( https://github.com/phpredis/phpredis/commit/8a39caeb )
168+ ([ Martin Vancl] ( https://github.com/tuxmartin ) )
169+ - Tighter return types for Redis::(keys|hKeys|hVals|hGetAll)()
170+ [ 77ab62bc] ( https://github.com/phpredis/phpredis/commit/77ab62bc )
171+ ([ Benjamin Morel] ( https://github.com/BenMorel ) )
172+ - Update stubs
173+ [ 4d233977] ( https://github.com/phpredis/phpredis/commit/4d233977 )
174+ [ ff305349] ( https://github.com/phpredis/phpredis/commit/ff305349 )
175+ [ 12966a74] ( https://github.com/phpredis/phpredis/commit/12966a74 )
176+ [ a4a283ab] ( https://github.com/phpredis/phpredis/commit/a4a283ab )
177+ ([ michael-grunder] ( https://github.com/michael-grunder ) )
178+ [ 8f8ff72a] ( https://github.com/phpredis/phpredis/commit/8f8ff72a )
179+ ([ Takayasu Oyama] ( https://github.com/taka-oyama ) )
180+ [ 5d293245] ( https://github.com/phpredis/phpredis/commit/5d293245 )
181+ [ 95bd184b] ( https://github.com/phpredis/phpredis/commit/95bd184b )
182+ ([ Pavlo Yatsukhnenko] ( https://github.com/yatsukhnenko ) )
183+ - Fix config.m4 when using custom dep paths
184+ [ ece3f7be] ( https://github.com/phpredis/phpredis/commit/ece3f7be )
185+ ([ Michael Grunder] ( https://github.com/michael-grunder ) )
186+ [ #2453 ] ( https://github.com/phpredis/phpredis/pull/2453 )
187+ [ #2452 ] ( https://github.com/phpredis/phpredis/pull/2452 )
188+ - Fix retry_internal documentation
189+ [ 142c1f4a] ( https://github.com/phpredis/phpredis/commit/142c1f4a )
190+ ([ SplotyCode] ( https://github.com/SplotyCode ) )
191+ - Fix anchor link
192+ [ 9b5cad31] ( https://github.com/phpredis/phpredis/commit/9b5cad31 )
193+ ([ Git'Fellow] ( https://github.com/solracsf ) )
194+ - Fix typo in link
195+ [ bfd379f0] ( https://github.com/phpredis/phpredis/commit/bfd379f0 )
196+ [ #2349 ] ( https://github.com/phpredis/phpredis/pull/2349 )
197+ ([ deiga] ( https://github.com/deiga ) )
198+ - Fix Fedora package url
199+ [ 60b1ba14] ( https://github.com/phpredis/phpredis/commit/60b1ba14 )
200+ [ 717713e1] ( https://github.com/phpredis/phpredis/commit/717713e1 )
201+ ([ Dmitrii Kotov] ( https://github.com/tutunak ) )
202+ - Update Redis Sentinel documentation to reflect changes to constructor in 6.0 release
203+ [ dc05d65c] ( https://github.com/phpredis/phpredis/commit/dc05d65c )
204+ ([ Pavlo Yatsukhnenko] ( https://github.com/yatsukhnenko ) )
205+ [ #2381 ] ( https://github.com/phpredis/phpredis/pull/2381 )
206+ - Add back old examples with note
207+ [ 1ad95b63] ( https://github.com/phpredis/phpredis/commit/1ad95b63 )
208+ ([ Joost] ( https://github.com/OrangeJuiced ) )
209+
210+ ###Tests/CI
211+
212+ - Avoid fatal error in test execution.
213+ [ 57304970] ( https://github.com/phpredis/phpredis/commit/57304970 )
214+ ([ Michael Grunder] ( https://github.com/michael-grunder ) )
215+ [ #2510 ] ( https://github.com/phpredis/phpredis/pull/2510 )
216+ - Refactor unit test framework.
217+ [ b1771def] ( https://github.com/phpredis/phpredis/commit/b1771def )
218+ ([ Michael Grunder] ( https://github.com/michael-grunder ) )
219+ [ #2509 ] ( https://github.com/phpredis/phpredis/pull/2509 )
220+ - Get unit tests working in` php-cgi ` .
221+ [ b808cc60] ( https://github.com/phpredis/phpredis/commit/b808cc60 )
222+ ([ michael-grunder] ( https://github.com/michael-grunder ) )
223+ [ #2507 ] ( https://github.com/phpredis/phpredis/pull/2507 )
224+ - Switch to` ZEND_STRL ` in more places.
225+ [ 7050c989] ( https://github.com/phpredis/phpredis/commit/7050c989 )
226+ [ f8c762e7] ( https://github.com/phpredis/phpredis/commit/f8c762e7 )
227+ ([ Michael Grunder] ( https://github.com/michael-grunder ) )
228+ [ #2505 ] ( https://github.com/phpredis/phpredis/pull/2505 )
229+ - Workaround weird PHP compiler crash.
230+ [ d3b2d87b] ( https://github.com/phpredis/phpredis/commit/d3b2d87b )
231+ ([ michael-grunder] ( https://github.com/michael-grunder ) )
232+ - Refactor tests (formatting, modernization, etc).
233+ [ dab6a62d] ( https://github.com/phpredis/phpredis/commit/dab6a62d )
234+ [ c6cd665b] ( https://github.com/phpredis/phpredis/commit/c6cd665b )
235+ [ 78b70ca8] ( https://github.com/phpredis/phpredis/commit/78b70ca8 )
236+ [ 3c125b09] ( https://github.com/phpredis/phpredis/commit/3c125b09 )
237+ [ 18b0da72] ( https://github.com/phpredis/phpredis/commit/18b0da72 )
238+ [ b88e72b1] ( https://github.com/phpredis/phpredis/commit/b88e72b1 )
239+ [ #2492 ] ( https://github.com/phpredis/phpredis/pull/2492 )
240+ [ 0f94d9c1] ( https://github.com/phpredis/phpredis/commit/0f94d9c1 )
241+ [ 59965971] ( https://github.com/phpredis/phpredis/commit/59965971 )
242+ [ 3dbc2bd8] ( https://github.com/phpredis/phpredis/commit/3dbc2bd8 )
243+ [ 9b90c03b] ( https://github.com/phpredis/phpredis/commit/9b90c03b )
244+ [ c0d6f042] ( https://github.com/phpredis/phpredis/commit/c0d6f042 )
245+ ([ michael-grunder] ( https://github.com/michael-grunder ) )
246+ - Spelling fixes
247+ [ 0d89e928] ( https://github.com/phpredis/phpredis/commit/0d89e928 )
248+ ([ michael-grunder] ( https://github.com/michael-grunder ) )
249+ - Added Valkey support.
250+ [ f350dc34] ( https://github.com/phpredis/phpredis/commit/f350dc34 )
251+ ([ michael-grunder] ( https://github.com/michael-grunder ) )
252+ - Add a test for session compression.
253+ [ 9f3ca98c] ( https://github.com/phpredis/phpredis/commit/9f3ca98c )
254+ ([ michael-grunder] ( https://github.com/michael-grunder ) )
255+ [ #2473 ] ( https://github.com/phpredis/phpredis/pull/2473 )
256+ [ #2480 ] ( https://github.com/phpredis/phpredis/pull/2480 )
257+ - Test against valkey
258+ [ a819a44b] ( https://github.com/phpredis/phpredis/commit/a819a44b )
259+ ([ michael-grunder] ( https://github.com/michael-grunder ) )
260+ - sessionSaveHandler injection.
261+ [ 9f8f80ca] ( https://github.com/phpredis/phpredis/commit/9f8f80ca )
262+ ([ Pavlo Yatsukhnenko] ( https://github.com/yatsukhnenko ) )
263+ - KeyDB addiions
264+ [ 54d62c72] ( https://github.com/phpredis/phpredis/commit/54d62c72 )
265+ [ d9c48b78] ( https://github.com/phpredis/phpredis/commit/d9c48b78 )
266+ [ #2466 ] ( https://github.com/phpredis/phpredis/pull/2466 )
267+ ([ michael-grunder] ( https://github.com/michael-grunder ) )
268+ - Add PHP 8.3 to CI
269+ [ 78d15140] ( https://github.com/phpredis/phpredis/commit/78d15140 )
270+ ([ Róbert Kelčák] ( https://github.com/RobiNN1 ) )
271+ [ e051a5db] ( https://github.com/phpredis/phpredis/commit/e051a5db )
272+ [ #2427 ] ( https://github.com/phpredis/phpredis/pull/2427 )
273+ ([ Pavlo Yatsukhnenko] ( https://github.com/yatsukhnenko ) )
274+ - Fix deprecation error when passing null to match_type parameter
275+ [ b835aaa3] ( https://github.com/phpredis/phpredis/commit/b835aaa3 )
276+ ([ Pavlo Yatsukhnenko] ( https://github.com/yatsukhnenko ) )
277+ - Fix crash in` OBJECT ` command in pipeline.
278+ [ a7f51f70] ( https://github.com/phpredis/phpredis/commit/a7f51f70 )
279+ ([ michael-grunder] ( https://github.com/michael-grunder ) )
280+ - Use newInstance in RedisClusterTest
281+ [ 954fbab8] ( https://github.com/phpredis/phpredis/commit/954fbab8 )
282+ ([ Pavlo Yatsukhnenko] ( https://github.com/yatsukhnenko ) )
283+ - Use actions/checkout@v4
284+ [ f4c2ac26] ( https://github.com/phpredis/phpredis/commit/f4c2ac26 )
285+ ([ Pavlo Yatsukhnenko] ( https://github.com/yatsukhnenko ) )
286+ - Cluster nodes from ENV
287+ [ eda39958] ( https://github.com/phpredis/phpredis/commit/eda39958 )
288+ [ 0672703b] ( https://github.com/phpredis/phpredis/commit/0672703b )
289+ ([ Pavlo Yatsukhnenko] ( https://github.com/yatsukhnenko ) )
290+ - Ensure we're talking to redis-server in our high ports test.
291+ [ 7825efbc] ( https://github.com/phpredis/phpredis/commit/7825efbc )
292+ ([ michael-grunder] ( https://github.com/michael-grunder ) )
293+ - Add missing option to installation example
294+ [ 2bddd84f] ( https://github.com/phpredis/phpredis/commit/2bddd84f )
295+ ([ Pavlo Yatsukhnenko] ( https://github.com/yatsukhnenko ) )
296+ [ #2378 ] ( https://github.com/phpredis/phpredis/pull/2378 )
297+ - Update sentinel documentation to reflect changes to constructor in 6.0 release
298+ [ 849bedb6] ( https://github.com/phpredis/phpredis/commit/849bedb6 )
299+ ([ Joost] ( https://github.com/OrangeJuiced ) )
300+ - Add missing option to example
301+ [ 3674d663] ( https://github.com/phpredis/phpredis/commit/3674d663 )
302+ ([ Till Krüss] ( https://github.com/tillkruss ) )
303+ - Fix typo in link
304+ [ 8f6bc98f] ( https://github.com/phpredis/phpredis/commit/8f6bc98f )
305+ ([ Timo Sand] ( https://github.com/deiga ) )
306+ - Update tests to allow users to use a custom class.
307+ [ 5f6ce414] ( https://github.com/phpredis/phpredis/commit/5f6ce414 )
308+ ([ michael-grunder] ( https://github.com/michael-grunder ) )
309+
22310
23311##[ 6.0.2] - 2023-10-22 ([ GitHub] ( https://github.com/phpredis/phpredis/releases/6.0.2 ) ,[ PECL] ( https://pecl.php.net/package/redis/6.0.2 ) )
24312