packages feed

memcached 0.2 → 0.2.1

raw patch · 4 files changed

+12/−2 lines, 4 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Network.Memcache.Key: instance (KeyElem a) => Key [a]
- Network.Memcache.Serializable: instance (Serializable a) => Serializable [a]
+ Network.Memcache.Key: instance KeyElem a => Key [a]
+ Network.Memcache.Serializable: instance Serializable a => Serializable [a]
- Network.Memcache.Key: hash :: (Key a) => a -> Int
+ Network.Memcache.Key: hash :: Key a => a -> Int
- Network.Memcache.Key: toKey :: (Key a) => a -> String
+ Network.Memcache.Key: toKey :: Key a => a -> String
- Network.Memcache.Serializable: deserialize :: (Serializable a) => ByteString -> Maybe a
+ Network.Memcache.Serializable: deserialize :: Serializable a => ByteString -> Maybe a
- Network.Memcache.Serializable: serialize :: (Serializable a) => a -> ByteString
+ Network.Memcache.Serializable: serialize :: Serializable a => a -> ByteString

Files

ChangeLog view
@@ -1,3 +1,8 @@+2010-11-24  oleg <oleg@janrain.com>+	* Version 0.2.1.+	* Network/Memcache/Protocol.hs (delete):  Pass the command name to+	hPutCommand.+ 2010-07-15  oleg <oleg@janrain.com> 	* Version 0.2. 
NEWS view
@@ -1,3 +1,8 @@+0.2.1 (November 24, 2010)++* Fixed the "delete" command.++ 0.2 (July 15, 2010)  * Store strings as UTF8-encoded ByteStrings, to avoid garbling
Network/Memcache/Protocol.hs view
@@ -112,7 +112,7 @@         return $ deserialize val    delete (Server handle) key delta = do-    hPutCommand handle [toKey key, show delta]+    hPutCommand handle ["delete", toKey key, show delta]     response <- hGetNetLn handle     return (response == "DELETED") 
memcached.cabal view
@@ -1,5 +1,5 @@ name:                memcached-version:             0.2+version:             0.2.1 stability:           Alpha synopsis:            haskell bindings for memcached description:         haskell bindings for memcached