From f023f9cfd51bb8f004362b8efabdbdf8e4f83a1f Mon Sep 17 00:00:00 2001 From: Pieter Noordhuis Date: Wed, 3 Nov 2010 12:00:17 +0100 Subject: Upgrade notice in README --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index beca586..1526642 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,13 @@ Redis version >= 1.2.0. The library comes with multiple APIs. There is the *synchronous API*, the *asynchronous API* and the *reply parsing API*. +## UPGRADING + +Version 0.9.0 is a major overhaul of hiredis in every aspect. However, upgrading existing +code using hiredis should not be a big pain. The key thing to keep in mind when +upgrading is that hiredis >= 0.9.0 uses a `redisContext*` to keep state, in contrast to +the stateless 0.0.1 that only has a file descriptor to work with. + ## SYNCHRONOUS API To consume the synchronous API, there are only a few function calls that need to be introduced: -- cgit v1.2.3