CHANGELOG 2.1 KB

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