3294 Commits

Author SHA1 Message Date
Pavlo Yatsukhnenko
347fdc3290 Merge tag '6.0.0' into develop 2023-09-09 14:30:51 +03:00
Pavlo Yatsukhnenko
e193c873de 6.0.0 6.0.0 2023-09-09 14:23:42 +03:00
Till Krüss
3674d66351 Add missing option to example 2023-09-06 09:30:39 -07:00
Pavlo Yatsukhnenko
f9c1e2231c 6.0.0RC2 2023-08-20 11:20:24 +03:00
Pavlo Yatsukhnenko
3847181afc Update CHANGELOG.md 2023-08-20 11:18:52 +03:00
Remi Collet
c94c774a2f raise minimal supported version to 7.2 2023-08-20 11:18:52 +03:00
Remi Collet
40a46b53ed fix C99 usages 2023-08-20 11:18:52 +03:00
Nicolas Grekas
cc40af30db Fix arginfo for arguments that default to null 2023-08-20 11:18:52 +03:00
Pavlo Yatsukhnenko
008ec534e3 Merge pull request #2368 from phpredis/std89
fix C99 usages
2023-08-06 20:42:42 +03:00
Pavlo Yatsukhnenko
584d6ea0c1 Merge pull request #2367 from phpredis/min72
raise minimal supported version to 7.2
2023-08-06 20:42:20 +03:00
Pavlo Yatsukhnenko
46b8074216 Merge pull request #2366 from mlocati/patch-1
Use system liblz4 by default when installing with pecl
2023-08-06 20:41:31 +03:00
Pavlo Yatsukhnenko
df3bb5daca Merge pull request #2363 from nicolas-grekas/arginfo
Fix arginfo for arguments that default to null
2023-08-06 14:10:32 +03:00
Remi Collet
715012b2c1 fix C99 usages 2023-08-02 16:07:21 +02:00
Remi Collet
31cfb646e1 raise minimal supported version to 7.2 2023-08-02 15:42:47 +02:00
Michele Locati
f0888cc685 Use system liblz4 by default when installing with pecl 2023-08-02 11:38:29 +02:00
Pavlo Yatsukhnenko
00118ba317 6.0.0RC1 2023-08-01 09:50:33 +03:00
Nicolas Grekas
5e4bdf97c8 Fix arginfo for arguments that default to null 2023-07-27 17:57:44 +02:00
thomaston
a3327d9d2b Fix bug: the pipeline mode socket return an unexpected result after reconnecting (#2358)
* fix bug: the pipeline mode socket return an unexpected result after reconnecting

* fix typos: pipeline is right

---------

Co-authored-by: marcofu <marcofu@tencent.com>
2023-07-20 11:48:53 -07:00
Timo Sand
8f6bc98fd6 Fix typo in link 2023-05-24 23:00:51 +03:00
Michele Locati
35a7cc094c Test PECL package creation 2023-05-09 13:24:56 -07:00
Michele Locati
83d838c388 Rename array.md to arrays.md
In the `package.xml` file we have `arrays.md` instead of `array.md`: that breaks the compilation with pecl:

ERROR: file /path/to/phpredis/arrays.md does not exist
2023-05-08 10:23:16 -07:00
Dmitrii Kotov
717713e1bf Fix Fedora package url 2023-04-30 21:20:47 +03:00
Pavlo Yatsukhnenko
7a055cada8 Use on-stack allocated valiables 2023-04-02 18:44:11 +03:00
Pavlo Yatsukhnenko
6930a81cb4 Auto-select db in redis_sock_server_open 2023-04-02 14:24:41 +03:00
Pavlo Yatsukhnenko
82265c4d54 Fix install dependencies on Ubuntu 2023-04-02 13:52:00 +03:00
Pavlo Yatsukhnenko
f6c8b9c6d1 Use redis_sock_connect on connect 2023-04-02 13:46:21 +03:00
Remi Collet
dcb95a3f06 change expected value according to redis version 2023-03-23 14:43:31 -07:00
Remi Collet
fea19b5229 fix testObject for redis 7.2 2023-03-23 14:43:31 -07:00
Pavlo Yatsukhnenko
2b2bc042da Merge pull request #2327 from phpredis/sentinel
Synchronize Redis and RedisSentinel constructors
2023-03-01 22:08:12 +02:00
michael-grunder
ccd419a4c8 Small refactor of some methods
* Use our `redis_cmd_append_sstr_key_*` and `redis_cmd_append_sstr_zval`
  wrappers, which handle key prefixing and serialization transparently.

* Rework ZADD so it can handle the bulk double response from the `INCR`
  options.
2023-03-01 11:45:47 -08:00
Viktor Szépe
71ce6dd34c Fix documentation branch
main is no more
2023-03-01 10:02:16 -08:00
michael-grunder
02c91d59cb Fix RPOP to unserialize/decompress data.
Fixes #2329
2023-02-24 12:01:43 -08:00
Pavlo Yatsukhnenko
43f7e72f87 Merge pull request #2326 from phpredis/pipeline-multi-reply
Fix redis_sock_read_multibulk_multi_reply_loop logic
2023-02-14 21:13:50 +02:00
Pavlo Yatsukhnenko
5a643b62d2 Use didicated zval to store result 2023-02-14 20:38:22 +02:00
Pavlo Yatsukhnenko
ebb2386e52 Synchronize Redis and RedisSentinel constructors 2023-02-12 22:33:45 +02:00
Pavlo Yatsukhnenko
d9cb594678 Fix redis_sock_read_multibulk_multi_reply_loop logic 2023-02-11 22:40:06 +02:00
Pavlo Yatsukhnenko
e571a81f8d Merge pull request #2322 from phpredis/refactor
Refactor redis_long_response
2023-02-06 21:08:09 +02:00
Pavlo Yatsukhnenko
6b8d682ea5 Update cluster.md 2023-02-04 12:47:27 +02:00
Pavlo Yatsukhnenko
f14a80db9a Refactor redis_long_response 2023-02-04 12:33:43 +02:00
Pavlo Yatsukhnenko
b193a6d051 Merge pull request #2308 from phpredis/issue-2068-fcall
Issue #2068
2022-12-30 11:26:30 +02:00
Pavlo Yatsukhnenko
2cc44e18a5 Merge pull request #2309 from phpredis/client-refactor
Refactor CLIENT command
2022-12-27 22:33:26 +02:00
Pavlo Yatsukhnenko
77c4f7a36b Refactor CLIENT command 2022-12-26 14:56:05 +02:00
Pavlo Yatsukhnenko
7c46ad2c05 Issue #2068
Add FCALL/FCALL_RO commands
2022-12-24 13:37:50 +02:00
Pavlo Yatsukhnenko
350aff4e76 Merge pull request #2307 from nicolas-grekas/patch-1
Clarify laziness of Redis::__construct
2022-12-24 11:22:58 +02:00
Nicolas Grekas
d5678b1276 Clarify laziness of Redis::__construct
Is this correct BTW? If yes, this would make it clear.
2022-12-22 16:01:16 +01:00
Pavlo Yatsukhnenko
2908215572 Merge pull request #2306 from phpredis/issue-2068-function
Add Redis::function command
2022-12-21 22:53:16 +02:00
Pavlo Yatsukhnenko
90a0e9cc0e Add Redis::function command 2022-12-18 18:21:42 +02:00
michael-grunder
bb66a54772 Refactor HMGET command
Use new argument parsing API and simplify logic.
2022-12-12 21:24:42 -08:00
michael-grunder
40e1b1bfe8 Migrate more command handlers to the new arg API 2022-12-11 22:37:25 -08:00
michael-grunder
c8224b93b1 Refactor a more command handlers.
Use PHP's new argument parsing API and also our simplified mechanism for
dynamically appending strings or packed values.
2022-12-11 22:37:07 -08:00