Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dbb4f24

Browse files
committed
6.0.1
1 parent 9467059 commit dbb4f24

File tree

3 files changed

+48
-141
lines changed

3 files changed

+48
-141
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and PhpRedis adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
77

88
## [Unreleased]
99

10+
## [6.0.1] - 2023-09-23 ([GitHub](https://github.com/phpredis/phpredis/releases/6.0.1), [PECL](https://pecl.php.net/package/redis/6.0.1))
11+
1012
### Sponsors :sparkling_heart:
1113

1214
- [Audiomack](https://audiomack.com)

package.xml

Lines changed: 45 additions & 140 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ http://pear.php.net/dtd/package-2.0.xsd">
2727
<email>[email protected]</email>
2828
<active>no</active>
2929
</lead>
30-
<date>2023-09-09</date>
30+
<date>2023-09-23</date>
3131
<version>
32-
<release>6.0.0</release>
32+
<release>6.0.1</release>
3333
<api>6.0.0</api>
3434
</version>
3535
<stability>
@@ -47,153 +47,24 @@ http://pear.php.net/dtd/package-2.0.xsd">
4747
Avtandil Kikabidze - https://github.com/akalongman
4848
Zaher Ghaibeh - https://github.com/zaherg
4949
BatchLabs - https://batch.com
50+
Stackhero - https://github.com/stackhero-io
51+
Florian Levis - https://github.com/Gounlaf
5052
Luis Zarate - https://github.com/jlzaratec
5153

52-
phpredis 6.0.0
53-
54-
- There were no changes between 6.0.0 and 6.0.0RC2.
55-
56-
---
57-
58-
phpredis 6.0.0RC2
59-
60-
* Fix arginfo for arguments that default to null [8d99b7d1] (Nicolas Grekas)
61-
* Fix C99 usages [54d9ca45] (Remi Collet)
62-
* Raise minimal supported version to 7.2 [e10b9a85] (Remi Collet)
63-
6454
---
6555

66-
phpredis 6.0.0RC1
56+
phpredis 6.0.1
6757

68-
This release adds new commands introduced in Redis 6.2 and 7.0 as well
69-
as many fixes and improvements.
58+
This release contains fix for unknown expiration modifier issue
59+
as well as memory leak and segfault in exec function
60+
and small documentation improvements.
7061

7162
You can find a detailed list of changes in CHANGELOG.md and package.xml
7263
or by inspecting the git commit logs.
7364

74-
* Fix restoring keys when using compression [82e08723] (Till Kruss)
75-
* Fix missing auth in RedisSentinel stub [5db85561] (Lu Fei)
76-
* Fix RedisSentinel pconnect check [42cbd88a] (Pavlo Yatsukhnenko)
77-
* Fix NULL-pointer dereferences and handle possible UB [36457555] (Pavlo Yatsukhnenko)
78-
* Fix security alerts [ee210f86, fb6a297c] (Pavlo Yatsukhnenko), (Michael Grunder)
79-
* Fix segfault [55bf0202] (Pavlo Yatsukhnenko)
80-
* Fix default host length [c40f9d6c] (Pavlo Yatsukhnenko)
81-
* Fix redis session standalone stream ssl context [ed10f365, d1bc6727, 2ff11df5] (patricio.dorantes)
82-
* Fix segfault with session+tls [a471c87a] (Pavlo Yatsukhnenko)
83-
* Fix non standards conforming prototypes. [b3ce0486] (Michael Grunder)
84-
* Avoid registering the same replicas multiple times [f2bfd723] (Marius Adam)
85-
* Better unix:// or file:// detection. [d05d301b] (Michael Grunder)
86-
* Future proof our igbinary header check [69355faa] (Michael Grunder)
87-
* Fix BITOP cross-slot bug [af13f951] (Michael Grunder)
88-
* SENTINEL RESET returns a long. [0243dd9d] (Michael Grunder)
89-
* Fix redis_sock_read_multibulk_multi_reply_loop logic [d9cb5946, 5a643b62] (Pavlo Yatsukhnenko)
90-
* Fix RPOP to unserialize/decompress data. [02c91d59] (Michael Grunder)
91-
* Fix testObject for redis 7.2 [fea19b52, dcb95a3f] (Remi Collet)
92-
* Fix bug: the pipeline mode socket return an unexpected result after reconnecting [a3327d9d] (thomaston)
93-
* Fix stub files [9aa5f387, 74cf49f5, 8b1eafe8, e392dd88, b5ea5fd7, 71758b09, 2a6dee5d] (Nicolas Grekas), (Michael Grunder)
94-
* 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)
95-
* Allow to pass null as iterator [14d121bb] (Pavlo Yatsukhnenko)
96-
* Add NOMKSTREAM option to XADD command. [f9436e25] (Pavlo Yatsukhnenko)
97-
* Don't allow reconnect on read response [5a269ab6] (Pavlo Yatsukhnenko)
98-
* Reset multi/pipline transaction on pconnect close [0879770a] (Pavlo Yatsukhnenko)
99-
* Use read_mbulk_header helper where possible [ca8b4c93] (Pavlo Yatsukhnenko)
100-
* Allow to pass null as auth argument [41517753] (Pavlo Yatsukhnenko)
101-
* Refactor redis_parse_client_list_response [68136a29, aaa4c91a, 1fb2935b, cf2c052c] (Pavlo Yatsukhnenko)
102-
* Refactor subscribe/unsubscribe [3c9e159c] (Pavlo Yatsukhnenko)
103-
* Change PHPREDIS_CTX_PTR type [de3635da] (Pavlo Yatsukhnenko)
104-
* Refactor redis_parse_info_response [982bd13b] (Pavlo Yatsukhnenko)
105-
* Allow IPv6 address within square brackets [c28ad7bb] (Pavlo Yatsukhnenko)
106-
* Allow multiple field-value pairs for hmset command. [e858e8e3] (Pavlo Yatsukhnenko)
107-
* Refactor MINIT and use @generate-class-entries in stub files [3675f442] (Remi Collet)
108-
* Use spl_ce_RuntimeException [3cd5ac1e, a7e5ea64] (Remi Collet)
109-
* Regenerate arginfo using 8.2.0 [a38e08da] (Remi Collet)
110-
* Refactor client command [a8d10291] (Pavlo Yatsukhnenko)
111-
* Pull COUNT/ANY parsing into a helper function [d67b2020] (Michael Grunder)
112-
* Return false or NULL on empty lpos response [39a01ac7] (Michael Grunder)
113-
* BLPOP with a float timeout [a98605f2, dc9af529] (Michael Grunder)
114-
* Make sure we set an error for key based scans [98fda1b8] (Michael Grunder)
115-
* Add back a default switch case for setoption handler [87464932] (Michael Grunder)
116-
* Update stubs so the tests pass in strict mode [bebd398c] (Michael Grunder)
117-
* Move where we generate our salt [d2044c9f] (Michael Grunder)
118-
* Refactor XINFO handler [3b0d8b77] (Michael Grunder)
119-
* Refactor and fix XPENDING handler [457953f4] (Michael Grunder)
120-
* Refactor FLUSHDB and update docs. [54a084e5] (Michael Grunder)
121-
* Add missing directed node command to docs and refactor stubs. [5ac92d25] (Michael Grunder)
122-
* Refactor BITPOS and implement BIT/BYTE option. [4d8afd38] (Michael Grunder)
123-
* INFO with multiple sections [44d03ca0] (Michael Grunder)
124-
* Refactor SLOWLOG command [d87f1428] (Michael Grunder)
125-
* Refactor SORT and add SORT_RO command [8c7c5a3a] (Michael Grunder)
126-
* Use ZEND_STRL in redis_commands.c [78de25a3] (Pavlo Yatsukhnenko)
127-
* Refactor PubSub command [2a0d1c1e] (Pavlo Yatsukhnenko)
128-
* Refactor SLAVEOF handler [f2cef8be] (Michael Grunder)
129-
* Refactor ACL command [504810a5] (Pavlo Yatsukhnenko)
130-
* Use fast_zpp API [376d4d27] (Pavlo Yatsukhnenko)
131-
* Fix XAUTOCLAIM response handler [0b7bd83f] (Michael Grunder)
132-
* Refactor command command [ff863f3f] (Pavlo Yatsukhnenko)
133-
* Refactor rawCommand and WAIT [79c9d224] (Michael Grunder)
134-
* Refactor SELECT command [86f15cca] (Michael Grunder)
135-
* Refactor SRANDMEMBER command. [f62363c2] (Michael Grunder)
136-
* Refactor OBJECT command. [acb5db76] (Michael Grunder)
137-
* Refactor gen_varkey_cmd [3efa59cb] (Michael Grunder)
138-
* Refactor MGET command. [8cb6dd17] (Michael Grunder)
139-
* Refactor INFO and SCRIPT commands. [3574ef08] (Michael Grunder)
140-
* Refactor MSET and MSETNX commands. [6d104481] (Michael Grunder)
141-
* Refactor HMSET command. [90eb0470] (Michael Grunder)
142-
* Refactor PFCOUNT command. [19fd7e0c] (Michael Grunder)
143-
* Refactor SMOVE command. [204a02c5] (Michael Grunder)
144-
* Rework ZRANGE argument handling. [aa0938a4] (Michael Grunder)
145-
* Refactor a couple more command methods. [5b560ccf, c8224b93, 40e1b1bf, ccd419a4] (Michael Grunder)
146-
* Refactor HMGET command [bb66a547] (Michael Grunder)
147-
* Refactor CLIENT command [77c4f7a3] (Pavlo Yatsukhnenko)
148-
* Refactor redis_long_response [f14a80db] (Pavlo Yatsukhnenko)
149-
* Synchronize Redis and RedisSentinel constructors [ebb2386e] (Pavlo Yatsukhnenko)
150-
* Use redis_sock_connect on connect [f6c8b9c6] (Pavlo Yatsukhnenko)
151-
* Auto-select db in redis_sock_server_open [6930a81c] (Pavlo Yatsukhnenko)
152-
* Use on-stack allocated valiables [7a055cad] (Pavlo Yatsukhnenko)
153-
* Add XAUTOCLAIM command [01f3342c] (Pavlo Yatsukhnenko)
154-
* Add SYNC arg to FLUSHALL and FLUSHDB, and ASYNC/SYNC arg to SCRIPT FLUSH [750b6cf3] (Pavlo Yatsukhnenko)
155-
* Add reset command [947a2d38] (Pavlo Yatsukhnenko)
156-
* Add hRandField command [fe397371] (Pavlo Yatsukhnenko)
157-
* Add PXAT/EXAT arguments to SET command. [0a160685] (Pavlo Yatsukhnenko)
158-
* Add GETEX, GETDEL commands. [11861d95] (Pavlo Yatsukhnenko)
159-
* Add FAILOVER command. [4b767be7] (Pavlo Yatsukhnenko)
160-
* Backoff settings in constructor [e6b3fe54] (Pavlo Yatsukhnenko)
161-
* Add the COUNT argument to LPOP and RPOP [df97cc35] (Pavlo Yatsukhnenko)
162-
* Unsubscribe from all channels [0f1ca0cc] (Pavlo Yatsukhnenko)
163-
* Add lPos command. [687a5c78] (Pavlo Yatsukhnenko)
164-
* Add the ANY argument to GEOSEARCH and GEORADIUS [bf6f31e3] (Pavlo Yatsukhnenko)
165-
* Add 'BIT'/'BYTE' modifier to BITCOUNT + tests [a3d2f131] (Michael Grunder)
166-
* Add missing configureoption entries in package.xml [59053f10] (Michele Locati)
167-
* Implement CONFIG RESETSTAT [239678a0] (Michael Grunder)
168-
* SINTERCARD and ZINTERCARD commands [64300508] (Michael Grunder)
169-
* LCS command [c0e839f6] (Michael Grunder)
170-
* EXPIRETIME and PEXPIRETIME [f5b2a09b] (Michael Grunder)
171-
* [B]LMPOP and [B]ZMPOP commands [6ea978eb] (Michael Grunder)
172-
* Implement new RESTORE options [9a3fe401] (Michael Grunder)
173-
* Add new Redis 6.2.0 XTRIM options [6b34d17f] (Michael Grunder)
174-
* Implement AUTH/AUTH2 arguments for MIGRATE [114d79d1] (Michael Grunder)
175-
* Implement CONFIG REWRITE [525958ea] (Michael Grunder)
176-
* Implement Redis 7.0.0 [P]EXPIRE[AT] [options 872ae107] (Michael Grunder)
177-
* Variadic CONFIG GET/SET [36ef4bd8, a176f586] (Michael Grunder)
178-
* EVAL_RO and EVALSHA_RO [f3a40830] (Michael Grunder)
179-
* Implement ZRANGESTORE and add ZRANGE options [71bcbcb9] (Michael Grunder)
180-
* XGROUP DELCONSUMER and ENTRIESREAD [1343f500] (Michael Grunder)
181-
* Expose the transferred number of bytes [e0a88b7b, 90828019, 7a4cee2d] (Pavlo Yatsukhnenko), (Michael Grunder)
182-
* TOUCH command [dc1f2398] (Michael Grunder)
183-
* Redis Sentinel TLS support [f2bb2cdb] (Pavlo Yatsukhnenko)
184-
* Add the CH, NX, XX arguments to GEOADD [2bb64038, e8f5b517] (Pavlo Yatsukhnenko)
185-
* Implement SMISMEMBER for RedisCluster [abfac47b] (Michael Grunder)
186-
* Implement ssubscribe/sunsubscribe [7644736e] (Pavlo Yatsukhnenko)
187-
* Implement BLMOVE and add LMOVE/BLMOVE to cluster. [121e9d9c] (Michael Grunder)
188-
* Implement LPOS for RedisCluster [7121aaae] (Michael Grunder)
189-
* Implement GEOSEARCH and GEOSEARCHSTORE for RedisCluster. [fa5d1af9] (Michael Grunder)
190-
* Implement HRANDFIELD for RedisCluster [e222b85e] (Michael Grunder)
191-
* Implement COPY for RedisCluster [40a2c254] (Michael Grunder)
192-
* Implement new ZSET commands for cluster [27900f39] (Michael Grunder)
193-
* Add cluster support for strict sessions and lazy write [b6cf6361] (Michael Grunder)
194-
* Add function command [90a0e9cc] (Pavlo Yatsukhnenko)
195-
* Add FCALL/FCALL_RO commands [7c46ad2c] (Pavlo Yatsukhnenko)
196-
* Remove unused macroses [831d6118] (Pavlo Yatsukhnenko)
65+
* Fix memory leak and segfault in Redis::exec [362e1141] (Pavlo Yatsukhnenko), (Markus Podar)
66+
* Fix unknown expiration modifier [264c0c7e, 95bd184b] (Pavlo Yatsukhnenko)
67+
* Update documentation [3674d663, 849bedb6, 1ad95b63] (Till Kruss), (Joost OrangeJuiced)
19768

