X Tutup
The Wayback Machine - https://web.archive.org/web/20221011022921/https://github.com/phpredis/phpredis/commits/develop
Skip to content
Permalink
develop
Switch branches/tags

Commits on Oct 10, 2022

  1. Implement CONFIG REWRITE

    Closes #847
    michael-grunder committed Oct 10, 2022

Commits on Oct 9, 2022

Commits on Oct 8, 2022

  1. Move where we generate our salt

    Fixes #1987
    michael-grunder committed Oct 8, 2022
  2. Implement new RESTORE options

    Add the new RESTORE options REPLACE, ABSTTL, FREQ <freq> and IDLETIME <idletime>
    
    Fixes #1410
    michael-grunder committed Oct 8, 2022
  3. [B]LMPOP and [B]ZMPOP commands

    Implement the new Redis 7.0.0 commands to pop multiple elements from one
    or more lists/zsets.
    
    Additionally, remove INTERNAL_FUNCTION_PARAMETERS from the
    redis_sock_read_multibulk_reply_zval helper function as it wasn't
    actually being used.
    michael-grunder committed Oct 8, 2022
  4. WIP: Update stubs so the tests pass in strict mode

    These changes allow the PHP 8 unit tests to pass even when zpp strict
    mode is enabled.
    
    I'm not exactly sure which setting causes the issue, but without these
    changes I get many `zpp` errors if I run the tests inside of a PHP build
    tree.
    michael-grunder committed Oct 8, 2022

Commits on Oct 7, 2022

  1. Allow negative timeout/read_timeout and fix doc

    Co-authored-by: twosee <twose@qq.com>
    michael-grunder and twose committed Oct 7, 2022

Commits on Oct 6, 2022

  1. Fix documentation for resetStat

    There is no `resetStat` command, but there is `CONFIG RESETSTAT`.
    
    Fixes #928
    michael-grunder committed Oct 6, 2022

Commits on Oct 5, 2022

  1. PHP 8.1 deprecations

    Co-authored-by: <tillkruss@users.noreply.github.com>
    michael-grunder committed Oct 5, 2022

Commits on Oct 3, 2022

  1. Relax OBJECT idletime tests to avoid false failures.

    Instead of testing that `OBJECT IDLETIME` returns exactly zero after
    updating a key in our tests, just make sure PhpRedis returns us some
    numeric value.
    
    We can't really test for a specific number of elapsed seconds in CI as
    the VMs may be randomly preempted at times beyond our control, causing
    the tests to "fail" even though there was no actual failure.
    michael-grunder committed Oct 3, 2022

Commits on Oct 2, 2022

Commits on Oct 1, 2022

  1. LCS command

    Implement the Redis 7.0.0 LCS command with tests.
    michael-grunder committed Oct 1, 2022
  2. SINTERCARD and ZINTERCARD commands

    Implement Redis 7.0.0 commands SINTERCARD and ZINTERCARD.
    michael-grunder committed Oct 1, 2022
  3. Implement CONFIG RESETSTAT

    Rework the CONFIG command and add RESETSTAT variant.
    
    Fixes #1673
    michael-grunder committed Oct 1, 2022
  4. Add back a default switch case for setoption handler

    We can't use `EMPTY_SWITCH_DEFAULT_CASE` here as the underlying macro
    will actually panic, as it calls `ZEND_UNREACHABLE` under the hood.
    michael-grunder committed Oct 1, 2022

Commits on Sep 30, 2022

  1. float not double.

    See: #2158
    michael-grunder committed Sep 30, 2022

Commits on Sep 29, 2022

Commits on Sep 27, 2022

  1. BLPOP with a float timeout

    See #2157
    michael-grunder committed Sep 27, 2022

Commits on Sep 23, 2022

Commits on Sep 19, 2022

  1. Issue #2080: avoid registering the same replicas multiple times in ca…

    …se the master handles multiple slot ranges
    mariusadam authored and michael-grunder committed Sep 19, 2022

Commits on Sep 18, 2022

  1. Update INSTALL.markdown

    On https://pecl.php.net/package/redis is hard to find url to windows dll's - direct url will help https://windows.php.net/downloads/pecl/releases/redis/
    DeyV authored and michael-grunder committed Sep 18, 2022
  2. Return false or NULL on empty lpos response (#2151)

    Return false or NULL on empty lpos response
    
    To be consistent with other PhpRedis methods, we should return either
    false or NULL when LPOS returns no results, depening on
    NULL_MBULK_AS_NULL setting.
    michael-grunder committed Sep 18, 2022

Commits on Sep 17, 2022

Commits on Sep 15, 2022

  1. CodeQL fixes

    michael-grunder committed Sep 15, 2022
  2. Add 'BIT'/'BYTE' modifier to BITCOUNT + tests (#2149)

    BITCOUNT can take a third optional argument ('BIT', or 'BYTE').
    
    Additionally add a specific test for BITCOUNT that tests all of the
    legal ways it can be called in PhpRedis.
    michael-grunder committed Sep 15, 2022
  3. Fix non standards conforming prototypes. (#2150)

    These now generate warnings with GCC 13
    michael-grunder committed Sep 15, 2022

Commits on Sep 8, 2022

  1. Merge pull request #2147 from phpredis/issue-1894-client

    Redis::client command
    yatsukhnenko committed Sep 8, 2022
Older
X Tutup