Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: phpredis/phpredis
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 6.2.0
Choose a base ref
...
head repository: phpredis/phpredis
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: develop
Choose a head ref
  • 17 commits
  • 24 files changed
  • 7 contributors

Commits on Mar 21, 2025

  1. Make execHello protected

    This lets a subclass override it
    michael-grunder committed Mar 21, 2025
    Configuration menu
    Copy the full SHA
    300c5fb View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2025

  1. Configuration menu
    Copy the full SHA
    52e2b8a View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2025

  1. cleanup session temp file (#2641)

    * cleanup session temp file
    
    * Fix Deprecated: Automatic conversion of false to array
    remicollet authored Mar 26, 2025
    Configuration menu
    Copy the full SHA
    3828c92 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2025

  1. New option 'database' for Redis class constructor (#2597)

    * New option 'database' for Redis class constructor
    
    Selecting database is very common action after connecting to Redis. This simplifies lazy connecting to Redis, when requested database will be selected after first command.
    
    * More specific exception message when invalid auth or database number is provided
    
    Before it was just 'Redis server went away'
    
    * Rename reselect_db method to redis_select_db and slightly optimise it
    JakubOnderka authored Mar 27, 2025
    2 Configuration menu
    Copy the full SHA
    4f6a3ed View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2025

  1. Refactor getWithMeta logic (#2643)

    * Refactor `getWithMeta`
    
    * Consolidate `getWithMeta()` test.
    
    * Review comments
    michael-grunder authored Mar 31, 2025
    Configuration menu
    Copy the full SHA
    0445e68 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2025

  1. Configuration menu
    Copy the full SHA
    60ca48f View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2025

  1. Simplify redis_unpack method calling

    This method always unpack given string to zval, so it is not necessary to check output value
    JakubOnderka authored and michael-grunder committed Apr 2, 2025
    Configuration menu
    Copy the full SHA
    0a85bd8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5208818 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2025

  1. New macros REDIS_RESPONSE_ERROR and REDIS_RETURN_ZVAL

    Deduplicate code that is used in many methods. Also optimise adding new element to array in pipeline mode and returning zval in atomic mode
    JakubOnderka authored and michael-grunder committed Apr 5, 2025
    Configuration menu
    Copy the full SHA
    614b86e View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2025

  1. Fix SIGABRT in PHP 8.4 with RedisArray

    Same fix as 6e5360d, with PHP switching from `ZEND_ASSUME` to `ZEND_ASSERT` in zend_hash_str_update_ptr.
    
    Fixes #2648
    Novynn authored and michael-grunder committed Apr 8, 2025
    Configuration menu
    Copy the full SHA
    3c64b33 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2025

  1. Broaden return type for Redis::hGetAll

    `Redis::hGetAll()` returns an array indexed by `string`s and/or `int`s depending on the values in the hash set.
    
    The function in the PHP stub was annotated as though the array were keyed only by strings, which is tighter than reality.
    mgiuffrida authored and michael-grunder committed Apr 20, 2025
    Configuration menu
    Copy the full SHA
    bfbab89 View commit details
    Browse the repository at this point in the history
  2. Update README.md

    AkameOuO authored and michael-grunder committed Apr 20, 2025
    Configuration menu
    Copy the full SHA
    b7a97e5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b48aa0d View commit details
    Browse the repository at this point in the history

Commits on May 5, 2025

  1. Check for dragonfly_version in HELLO response

    DragonflyDB will report to be Redis but also include `dragonfly_version`
    in the hello response, which we can use to identify the fork.
    
    Also fix parsing of the `HELLO` response for `serverName()` and
    `serverVersion()`. Starting in Redis 8.0 there seem to always be modules
    running, which the previous function was not expecting or parsing.
    michael-grunder committed May 5, 2025
    Configuration menu
    Copy the full SHA
    593ba01 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2025

  1. Implement several hash expiration commands

    Commands implemented:
    
    `H[P]EXPIRE`
    `H[P]TTL`
    `H[P]EXPIREAT`
    `H[P]EXPIRETIME`
    `HPERSIST`
    michael-grunder committed May 7, 2025
    Configuration menu
    Copy the full SHA
    7350768 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2025

  1. Attempt to fix flaky GitHub CI tests.

    We often have to rerun the test suite on GitHub actions because of a
    hard to reproduce "Read error on connection" exception when getting a
    new `RedisCluster` instance.
    
    No one has ever reported this failure outside of GitHub CI and it's not
    clear exactly what might be going on.
    
    This commit does two main things:
    
    1. Allows for one failure to construct a new `RedisCluster` instance but
       only if we detect we're running in GitHub CI.
    
    2. Adds much more diagnostic information if we still have a fatal error
       (e.g. we can't connect in two tries, or some other fatal error
       happens). The new info includes the whole callstack before aborting
       as well as an attempt to manually ping the seeds with `redis-cli`.
    michael-grunder committed May 8, 2025
    Configuration menu
    Copy the full SHA
    8014000 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    152fdda View commit details
    Browse the repository at this point in the history
Loading