persistent-documentation 0.1.0.4 → 0.1.0.5
raw patch · 5 files changed
+14/−5 lines, 5 files
Files
- CHANGELOG.md +7/−0
- persistent-documentation.cabal +3/−3
- src/Database/Persist/Documentation.hs +2/−1
- src/Database/Persist/Documentation/Internal.hs +1/−1
- test/DocumentationSpec.hs +1/−0
CHANGELOG.md view
@@ -1,5 +1,12 @@ # Revision history for persistent-documentation +## 0.1.0.5++* [#12](https://github.com/parsonsmatt/persistent-documentation/pull/12)+ * Make it build with GHC 9.6+* [#10](https://github.com/parsonsmatt/persistent-documentation/pull/10)+ * Fix build with mtl-2.3+ ## 0.1.0.4 * Replace newlines with line breaks in field comments as rendered by `markdownTableRenderer` [#9](https://github.com/lumihq/persistent-documentation/pull/9)
persistent-documentation.cabal view
@@ -1,7 +1,7 @@ cabal-version: >=1.10 name: persistent-documentation-version: 0.1.0.4+version: 0.1.0.5 synopsis: Documentation DSL for persistent entities description: A convenient DSL that allows you to attach documentation to persistent database entities -- bug-reports:@@ -9,14 +9,14 @@ license-file: LICENSE author: parsonsmatt maintainer: parsonsmatt@gmail.com-copyright: 2019 Lumi+copyright: 2019 Lumi, 2024 Matt Parsons category: Database build-type: Simple extra-source-files: CHANGELOG.md, README.md source-repository head type: git- location: https://github.com/lumihq/persistent-documentation+ location: https://github.com/parsonsmatt/persistent-documentation library exposed-modules:
src/Database/Persist/Documentation.hs view
@@ -21,7 +21,7 @@ {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE TypeApplications #-} {-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeInType #-}+{-# LANGUAGE DataKinds #-} {-# LANGUAGE TypeOperators #-} {-# LANGUAGE UndecidableInstances #-} @@ -151,6 +151,7 @@ , markdownTableRenderer ) where +import Control.Monad (forM, join) import Control.Monad.Writer import qualified Data.Char as Char import Data.Foldable (fold, toList)
src/Database/Persist/Documentation/Internal.hs view
@@ -20,7 +20,7 @@ {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE TypeApplications #-} {-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeInType #-}+{-# LANGUAGE DataKinds #-} {-# LANGUAGE TypeOperators #-} {-# LANGUAGE UndecidableInstances #-}
test/DocumentationSpec.hs view
@@ -9,6 +9,7 @@ {-# LANGUAGE UndecidableInstances #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE TemplateHaskell #-}+{-# LANGUAGE TypeOperators #-} {-# LANGUAGE GeneralizedNewtypeDeriving #-} {-# LANGUAGE QuasiQuotes #-}