packages feed

blaze-html 0.4.0.0 → 0.4.1.0

raw patch · 3 files changed

+7/−2 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

Text/Blaze.hs view
@@ -124,7 +124,6 @@     toHtml = string . show     {-# INLINE toHtml #-} - -- | Class allowing us to use a single function for attribute values -- class ToValue a where
Text/Blaze/Internal.hs view
@@ -223,6 +223,7 @@ text :: Text  -- ^ Text to render.      -> Html  -- ^ Resulting HTML fragment. text = Content . Text+{-# DEPRECATED text "Use Blaze.Html.toHtml" #-} {-# INLINE text #-}  -- | Render text without escaping.@@ -237,6 +238,7 @@ lazyText :: LT.Text  -- ^ Text to insert          -> Html     -- ^ Resulting HTML fragment lazyText = mconcat . map text . LT.toChunks+{-# DEPRECATED lazyText "Use Blaze.Html.toHtml" #-} {-# INLINE lazyText #-}  -- | A variant of 'preEscapedText' for lazy 'LT.Text'@@ -250,6 +252,7 @@ string :: String  -- ^ String to insert.        -> Html    -- ^ Resulting HTML fragment. string = Content . String+{-# DEPRECATED string "Use Blaze.Html.toHtml" #-} {-# INLINE string #-}  -- | Create an HTML snippet from a 'String' without escaping@@ -288,6 +291,7 @@ textValue :: Text            -- ^ The actual value.           -> AttributeValue  -- ^ Resulting attribute value. textValue = AttributeValue . Text+{-# DEPRECATED textValue "Use Blaze.Html.toValue" #-} {-# INLINE textValue #-}  -- | Render an attribute value from 'Text' without escaping.@@ -302,6 +306,7 @@ lazyTextValue :: LT.Text         -- ^ The actual value               -> AttributeValue  -- ^ Resulting attribute value lazyTextValue = mconcat . map textValue . LT.toChunks+{-# DEPRECATED lazyTextValue "Use Blaze.Html.toValue" #-} {-# INLINE lazyTextValue #-}  -- | A variant of 'preEscapedTextValue' for lazy 'LT.Text'@@ -315,6 +320,7 @@ -- stringValue :: String -> AttributeValue stringValue = AttributeValue . String+{-# DEPRECATED stringValue "Use Blaze.Html.toValue" #-} {-# INLINE stringValue #-}  -- | Create an attribute value from a 'String' without escaping.
blaze-html.cabal view
@@ -7,7 +7,7 @@ -- The package version. See the Haskell package versioning policy -- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for -- standards guiding when and how versions should be incremented.-Version:             0.4.0.0+Version:             0.4.1.0  -- A short (one-line) description of the package. Synopsis:            A blazingly fast HTML combinator library.