packages feed

curryer-rpc 0.3.7 → 0.3.8

raw patch · 3 files changed

+8/−4 lines, 3 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Network.RPC.Curryer.Server: deserialiseOnly :: forall s. Serialise s => ByteString -> Either WineryException s
+ Network.RPC.Curryer.Server: deserialiseOnly' :: forall s. Serialise s => ByteString -> Either WineryException s

Files

Changelog.markdown view
@@ -1,3 +1,7 @@+# v0.3.8 (2024-12-20)++* add support for winery 1.5 but don't require it+ # v0.3.7 (2024-08-24)  * enable building with GHC 9.6, 9.8, 9.10
curryer-rpc.cabal view
@@ -1,5 +1,5 @@ Name: curryer-rpc-Version: 0.3.7+Version: 0.3.8 License: PublicDomain Build-Type: Simple Homepage: https://github.com/agentm/curryer
src/Network/RPC/Curryer/Server.hs view
@@ -67,7 +67,7 @@ #if CURRYER_PASS_SCHEMA == 1 msgDeserialise = deserialise #else-msgDeserialise = deserialiseOnly+msgDeserialise = deserialiseOnly' #endif  data Locking a = Locking (MVar ()) a@@ -288,8 +288,8 @@     Nothing  --use winery to decode only the data structure and skip the schema-deserialiseOnly :: forall s. Serialise s => BS.ByteString -> Either WineryException s-deserialiseOnly bytes = do+deserialiseOnly' :: forall s. Serialise s => BS.ByteString -> Either WineryException s+deserialiseOnly' bytes = do   dec <- getDecoder (schema (Proxy :: Proxy s))   pure (evalDecoder dec bytes)