Commit Graph

  • bc8cd2c4bc Add a mechanism for the user to flush the slot cache. michael-grunder 2025-04-20 06:53:23 -07:00
  • cbfdaec2f9 Rework how and when update slot cache and remap topology. michael-grunder 2025-04-19 18:02:19 -07:00
  • b48aa0d471 Fix an unused variable warning michael-grunder 2025-04-20 09:59:59 -07:00
  • b7a97e5ec3 Update README.md AkameOuO 2025-04-18 13:32:05 +08:00
  • bfbab89258 Broaden return type for Redis::hGetAll Michael Giuffrida 2025-04-19 21:30:38 -05:00
  • ad9e072529 Install Valkey binary release tests/valkey Pavlo Yatsukhnenko 2025-04-15 17:00:24 +03:00
  • 3c64b33ffe Fix SIGABRT in PHP 8.4 with RedisArray Rory 2025-04-08 16:31:38 +12:00
  • 614b86e457 New macros REDIS_RESPONSE_ERROR and REDIS_RETURN_ZVAL Jakub Onderka 2024-11-26 21:26:43 +01:00
  • 5208818e8c We can use zval_get_tmp_string here michael-grunder 2025-04-02 12:22:52 -07:00
  • 0a85bd824a Simplify redis_unpack method calling Jakub Onderka 2024-12-04 09:36:04 +01:00
  • 60ca48f3ce Redis Cluster does not have SELECT. (#2644) Michael Grunder 2025-04-01 11:33:44 -07:00
  • 0445e683e7 Refactor getWithMeta logic (#2643) Michael Grunder 2025-03-31 12:42:29 -07:00
  • 4f6a3ed1e7 New option 'database' for Redis class constructor (#2597) Jakub Onderka 2025-03-27 02:05:33 +01:00
  • 3828c9293b cleanup session temp file (#2641) Remi Collet 2025-03-26 23:25:22 +01:00
  • 52e2b8a788 Prepare for 6.2.0 release michael-grunder 2025-03-17 12:13:42 -07:00
  • 04e54f8833 Prepare for 6.2.0 release 6.2.0 michael-grunder 2025-03-17 12:13:42 -07:00
  • 300c5fb218 Make execHello protected michael-grunder 2025-03-21 11:05:20 -07:00
  • fa3eb00683 Add tests for serverName() and serverVersion() michael-grunder 2025-03-20 13:36:56 -07:00
  • cbaf095ff7 Allow calling methods only in atomic mode Pavlo Yatsukhnenko 2025-03-17 21:10:58 +02:00
  • 056c2dbee7 Introduce Redis::serverName and Redis::serverVersion methods Pavlo Yatsukhnenko 2025-03-16 11:05:35 +02:00
  • f73f5fcce5 Fix arguments order for SET command Pavlo Yatsukhnenko 2025-03-16 11:38:58 +02:00
  • e73130fee0 Fix error length calculation + UB sanity check. michael-grunder 2025-03-10 11:46:30 -07:00
  • d342e4ac18 Implement GETDEL for RedisCluster michael-grunder 2025-03-06 08:53:21 -08:00
  • 36ab585039 Merge pull request #2627 from phpredis/feature/with-meta Pavlo Yatsukhnenko 2025-02-26 16:53:48 +02:00
  • 807f806fe8 Reorganize tests Pavlo Yatsukhnenko 2025-02-25 17:18:13 +02:00
  • 1b72964e39 Update CHANGELOG.md Pavlo Yatsukhnenko 2025-02-19 12:59:07 +02:00
  • 9036ffca6a Add getWithMeta method Pavlo Yatsukhnenko 2025-01-30 20:15:00 +02:00
  • abb0f6ccc8 Add details to the option doc block michael-grunder 2025-02-05 13:40:19 -08:00
  • 29e5cf0d8c Minor refactor of ignroe numbers option michael-grunder 2025-01-28 08:30:55 -08:00
  • f9ce9429ef Introduce Redis::OPT_PACK_IGNORE_NUMBERS option. michael-grunder 2025-01-26 13:39:42 -08:00
  • 41e114177a Merge pull request #2618 from phpredis/codeql-v3 Pavlo Yatsukhnenko 2025-02-01 20:20:21 +02:00
  • a10bca35bb Update codeql to v3 Pavlo Yatsukhnenko 2025-01-31 22:07:21 +02:00
  • c7b8784310 Invalidate slot cache on failed cluster connections James Kennedy 2024-12-19 13:44:04 -08:00
  • a2eef77f44 Implement Valkey >= 8.1 IFEQ set option michael-grunder 2025-01-19 09:15:41 -08:00
  • faa4bc2086 Don't cast a uint64_t to a long. michael-grunder 2025-01-13 10:57:31 -08:00
  • 3f8dba6a44 Regnerate stub hash michael-grunder 2025-01-13 10:54:32 -08:00
  • 9e504ede34 Set priority to 60 Pavlo Yatsukhnenko 2025-01-02 22:18:58 +02:00
  • 5cad207637 Fix phpdoc type of '$pattern' OHZEKI Naoki 2024-12-23 12:56:35 +09:00
  • 43e6cab879 Fix potential NULL dereference peter15914 2025-01-02 02:07:31 +05:00
  • 044b30386f Reduce buffer size for signed integer, strlen(-9223372036854775808) = 20 + 1 for '\0' Bentley O'Kane-Chase 2024-12-17 11:07:58 +10:00
  • 35c5988027 Formatting improvements Bentley O'Kane-Chase 2024-12-17 11:06:47 +10:00
  • 138d07b67c Print cursor as unsigned 64 bit integer Bentley O'Kane-Chase 2024-12-16 10:29:24 +10:00
  • f68544f703 Refactor and avoid allocation in rawcommand method Jakub Onderka 2024-12-09 17:25:51 +01:00
  • 42a427695e Use defines for callback growth + sanity check michael-grunder 2024-12-09 12:38:27 -08:00
  • a551fdc94c Switch from linked list to growing array for reply callbacks Jakub Onderka 2024-12-05 16:07:05 +01:00
  • be38856205 Reuse redis_sock_append_auth method Jakub Onderka 2024-12-01 10:01:59 +01:00
  • 571ffbc8e0 Switch pipeline_cmd from smart_str to smart_string Jakub Onderka 2024-12-01 09:36:21 +01:00
  • 7895636a3a Remove unused redis_debug_response method from library.c Jakub Onderka 2024-11-27 10:00:20 +01:00
  • 2434ba294c Optimise HMGET method Jakub Onderka 2024-11-24 18:22:02 +01:00
  • aba09933db Avoid unnecessary allocation in redis_hset_cmd Jakub Onderka 2024-11-24 13:38:54 +01:00
  • 4082dd07f7 Avoid unnecessary allocation in redis_hdel_cmd Jakub Onderka 2024-11-24 12:48:44 +01:00
  • 99650e1545 Avoid unnecessary allocation in redis_key_varval_cmd Jakub Onderka 2024-11-24 11:19:46 +01:00
  • f6906470a5 Use zval_get_tmp_string method that is faster when provided zval is string Jakub Onderka 2024-11-23 17:02:53 +01:00
  • 2a2f908f2b Optimise constructing Redis command string Jakub Onderka 2024-11-25 14:53:53 +01:00
  • 5156e03202 If no command is issued in multi mode, return immutable empty array Jakub Onderka 2024-11-24 17:17:48 +01:00
  • 426de2bb71 Test for empty pipeline and multi Jakub Onderka 2024-11-24 17:15:58 +01:00
  • 400503b871 Optimise method array_zip_values_and_scores Jakub Onderka 2024-11-22 19:27:00 +01:00
  • 83a19656f4 Faster parameter parsing in redis_key_cmd and redis_key_long_val_cmd Jakub Onderka 2024-11-22 17:47:17 +01:00
  • 3a2f3f45fc Use immutable empty array in Redis::hKeys Jakub Onderka 2024-11-22 16:52:22 +01:00
  • 60b5a8860a Use immutable empty array in Redis::exec Jakub Onderka 2024-11-22 16:51:06 +01:00
  • 64da891e6f Do not allocate empty string or string with one character Jakub Onderka 2024-11-21 15:29:34 +01:00
  • 99beb9221c Initialize arrays with known size Jakub Onderka 2024-11-21 12:27:16 +01:00
  • b665925eed Use smart str for constructing pipeline cmd Jakub Onderka 2024-11-23 12:07:21 +01:00
  • 6097e7ba50 Add PHP 8.4 to CI Pavlo Yatsukhnenko 2024-11-25 16:20:00 +02:00
  • 4cd3f59356 Implement KeyDB's EXPIREMEMBER[AT] commands michael-grunder 2024-11-14 21:44:07 -08:00
  • 8144db3743 better documentation for the $tlsOptions parameter of RedisCluster Jacob Brown 2024-11-04 12:03:42 -06:00
  • 6e9a54a113 Fix NULL dereference on getOption fix/fuzzing-fixes michael-grunder 2024-11-02 15:48:32 -07:00
  • 0fe45d24d4 Fix XAUTOCLAIM argc when sending COUNT michael-grunder 2024-10-16 15:40:17 -07:00
  • 085d61ecfb Create a strncmp wrapper michael-grunder 2024-10-14 10:56:47 -07:00
  • eb66fc9e2f Pin ubuntu version for KeyDB michael-grunder 2024-10-14 16:09:03 -07:00
  • 985b0313fb KeyDB doesn't have a noble release yet. michael-grunder 2024-10-14 12:47:28 -07:00
  • e403d25a99 pool entry wrapper pool-entry Pavlo Yatsukhnenko 2024-10-13 15:54:56 +03:00
  • a53bf38b83 Merge pull request #2557 from cmb69/cmb/win-ci Pavlo Yatsukhnenko 2024-10-08 12:57:37 +03:00
  • 5419cc9c60 Prepare for 6.1.0 GA 6.1.0 michael-grunder 2024-10-03 14:57:39 -07:00
  • 52e69edefd improve package summary and description (#2558) Remi Collet 2024-10-03 20:06:56 +02:00
  • f89d4d8f6e Windows CI: update setup-php-sdk to v0.10 and enable caching Christoph M. Becker 2024-09-30 15:38:44 +02:00
  • 5f241d8913 Merge pull request #2555 from phpredis/issue-redis62 Remi Collet 2024-09-24 16:15:31 +02:00
  • cc1be32294 fix 2 tests with redis 6.2 Remi Collet 2024-09-24 14:47:04 +02:00
  • 0bae4bb044 Fix urls Vincent Langlet 2024-09-23 14:58:24 +02:00
  • 909c5cc13c Finalize 6.1.0RC2 changelog for completeness. (#2554) 6.1.0RC2 Michael Grunder 2024-09-23 13:56:48 -07:00
  • bff3a22e9d fix implicit nullable (8.4) Remi Collet 2024-09-23 07:51:08 +02:00
  • 30c8f90cd9 bump version Remi Collet 2024-09-23 07:50:53 +02:00
  • 9bd2aaace4 Prepare for 6.1.0RC2 michael-grunder 2024-09-22 18:59:58 -07:00
  • b59e35a64f Added a composer.json to enable support for PIE James Titcumb 2024-09-18 20:47:47 +01:00
  • a75a7e5a36 Fix SIGABRT in PHP 8.4 michael-grunder 2024-09-19 14:14:58 -07:00
  • 9d38050093 Upload artifact v2 is deprecated michael-grunder 2024-09-19 14:25:17 -07:00
  • 1af521ac65 Fix random connection timeouts with Redis Cluster 5.3.7-timeout-fix Jozsef Koszo 2024-03-17 07:44:49 +01:00
  • 40c897364f Remove erroneously duplicated changelog entries. michael-grunder 2024-08-05 10:50:00 -07:00
  • 37cebdd70b cleanup code for unsupported versions Remi Collet 2024-08-05 15:08:58 +02:00
  • 8b51942357 Raise minimum supported PHP version to 7.4 michael-grunder 2024-08-05 00:47:05 -07:00
  • e9474b80cb add missing SessionHelpers.php in pecl package Remi Collet 2024-08-05 08:43:01 +02:00
  • ff3d5e3e06 Prepare to tag 6.1.0RC1 michael-grunder 2024-07-30 09:52:54 -07:00
  • 1499a79f68 Prepare to tag 6.1.0RC1 6.1.0RC1 michael-grunder 2024-07-30 09:52:54 -07:00
  • 6ea5b3e08b Fix argument count issue in HSET with associative array, update method signature for HSET and add documentation Viktor Djupsjöbacka 2024-07-17 15:10:41 +03:00
  • 6673b5b2be SRANDMEMBER can return any type because of serialization. michael-grunder 2024-07-13 22:43:51 -07:00
  • 99f9fd8353 Fix HRANDFIELD command when WITHVALUES is used. (#2524) Michael Grunder 2024-07-13 22:42:25 -07:00
  • eeb5109967 Update documentation (#2523) Michael Dwyer 2024-07-11 23:49:29 -05:00
  • 50529f56e4 Context array should be nullable michael-grunder 2024-07-10 11:35:25 -07:00
  • 7de29d57d9 Fix a macOS (M1) compiler warning. michael-grunder 2024-07-07 19:20:36 -07:00
  • 981c69314d Add GETEX to README docs + minor change to command. michael-grunder 2024-06-20 11:29:42 -07:00