19869
</notes>
19970
<contents>
@@ -286,6 +157,40 @@ http://pear.php.net/dtd/package-2.0.xsd">
286157
<configureoption name="with-liblz4" prompt="use system liblz4?" default="yes"/>
287158
</extsrcrelease>
288159
<changelog>
160+
<release>
161+
<stability><release>stable</release><api>stable</api></stability>
162+
<version><release>6.0.1</release><api>6.0.1</api></version>
163+
<date>2023-09-23</date>
164+
<notes>
165+
--- Sponsors ---
166+
167+
Audiomack - https://audiomack.com
168+
Open LMS - https://openlms.net/
169+
BlueHost - https://bluehost.com
170+
Object Cache Pro for WordPress - https://objectcache.pro/
171+
Avtandil Kikabidze - https://github.com/akalongman
172+
Zaher Ghaibeh - https://github.com/zaherg
173+
BatchLabs - https://batch.com
174+
Stackhero - https://github.com/stackhero-io
175+
Florian Levis - https://github.com/Gounlaf
176+
Luis Zarate - https://github.com/jlzaratec
177+
178+
---
179+
180+
phpredis 6.0.1
181+
182+
This release contains fix for unknown expiration modifier issue
183+
as well as memory leak and segfault in exec function
184+
and small documentation improvements.
185+
186+
You can find a detailed list of changes in CHANGELOG.md and package.xml
187+
or by inspecting the git commit logs.
188+
189+
* Fix memory leak and segfault in Redis::exec [362e1141] (Pavlo Yatsukhnenko), (Markus Podar)
190+
* Fix unknown expiration modifier [264c0c7e, 95bd184b] (Pavlo Yatsukhnenko)
191+
* Update documentation [3674d663, 849bedb6, 1ad95b63] (Till Kruss), (Joost OrangeJuiced)
192+
</notes>
193+
</release>
289194
<release>
290195
<stability><release>stable</release><api>stable</api></stability>
291196
<version><release>6.0.0</release><api>6.0.0</api></version>

php_redis.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#define PHP_REDIS_H
2424

2525
/* phpredis version */
26-
#define PHP_REDIS_VERSION "6.0.1-dev"
26+
#define PHP_REDIS_VERSION "6.0.1"
2727

2828
/* For convenience we store the salt as a printable hex string which requires 2
2929
* characters per byte + 1 for the NULL terminator */

0 commit comments

Comments
 (0)