packages feed

clckwrks-plugin-page 0.4.3.22 → 0.4.3.23

raw patch · 2 files changed

+10/−10 lines, 2 filesdep ~aesondep ~randomdep ~web-pluginsPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: aeson, random, web-plugins

API changes (from Hackage documentation)

- Clckwrks.Page.Types: instance Data.Aeson.Types.FromJSON.FromJSON Clckwrks.Page.Types.PageId
- Clckwrks.Page.Types: instance Data.Aeson.Types.ToJSON.ToJSON Clckwrks.Page.Types.PageId
+ Clckwrks.Page.Types: instance Data.Aeson.Types.Class.FromJSON Clckwrks.Page.Types.PageId
+ Clckwrks.Page.Types: instance Data.Aeson.Types.Class.ToJSON Clckwrks.Page.Types.PageId

Files

Clckwrks/Page/Plugin.hs view
@@ -26,7 +26,7 @@ import Happstack.Server             (ServerPartT, Response, notFound, toResponse) import System.Directory             (createDirectoryIfMissing) import System.FilePath              ((</>))-import Web.Routes                   (toPathInfo, parseSegments, withRouteT, fromPathSegments)+import Web.Routes                   (toPathSegments, parseSegments, withRouteT, fromPathSegments) import Web.Plugins.Core             (Plugin(..), Plugins(..), When(..), addCleanup, addHandler, addPostHook, initPlugin, getConfig, getPluginRouteFn)  pageHandler :: (PageURL -> [(Text, Maybe Text)] -> Text)@@ -96,11 +96,11 @@  pagePlugin :: Plugin PageURL Theme (ClckT ClckURL (ServerPartT IO) Response) (ClckT ClckURL IO ()) ClckwrksConfig ClckPluginsSt pagePlugin = Plugin-    { pluginName       = "page"-    , pluginInit       = pageInit-    , pluginDepends    = ["clck"]-    , pluginToPathInfo = toPathInfo-    , pluginPostHook   = addPageAdminMenu+    { pluginName           = "page"+    , pluginInit           = pageInit+    , pluginDepends        = ["clck"]+    , pluginToPathSegments = toPathSegments+    , pluginPostHook       = addPageAdminMenu     }  plugin :: ClckPlugins -- ^ plugins
clckwrks-plugin-page.cabal view
@@ -1,5 +1,5 @@ name:                clckwrks-plugin-page-version:             0.4.3.22+version:             0.4.3.23 synopsis:            support for CMS/Blogging in clckwrks description:         This provides two similar concepts Pages and Posts. Both allow                      you to create page content by editting pages in the browser. A Post@@ -42,7 +42,7 @@                        Clckwrks.Page.Verbatim   build-depends:       base                   >= 4.3 && < 4.15,                        acid-state             >= 0.12 && < 0.17,-                       aeson                  (>= 0.4  && < 0.10) || (>= 0.11 && < 1.5),+                       aeson                  (>= 0.4  && < 0.10) || (>= 0.11 && < 1.6),                        attoparsec             >= 0.10 && < 0.14,                        clckwrks               >= 0.25 && < 0.27,                        containers             >= 0.4  && < 0.7,@@ -55,7 +55,7 @@                        ixset                  >= 1.0  && < 1.2,                        mtl                    >= 2.0  && < 2.3,                        old-locale             == 1.0.*,-                       random                 >= 1.0  && < 1.2,+                       random                 >= 1.0  && < 1.3,                        reform                 >= 0.2 && < 0.4,                        reform-happstack       == 0.2.*,                        reform-hsp             == 0.2.*,@@ -67,7 +67,7 @@                        template-haskell       >= 2.7  && <= 2.17,                        uuid                   >= 1.2  && <= 1.4,                        uuid-orphans           >= 1.2  && < 1.5,-                       web-plugins            == 0.2.*,+                       web-plugins            >= 0.4  && < 0.5,                        web-routes             == 0.27.*,                        web-routes-happstack   == 0.23.*,                        web-routes-th          == 0.22.*