yesod-eventsource 1.6.0 → 1.6.0.1
raw patch · 3 files changed
+13/−9 lines, 3 filesdep −wai-eventsourcedep ~basePVP ok
version bump matches the API change (PVP)
Dependencies removed: wai-eventsource
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- ChangeLog.md +4/−0
- Yesod/EventSource.hs +2/−2
- yesod-eventsource.cabal +7/−7
ChangeLog.md view
@@ -1,3 +1,7 @@+## 1.6.0.1++* Update documentation from `HandlerT` to `HandlerFor` [#1703](https://github.com/yesodweb/yesod/pull/1703)+ ## 1.6.0 * Upgrade to yesod-core 1.6.0
Yesod/EventSource.hs view
@@ -63,9 +63,9 @@ Just x -> yield (Chunk x) >> yield Flush --- | Return a Server-Sent Event stream given a 'HandlerT' action+-- | Return a Server-Sent Event stream given a 'HandlerFor' action -- that is repeatedly called. A state is threaded for the action--- so that it may avoid using @IORefs@. The @HandlerT@ action+-- so that it may avoid using @IORefs@. The @HandlerFor@ action -- may sleep or block while waiting for more data. The HTTP -- socket is flushed after every list of simultaneous events. -- The connection is closed as soon as an 'ES.CloseEvent' is
yesod-eventsource.cabal view
@@ -1,5 +1,6 @@+cabal-version: >= 1.10 name: yesod-eventsource-version: 1.6.0+version: 1.6.0.1 license: MIT license-file: LICENSE author: Felipe Lessa <felipe.lessa@gmail.com>@@ -7,21 +8,20 @@ synopsis: Server-sent events support for Yesod apps. category: Web, Yesod stability: Stable-cabal-version: >= 1.6 build-type: Simple homepage: http://www.yesodweb.com/ description: API docs and the README are available at <http://www.stackage.org/package/yesod-eventsource> extra-source-files: README.md ChangeLog.md library- build-depends: base >= 4 && < 5- , yesod-core == 1.6.*+ default-language: Haskell2010+ build-depends: base >= 4.10 && < 5+ , blaze-builder , conduit >= 1.3+ , transformers , wai >= 1.3- , wai-eventsource >= 1.3 , wai-extra- , blaze-builder- , transformers+ , yesod-core == 1.6.* exposed-modules: Yesod.EventSource ghc-options: -Wall