blaze-html 0.7.1.0 → 0.8.0.0
raw patch · 4 files changed
+90/−11 lines, 4 filesdep ~blaze-builderdep ~blaze-markupPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: blaze-builder, blaze-markup
API changes (from Hackage documentation)
+ Text.Blaze.Html5.Attributes: itemscope :: AttributeValue -> Attribute
+ Text.Blaze.Html5.Attributes: itemtype :: AttributeValue -> Attribute
+ Text.Blaze.XHtml5.Attributes: itemscope :: AttributeValue -> Attribute
+ Text.Blaze.XHtml5.Attributes: itemtype :: AttributeValue -> Attribute
Files
- CHANGELOG +3/−0
- blaze-html.cabal +11/−11
- src/Text/Blaze/Html5/Attributes.hs +38/−0
- src/Text/Blaze/XHtml5/Attributes.hs +38/−0
CHANGELOG view
@@ -1,3 +1,6 @@+- 0.8.0.0+ * Bump blaze-builder dependency to 0.4+ - 0.7.1.0 * Add `itemscope` and `itemprop` attributes * Constraint `blaze-markup` dependency
blaze-html.cabal view
@@ -1,5 +1,5 @@ Name: blaze-html-Version: 0.7.1.0+Version: 0.8.0.0 Homepage: http://jaspervdj.be/blaze Bug-Reports: http://github.com/jaspervdj/blaze-html/issues License: BSD3@@ -51,11 +51,11 @@ Text.Blaze.XHtml5.Attributes Build-depends:- base >= 4 && < 5,- blaze-builder >= 0.2 && < 0.4,- blaze-markup >= 0.6.3 && < 0.7,- bytestring >= 0.9 && < 0.11,- text >= 0.10 && < 1.3+ base >= 4 && < 5,+ blaze-builder >= 0.4 && < 0.5,+ blaze-markup >= 0.7 && < 0.8,+ bytestring >= 0.9 && < 0.11,+ text >= 0.10 && < 1.3 Test-suite blaze-html-tests Type: exitcode-stdio-1.0@@ -76,11 +76,11 @@ test-framework-hunit >= 0.3 && < 0.4, test-framework-quickcheck2 >= 0.3 && < 0.4, -- Copied from regular dependencies...- base >= 4 && < 5,- blaze-builder >= 0.2 && < 0.4,- blaze-markup >= 0.6.3 && < 0.7,- bytestring >= 0.9 && < 0.11,- text >= 0.10 && < 1.3+ base >= 4 && < 5,+ blaze-builder >= 0.4 && < 0.5,+ blaze-markup >= 0.7 && < 0.8,+ bytestring >= 0.9 && < 0.11,+ text >= 0.10 && < 1.3 Source-repository head Type: git
src/Text/Blaze/Html5/Attributes.hs view
@@ -53,6 +53,8 @@ , ismap , item , itemprop+ , itemscope+ , itemtype , keytype , label , lang@@ -1026,6 +1028,42 @@ -> Attribute -- ^ Resulting attribute. itemprop = attribute "itemprop" " itemprop=\"" {-# INLINE itemprop #-}++-- WARNING: The next block of code was automatically generated by+-- src/Util/GenerateHtmlCombinators.hs:249+--+-- | Combinator for the @itemscope@ attribute.+--+-- Example:+--+-- > div ! itemscope "bar" $ "Hello."+--+-- Result:+--+-- > <div itemscope="bar">Hello.</div>+--+itemscope :: AttributeValue -- ^ Attribute value.+ -> Attribute -- ^ Resulting attribute.+itemscope = attribute "itemscope" " itemscope=\""+{-# INLINE itemscope #-}++-- WARNING: The next block of code was automatically generated by+-- src/Util/GenerateHtmlCombinators.hs:249+--+-- | Combinator for the @itemtype@ attribute.+--+-- Example:+--+-- > div ! itemtype "bar" $ "Hello."+--+-- Result:+--+-- > <div itemtype="bar">Hello.</div>+--+itemtype :: AttributeValue -- ^ Attribute value.+ -> Attribute -- ^ Resulting attribute.+itemtype = attribute "itemtype" " itemtype=\""+{-# INLINE itemtype #-} -- WARNING: The next block of code was automatically generated by -- src/Util/GenerateHtmlCombinators.hs:249
src/Text/Blaze/XHtml5/Attributes.hs view
@@ -53,6 +53,8 @@ , ismap , item , itemprop+ , itemscope+ , itemtype , keytype , label , lang@@ -1026,6 +1028,42 @@ -> Attribute -- ^ Resulting attribute. itemprop = attribute "itemprop" " itemprop=\"" {-# INLINE itemprop #-}++-- WARNING: The next block of code was automatically generated by+-- src/Util/GenerateHtmlCombinators.hs:249+--+-- | Combinator for the @itemscope@ attribute.+--+-- Example:+--+-- > div ! itemscope "bar" $ "Hello."+--+-- Result:+--+-- > <div itemscope="bar">Hello.</div>+--+itemscope :: AttributeValue -- ^ Attribute value.+ -> Attribute -- ^ Resulting attribute.+itemscope = attribute "itemscope" " itemscope=\""+{-# INLINE itemscope #-}++-- WARNING: The next block of code was automatically generated by+-- src/Util/GenerateHtmlCombinators.hs:249+--+-- | Combinator for the @itemtype@ attribute.+--+-- Example:+--+-- > div ! itemtype "bar" $ "Hello."+--+-- Result:+--+-- > <div itemtype="bar">Hello.</div>+--+itemtype :: AttributeValue -- ^ Attribute value.+ -> Attribute -- ^ Resulting attribute.+itemtype = attribute "itemtype" " itemtype=\""+{-# INLINE itemtype #-} -- WARNING: The next block of code was automatically generated by -- src/Util/GenerateHtmlCombinators.hs:249