yesod-websockets 0.3.0.3 → 0.3.0.4
raw patch · 4 files changed
+10/−3 lines, 4 filesnew-uploaderPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
+ Yesod.WebSockets: [connectionTimeout] :: ConnectionOptions -> !Int
- Yesod.WebSockets: ConnectionOptions :: !IO () -> !CompressionOptions -> !Bool -> !SizeLimit -> !SizeLimit -> ConnectionOptions
+ Yesod.WebSockets: ConnectionOptions :: !IO () -> !Int -> !CompressionOptions -> !Bool -> !SizeLimit -> !SizeLimit -> ConnectionOptions
- Yesod.WebSockets: sinkWSBinary :: (MonadIO m, WebSocketsData a, MonadReader Connection m) => ConduitT a o m ()
+ Yesod.WebSockets: sinkWSBinary :: forall (m :: Type -> Type) a o. (MonadIO m, WebSocketsData a, MonadReader Connection m) => ConduitT a o m ()
- Yesod.WebSockets: sinkWSText :: (MonadIO m, WebSocketsData a, MonadReader Connection m) => ConduitT a o m ()
+ Yesod.WebSockets: sinkWSText :: forall (m :: Type -> Type) a o. (MonadIO m, WebSocketsData a, MonadReader Connection m) => ConduitT a o m ()
- Yesod.WebSockets: sourceWS :: (MonadIO m, WebSocketsData a, MonadReader Connection m) => ConduitT i a m ()
+ Yesod.WebSockets: sourceWS :: forall (m :: Type -> Type) a i. (MonadIO m, WebSocketsData a, MonadReader Connection m) => ConduitT i a m ()
Files
- ChangeLog.md +4/−0
- README.md +4/−1
- Yesod/WebSockets.hs +1/−1
- yesod-websockets.cabal +1/−1
ChangeLog.md view
@@ -1,3 +1,7 @@+## 0.3.0.4++* Fixed examples to work with Template Haskell change in recent GHC versions ([#1790](https://github.com/yesodweb/yesod/pull/1790)).+ ## 0.3.0.3 * Removed the use of the deprecated forkPingThread and replaced it with the recommended withPingThread. [#1700](https://github.com/yesodweb/yesod/pull/1700)
README.md view
@@ -1,5 +1,5 @@ -## REQUIRED PACKAGES+## REQUIREMENTS FOR THE EXAMPLES The example, chat.hs, requires `stm-lifted` and `conduit-combinators` which are not dependencies of `yesod-websockets`. Installing the extra@@ -7,6 +7,9 @@ command: $ cabal install stm-lifted conduit-combinators++The oldest GHC you can use for all examples (`chat.hs`, `chat-with-*.hs`, etc.)+as of writing this is the one bundled with `base-4.11`, namely `GHC 8.4`. ## TIMEOUTS
Yesod/WebSockets.hs view
@@ -1,5 +1,5 @@ {-# LANGUAGE CPP #-}-{-# LANGUAGE FlexibleContexts #-}+{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE MultiParamTypeClasses #-} module Yesod.WebSockets ( -- * Core API
yesod-websockets.cabal view
@@ -1,6 +1,6 @@ cabal-version: >=1.10 name: yesod-websockets-version: 0.3.0.3+version: 0.3.0.4 synopsis: WebSockets support for Yesod homepage: https://github.com/yesodweb/yesod license: MIT