Predis v1.0.2 Release Notes

Release Date: 2015-07-30 // almost 9 years ago
  • ๐Ÿš€ This is a maintenance release for the 1.0 series. What follows is an overview of the changes and bug fixes introduced in this release, more details are available in the CHANGELOG.

    IMPORTANT NOTICE : this release has been superseded by v1.0.3 due to a severe regression affecting only HHVM preventing the client from connecting to Redis using IPv4 addresses. Code running on the standard PHP interpreter is unaffected.

    ๐Ÿ‘Œ Improvements

    • ๐Ÿ‘ IPv6 is fully supported.
    • ๐Ÿ“œ The redis scheme can be used in URI strings and is considered an alias of tcp but the rules applied when parsing the URI follow the provisional registration document published by IANA while the usual Predis-specific rules still apply when using tcp and other schemes.
    • Implemented some missing commands: HSTRLEN (Redis >= 3.2), ZREVRANGEBYLEX (Redis >= 2.8) and MIGRATE (>= 2.6).
    • The ZADD modifiers NX|XX, CH, INCR introduced in Redis 3.0.2 can also be used with the simplified signature of this command where scores and members are passed as a named array.

    ๐Ÿ› Bug fixes

    • ๐Ÿ›  FIX : Predis\Configuration\Options must not trigger the autoloader when values are strings (#257).
    • ๐Ÿ›  FIX : BITPOS was not defined in the key-prefix processor (#265) and in the replication strategy.

    Notes

    • ๐Ÿ›  Predis v1.1.0 should follow in just a few weeks and, being a minor release, will deliver more than just bugfixes or minor improvements. The addition of support for redis-sentinel is a long-standing feature request that will hopefully find its way into the library (see #131) and some major and much needed improvements to redis-cluster are also scheduled (see #173). As usual any help is more than appreciated so feel free to hop on these issues for sharing ideas and advices, or even contribute with a pull request.

    Other links