Skip to content

v0.2.0

Choose a tag to compare

@clue clue released this 21 Mar 09:20
· 52 commits to main since this release
  • Re-organize the whole API into dedicated

    • Parser (protocol reader) and
    • Serializer (protocol writer) sub-namespaces. (#4)
  • Use of the factory has now been unified:

    $factory = new Clue\Redis\Protocol\Factory();
    $parser = $factory->createParser();
    $serializer = $factory->createSerializer();
  • Add a dedicated Model for each type of reply. Among others, this now allows
    you to distinguish a single line StatusReply from a binary-safe BulkReply. (#2)

  • Fix parsing binary values and do not trip over trailing/leading whitespace. (#4)

  • Improve parser and serializer performance by up to 20%. (#4)