diff --git a/apiary-eventsource.cabal b/apiary-eventsource.cabal
--- a/apiary-eventsource.cabal
+++ b/apiary-eventsource.cabal
@@ -1,5 +1,5 @@
 name:                apiary-eventsource
-version:             0.11.5
+version:             0.11.6
 synopsis:            eventsource support for apiary web framework.
 description:
   example: <https://github.com/philopon/apiary/blob/master/examples/eventsource.hs>
@@ -23,7 +23,7 @@
 library
   exposed-modules:     Web.Apiary.EventSource
   build-depends:       base              >=4.6    && <4.8
-                     , apiary            >=0.11.3 && <0.14
+                     , apiary            >=0.11.3 && <0.15
                      , blaze-builder     >=0.3    && <0.4
   if flag(wai2apiary)
     build-depends:     wai-eventsource   >=2.0    && <3.0
diff --git a/src/Web/Apiary/EventSource.hs b/src/Web/Apiary/EventSource.hs
--- a/src/Web/Apiary/EventSource.hs
+++ b/src/Web/Apiary/EventSource.hs
@@ -7,12 +7,13 @@
     , module Network.Wai.EventSource.EventStream
     ) where
 
-import Data.Function
-import           Control.Concurrent.Chan (Chan, dupChan, readChan)
-
+import Web.Apiary
 import Network.Wai.EventSource.EventStream (ServerEvent(..))
 import qualified Network.Wai.EventSource.EventStream as E
-import Web.Apiary
+
+import Control.Concurrent.Chan (Chan, dupChan, readChan)
+
+import Data.Function
 
 #ifdef VERSION_wai_eventsource
 import           Blaze.ByteString.Builder (Builder)
