77 Commits

Author SHA1 Message Date
michael-grunder 2c5ef19257 Introduce new RedisCmd based command construction
* Introduce a new `RedisCmd` struct to dynamically append RESP arguments
  such that we don't have to precalculate the number of arguments the
  command will have up front.

  Additionally the new `RedisCmd allows both a `void *` context pointer
  but also can attach a `void (*ctx_dtor)(void*)` destructor so we are
  still able to clean up any allocated context when commands fail.

  This moves the context cleanup out of every individual reply handler
  and into the generic processing wrappers.

* Create a small group of `resp_str` helper functions for lower level
  concatination of RESP protocol data over the wire.

* Lots of small modernization of the codebase such as using
  `zend_string*` instead of (`char *`, `size_t`) pairs.

* Greatly simplify `crosslot` handling logic
2026-06-04 12:16:35 -07:00
michael-grunder ca25b6fd9f Prepare to tag 6.3.0RC1 2025-10-14 16:06:23 -07:00
michael-grunder be4f14cccd Update CHANGELOG.md and package.xml 2025-10-09 18:37:40 -07:00
michael-grunder 675be9904d Update CHANGELOG.md 2025-10-09 12:11:20 -07:00
michael-grunder 2f2d81149d Update CHANGELOG and package.xml 2025-10-06 16:24:55 -07:00
michael-grunder 9dfc377902 Update CHANGELOG.md 2025-10-06 12:52:36 -07:00
michael-grunder 6ca84b668c Update package.xml for the 6.3.0RC1 release. 2025-10-02 21:06:59 -07:00
michael-grunder f7e6981084 Normalize package.xml with an automatic formatter
We've basically maintained `package.xml` by hand all these years which
makes it a pretty big pain to do a new release. This commit uses a small
utility program to normalize the spacing with PHP's simplexml extension.
2025-10-02 21:06:59 -07:00
michael-grunder 52e2b8a788 Prepare for 6.2.0 release 2025-03-24 12:06:17 -07:00
michael-grunder 5419cc9c60 Prepare for 6.1.0 GA 2024-10-04 11:28:33 -07:00
Remi Collet 52e69edefd improve package summary and description (#2558)
* improve package summary and description

* improve package summary and description
2024-10-03 11:06:56 -07:00
Michael Grunder 909c5cc13c Finalize 6.1.0RC2 changelog for completeness. (#2554)
* Finalize 6.1.0RC2 changelog for completeness.

* Fix CHANGELOG.md formatting + link to contributor users
2024-09-23 13:56:48 -07:00
michael-grunder 9bd2aaace4 Prepare for 6.1.0RC2 2024-09-23 11:08:56 -07:00
michael-grunder 40c897364f Remove erroneously duplicated changelog entries.
When constructing the 6.1.0RC1 CHANGELOG.md and package.xml a few
commits from older releases were accidentally included.

See #2474
2024-08-06 17:57:10 -07:00
michael-grunder 8b51942357 Raise minimum supported PHP version to 7.4
See #2531
2024-08-05 01:08:51 -07:00
Remi Collet e9474b80cb add missing SessionHelpers.php in pecl package 2024-08-05 00:30:28 -07:00
michael-grunder ff3d5e3e06 Prepare to tag 6.1.0RC1 2024-08-04 13:56:47 -07:00
Viktor Szépe 37c5f8d451 Fix typos 2024-02-21 13:16:12 -08:00
Pavlo Yatsukhnenko 62cf943fec 6.0.2 2023-10-22 19:16:41 +03:00
Pavlo Yatsukhnenko dbb4f24e12 6.0.1 2023-09-23 14:35:00 +03:00
Pavlo Yatsukhnenko 5bd3138731 Replace UTF-8 characters in package.xml 2023-09-11 16:24:55 +03:00
Pavlo Yatsukhnenko e193c873de 6.0.0 2023-09-09 14:23:42 +03:00
Pavlo Yatsukhnenko f9c1e2231c 6.0.0RC2 2023-08-20 11:20:24 +03:00
Remi Collet c94c774a2f raise minimal supported version to 7.2 2023-08-20 11:18:52 +03: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
Till Krüss 114f4d6056 Uniform meta file names (#2248)
* rename changelog to CHANGELOG
* Rename COPYING to LICENSE
* Rename cluster.markdown to cluster.md
* Rename README.markdown to README.md
* Rename INSTALL.markdown to INSTALL.md\
* Rename sentinel.markdown to sentinel.md
* Rename arrays.markdown to array.md
* fix all references
2022-11-08 14:49:42 -08:00
Michele Locati 59053f10d9 Add missing configureoption entries in package.xml 2022-09-17 14:51:42 -07:00
Nicolas Grekas 703d71b530 Fix typo 2022-08-16 18:06:47 +02:00
michael-grunder 3357041b42 Merge Changlog.md and package.xml changes into develop 2021-11-16 17:06:30 -08:00
Remi Collet f7c657148f add new files (stub and arginfo) 2021-09-08 10:22:49 +02:00
Nathaniel Braun 18706d9271 Add support for exponential backoff on retry 2021-07-20 09:21:13 +00:00
Pavlo Yatsukhnenko 2716cc0513 Update release information 2020-10-22 10:16:51 +03:00
michael-grunder bee44fb6c8 Final update for tagging 5.3.1 2020-07-07 10:48:38 -07:00
michael-grunder b465b797c0 Prepare for 5.3.1 2020-07-07 09:52:51 -07:00
michael-grunder b8996894ff Prepare for 5.3.1 2020-07-06 13:19:53 -07:00
michael-grunder 5d30e975ba Prepare for 5.3.1 2020-07-06 09:17:58 -07:00
michael-grunder adbc12e526 Prepare for 5.3.0 GA 2020-06-30 15:16:39 -07:00
michael-grunder 5ceba7c6d9 Prepare for 5.3.0RC2 2020-06-26 13:00:12 -07:00
michael-grunder dd3a11a8f7 Finalize 5.3.0RC changelog/package.xml 2020-06-25 11:11:02 -07:00
michael-grunder f7ed4aabe1 Prepare for 5.3.0 RC1 release 2020-06-24 21:46:04 -07:00
michael-grunder bf27e6e3db Merge 5.2.0 into develop 2020-03-02 11:00:53 -08:00
Jacob Dreesen b162262ea9 Fix wording: 'latest' should be 'last'
"Latest" means most recent, whereas "last" means that nothing will follow.
2019-08-08 10:20:39 -07:00
Pavlo Yatsukhnenko 97490a3064 Back to dev 2019-07-02 09:32:10 +03:00
michael-grunder f9928642b5 PHP 5 is dead, long live PHP 7
This commit removes support for PHP 5 by getting rid of all of our Zend
compatibility layer methods, as well as any call checking against
PHP_MAJOR_VERSION or ZEND_MODULE_API_NO.

Unit tests are all passing for Redis, RedisCluster, and RedisArray but
this should still be considered a work in progress until more testing
can be done.

Addresses issue #1448
2019-01-26 20:57:16 -08:00
michael-grunder b8118b0991 4.2.0 2018-11-17 16:16:39 -08:00
michael-grunder 64a213e94f 4.2.0 2018-11-17 15:32:54 -08:00
michael-grunder 517de7d122 4.2.0RC3 2018-11-08 12:43:55 -08:00
Pavlo Yatsukhnenko c886366c6f 4.2.0RC2 2018-10-26 11:11:37 +03:00
Pavlo Yatsukhnenko e26fdd4353 4.2.0RC1 2018-10-11 23:10:33 +03:00