packages feed

hakyll 3.3.0.1 → 3.4.0.0

raw patch · 3 files changed

+7/−3 lines, 3 filesdep ~containersPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: containers

API changes (from Hackage documentation)

+ Hakyll.Web.Feed: feedAuthorEmail :: FeedConfiguration -> String
- Hakyll.Web.Feed: FeedConfiguration :: String -> String -> String -> String -> FeedConfiguration
+ Hakyll.Web.Feed: FeedConfiguration :: String -> String -> String -> String -> String -> FeedConfiguration

Files

data/templates/atom.xml view
@@ -6,6 +6,7 @@     <id>$root$$url$</id>     <author>         <name>$authorName$</name>+        <email>$authorEmail$</email>     </author>     <updated>$updated$</updated>     $body$
hakyll.cabal view
@@ -1,5 +1,5 @@ Name:    hakyll-Version: 3.3.0.1+Version: 3.4.0.0  Synopsis: A static website compiler library Description:@@ -69,7 +69,7 @@     blaze-markup >= 0.5.1  && < 0.6,     bytestring   >= 0.9    && < 0.10,     citeproc-hs  >= 0.3.2  && < 0.4,-    containers   >= 0.3    && < 0.5,+    containers   >= 0.3    && < 0.6,     cryptohash   >= 0.7    && < 0.8,     directory    >= 1.0    && < 1.2,     filepath     >= 1.0    && < 1.4,@@ -176,7 +176,7 @@     blaze-markup >= 0.5.1  && < 0.6,     bytestring   >= 0.9    && < 0.10,     citeproc-hs  >= 0.3.2  && < 0.4,-    containers   >= 0.3    && < 0.5,+    containers   >= 0.3    && < 0.6,     cryptohash   >= 0.7    && < 0.8,     directory    >= 1.0    && < 1.2,     filepath     >= 1.0    && < 1.4,
src/Hakyll/Web/Feed.hs view
@@ -45,6 +45,8 @@       feedDescription :: String     , -- | Name of the feed author.       feedAuthorName  :: String+    , -- | Email of the feed author.+      feedAuthorEmail :: String     , -- | Absolute root URL of the feed site (e.g. @http://jaspervdj.be@)       feedRoot        :: String     } deriving (Show, Eq)@@ -65,6 +67,7 @@              $ trySetField "title"       (feedTitle configuration)              $ trySetField "description" (feedDescription configuration)              $ trySetField "authorName"  (feedAuthorName configuration)+             $ trySetField "authorEmail" (feedAuthorEmail configuration)              $ trySetField "root"        (feedRoot configuration)              $ trySetField "url"         url              $ fromBody body