8000 Backport of improvements by iliaal · Pull Request #1973 · phpredis/phpredis · GitHub
[go: up one dir, main page]

Skip to content

Backport of improvements #1973

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

Open
wants to merge 36 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
f11352f
refactor based on develop branch
iliaal Jun 13, 2020
94212a9
redis clone
iliaal Jun 18, 2020
b9713e5
Create new socket on clone
iliaal Jun 19, 2020
e9e47be
Merge branch 'develop' of https://github.com/phpredis/phpredis into r…
iliaal Jul 18, 2020
7c43c54
Added auth support
iliaal Jul 21, 2020
d2c927b
5.3.2
yatsukhnenko Oct 22, 2020
d6458ca
Merge branch 'develop' into redis_clone_develop
iliaal Jan 30, 2021
87297cb
Fixed#1895
defender-11 Jan 22, 2021
270b4db
PHP 8 compatibility Windows
Jan-E Sep 22, 2020
9d0cd31
Prepare 5.3.3 release
michael-grunder Feb 1, 2021
cd05a34
Disable clone handlers for Redis and RedisCluster.
michael-grunder Feb 1, 2021
b50b361
Update changelog for 5.3.3
michael-grunder Feb 1, 2021
9dbd3c5
5.3.2
michael-grunder Feb 1, 2021
edc724e
Pass compression flag when performing HMGET (#1945)
aolley Mar 10, 2021
c48b3a2
Fix ZSTD decompression on bad data.
michael-grunder Feb 26, 2021
fe9011d
Normalize Redis callback prototypes and stop typecasting. (#1935)
michael-grunder Feb 25, 2021
c996ac3
Prepare for 5.3.4 release
michael-grunder Mar 22, 2021
4b13944
Fix PhpRedis session tests to soften timing issues
michael-grunder Mar 23, 2021
d98b9f2
Prepare for 5.3.4 v2
michael-grunder Mar 23, 2021
e67e1a1
More Travis-CI fixes
michael-grunder Mar 23, 2021
e3426c1
5.3.4 - Move the date back one day
michael-grunder Mar 24, 2021
f03092a
Merge branch 'develop' of github.com:phpredis/phpredis into redis_clo…
iliaal May 30, 2021
67a92c5
Merge branch 'redis_clone_develop' into develop_simple_strings
iliaal May 30, 2021
eec2488
fixes
iliaal May 30, 2021
3b67488
merge
iliaal May 30, 2021
d6d53be
Merge branch 'release/5.3.4' of github.com:phpredis/phpredis into dev…
iliaal May 30, 2021
1869069
1st patch
iliaal May 30, 2021
ee32e4d
fixed checks
iliaal May 10, 2020
7c67fc5
fixed checks
iliaal May 10, 2020
5c42e48
Fixed check
iliaal May 10, 2020
357f92e
merge
iliaal May 30, 2021
91ffdd5
Added checks
iliaal May 30, 2021
dac3831
Added lz4 test
iliaal May 31, 2021
1aa5210
removed redundant code
iliaal May 31, 2021
46b76e8
lz4 safety checks
iliaal Aug 9, 2021
d593ad1
refine redis header
iliaal Aug 10, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
5.3.2
  • Loading branch information
yatsukhnenko committed Oct 22, 2020
commit d2c927ba85b85a279cec5810e99723d14309a828
138 changes: 117 additions & 21 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,43 +27,57 @@ http://pear.php.net/dtd/package-2.0.xsd">
<email>n.favrefelix@gmail.com</email>
<active>no</active>
</lead>
<date>2020-07-07</date>
<date>2020-10-22</date>
<version>
<release>5.3.1</release>
<api>5.3.1</api>
<release>5.3.2</release>
<api>5.3.2</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP</license>
<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.

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)

---
* 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)

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>
<contents>
<dir name="/">
Expand Down Expand Up @@ -125,7 +139,6 @@ http://pear.php.net/dtd/package-2.0.xsd">
<required>
<php>
<min>7.0.0</min>
<max>7.9.99</max>
</php>
<pearinstaller>
<min>1.4.0b1</min>
Expand All @@ -139,6 +152,87 @@ http://pear.php.net/dtd/package-2.0.xsd">
<configureoption name="enable-redis-zstd" prompt="enable zstd compression support?" default="no"/>
</extsrcrelease>
<changelog>
<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>
Expand Down Expand Up @@ -223,6 +317,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
(Michael Grunder)
</notes>
</release>

<release>
<stability><release>stable</release><api>stable</api></stability>
<version><release>5.2.2</release><api>5.2.2</api></version>
Expand All @@ -242,6 +337,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
~ Till Kruss - https://github.com/tillkruss
</notes>
</release>

<release>
<stability><release>stable</release><api>stable</api></stability>
<version><release>5.2.1</release><api>5.2.1</api></version>
Expand Down
2 changes: 1 addition & 1 deletion php_redis.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#define PHP_REDIS_H

/* phpredis version */
#define PHP_REDIS_VERSION "5.3.1"
#define PHP_REDIS_VERSION "5.3.2"

PHP_METHOD(Redis, __construct);
PHP_METHOD(Redis, __destruct);
Expand Down
0