CHANGELOG 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. v0.x.x
  2. * New commands added for the Redis 2.0 (DEV) profile:
  3. - Strings: APPEND, SUBSTR
  4. - ZSets : ZCOUNT, ZRANK, ZUNION, ZINTER, ZREMBYRANK, ZREVRANK
  5. - Hashes : HSET, HINCRBY, HGET, HDEL, HEXISTS, HLEN, HKEYS, HVALS,
  6. HGETALL
  7. - Misc. : DISCARD, CONFIG
  8. * The GET parameter for the SORT command now accepts also multiple key
  9. patterns by passing an array of strings.
  10. * KEYS will return a multibulk reply starting from Redis 2.0 (DEV). Predis
  11. handles this change in a backwards-compatible way.
  12. * Switched to class-based handlers instead of anonymous functions to
  13. handle the various server response types.
  14. * CommandPipeline and MultiExecBlock return their instances when invoking
  15. commands, thus allowing method chaining in pipelines and multi-exec blocks.
  16. * MultiExecBlock instances can handle the new DISCARD command.
  17. * Connections can now be identified by an alias using the "alias" parameter
  18. in the connection arguments. When connected to a cluster of Redis servers,
  19. this is useful to get a certain connection out of a cluster of connections.
  20. * In addition to the classic way of fetching a whole multibulk reply into an
  21. array, the client can now optionally stream a multibulk reply down to the
  22. user code by using PHP iterators. It is just a little bit slower, but it
  23. can save a lot of memory in certain scenarios.
  24. * Server errors can optionally be handled "silently": instead of throwing an
  25. exception, the client returns a error response type.
  26. v0.5.1
  27. * RPOPLPUSH has been changed from bulk command to inline command in Redis
  28. 1.2.1, so ListPopLastPushHead now extends InlineCommand. The old RPOPLPUSH
  29. behavior is still available via the ListPopLastPushHeadBulk class so that
  30. you can override the server profile if you need the old (and uncorrect)
  31. behaviour when connecting to a Redis 1.2.0 instance.
  32. * Added missing support for BGREWRITEAOF for Redis >= 1.2.0
  33. * Implemented a factory method for the RedisServerProfile class to ease the
  34. creation of new server profile instances based on a version string.
  35. v0.5.0
  36. * First versioned release of Predis