diff --git a/changelog.md b/changelog.md
new file mode 100644
--- /dev/null
+++ b/changelog.md
@@ -0,0 +1,2 @@
+1.0.1
+* Get building on GHC-8
diff --git a/serversession-frontend-snap.cabal b/serversession-frontend-snap.cabal
--- a/serversession-frontend-snap.cabal
+++ b/serversession-frontend-snap.cabal
@@ -1,5 +1,5 @@
 name:            serversession-frontend-snap
-version:         1.0
+version:         1.0.1
 license:         MIT
 license-file:    LICENSE
 author:          Felipe Lessa <felipe.lessa@gmail.com>
@@ -12,7 +12,13 @@
 homepage:        https://github.com/yesodweb/serversession
 description:     API docs and the README are available at <http://www.stackage.org/package/serversession-frontend-snap>
 extra-source-files: README.md
+                    changelog.md
 
+flag lib-Werror
+  default: False
+  manual: True
+
+
 library
   hs-source-dirs: src
   build-depends:
@@ -20,8 +26,8 @@
     , bytestring
     , nonce
     , path-pieces
-    , snap                      == 0.14.*
-    , snap-core                 == 0.9.*
+    , snap                      >= 0.14
+    , snap-core                 >= 0.9
     , text
     , time
     , transformers
@@ -38,6 +44,9 @@
     TypeFamilies
     UndecidableInstances
   ghc-options:     -Wall
+  if flag(lib-Werror)
+    ghc-options: -Werror
+
 
 source-repository head
   type:     git
diff --git a/src/Web/ServerSession/Frontend/Snap/Internal.hs b/src/Web/ServerSession/Frontend/Snap/Internal.hs
--- a/src/Web/ServerSession/Frontend/Snap/Internal.hs
+++ b/src/Web/ServerSession/Frontend/Snap/Internal.hs
@@ -12,7 +12,7 @@
   , forceInvalidate
   ) where
 
-import Control.Applicative ((<$>))
+import Control.Applicative as A
 import Control.Arrow (first, second)
 import Control.Monad.IO.Class (liftIO)
 import Data.ByteString (ByteString)
@@ -137,7 +137,7 @@
     mcookie <- S.getCookie (cookieName ssm)
     -- Load session from storage backend.
     (data1, saveSessionToken) <-
-      liftIO $ loadSession (state ssm) (S.cookieValue <$> mcookie)
+      liftIO $ loadSession (state ssm) (S.cookieValue A.<$> mcookie)
     -- Add CSRF token if needed.
     data2 <-
       maybe
