packages feed

happstack-hamlet 6.0.0 → 6.1.0

raw patch · 2 files changed

+5/−6 lines, 2 filesdep ~hamletdep ~happstack-serverPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: hamlet, happstack-server

API changes (from Hackage documentation)

- Happstack.Server.Hamlet: hamletToResponse :: (url -> [(String, String)] -> String) -> Hamlet url -> Response
+ Happstack.Server.Hamlet: hamletToResponse :: (url -> [(Text, Text)] -> Text) -> Hamlet url -> Response

Files

Happstack/Server/Hamlet.hs view
@@ -8,14 +8,13 @@ import qualified Data.ByteString.Char8      as B import qualified Data.ByteString.Lazy.Char8 as L import qualified Data.Map                   as M-import qualified Data.Text.Lazy.Encoding    as T    -+import           Data.Text                  (Text) import Text.Hamlet import Happstack.Server   -- |turn a 'Hamlet' template into a Happstack 'Response'-hamletToResponse :: (url -> [(String, String)] -> String) -- ^ function to 'url' values in the template into their 'String' representation+hamletToResponse :: (url -> [(Text, Text)] -> Text) -- ^ function to 'url' values in the template into their 'String' representation                  -> Hamlet url  -- ^ a 'Hamlet' template                  -> Response hamletToResponse showFn hamlet = 
happstack-hamlet.cabal view
@@ -1,5 +1,5 @@ Name:                happstack-hamlet-Version:             6.0.0+Version:             6.1.0 Synopsis:            Support for Hamlet HTML templates in Happstack  Description:         Happstack is a web application development framework. @@ -27,8 +27,8 @@   Build-depends:       base >= 3 && <5,                        bytestring,                        containers,-                       happstack-server >= 6.0 && < 6.1 ,-                       hamlet >= 0.5 && <0.8,+                       happstack-server >= 6.0 && < 6.2,+                       hamlet >= 0.8 && <0.9,                        text      -- Modules not exported by this package.