yesod-core 1.6.16 → 1.6.16.1
raw patch · 3 files changed
+9/−2 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- ChangeLog.md +4/−0
- src/Yesod/Routes/TH/RenderRoute.hs +4/−1
- yesod-core.cabal +1/−1
ChangeLog.md view
@@ -1,5 +1,9 @@ # ChangeLog for yesod-core +## 1.6.16.1++* Compiles with GHC 8.8.1+ ## 1.6.16 * Add `jsAttributesHandler` to run arbitrary Handler code before building the
src/Yesod/Routes/TH/RenderRoute.hs view
@@ -141,7 +141,10 @@ mkRenderRouteInstance cxt typ ress = do cls <- mkRenderRouteClauses ress (cons, decs) <- mkRouteCons ress-#if MIN_VERSION_template_haskell(2,12,0)+#if MIN_VERSION_template_haskell(2,15,0)+ did <- DataInstD [] Nothing (AppT (ConT ''Route) typ) Nothing cons <$> fmap (pure . DerivClause Nothing) (mapM conT (clazzes False))+ let sds = fmap (\t -> StandaloneDerivD Nothing cxt $ ConT t `AppT` ( ConT ''Route `AppT` typ)) (clazzes True)+#elif MIN_VERSION_template_haskell(2,12,0) did <- DataInstD [] ''Route [typ] Nothing cons <$> fmap (pure . DerivClause Nothing) (mapM conT (clazzes False)) let sds = fmap (\t -> StandaloneDerivD Nothing cxt $ ConT t `AppT` ( ConT ''Route `AppT` typ)) (clazzes True) #else
yesod-core.cabal view
@@ -1,5 +1,5 @@ name: yesod-core-version: 1.6.16+version: 1.6.16.1 license: MIT license-file: LICENSE author: Michael Snoyman <michael@snoyman.com>