pandoc-types 1.16.0.1 → 1.16.1
raw patch · 3 files changed
+23/−2 lines, 3 filesdep ~aesonPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: aeson
API changes (from Hackage documentation)
+ Text.Pandoc.Definition: pandocTypesVersion :: Version
Files
- Text/Pandoc/Definition.hs +6/−0
- changelog +14/−0
- pandoc-types.cabal +3/−2
Text/Pandoc/Definition.hs view
@@ -54,6 +54,7 @@ , MathType(..) , Citation(..) , CitationMode(..)+ , pandocTypesVersion ) where import Data.Generics (Data, Typeable)@@ -71,6 +72,8 @@ #else import Control.DeepSeq.Generics #endif+import Paths_pandoc_types (version)+import Data.Version (Version) data Pandoc = Pandoc Meta [Block] deriving (Eq, Ord, Read, Show, Typeable, Data, Generic)@@ -376,3 +379,6 @@ instance NFData Block where rnf = genericRnf instance NFData Pandoc where rnf = genericRnf #endif++pandocTypesVersion :: Version+pandocTypesVersion = version
changelog view
@@ -1,3 +1,17 @@+[1.16.1]++ * Allow aeson 0.11.*.+ * Export pandocTypesVersion from Text.Pandoc.Definition.++[1.16.0.1]++ * Use deepseq instead of deepseq-generics. deepseq now allows deriving+ generic NFData instances, so we don't need deepseq-generics.+ * Removed unneeded instance, use OVERLAPPING pragma for ghc 7.10.+ * Added CPP so that deepseq-generics is used for ghc < 7.10.+ * Added tested-with, generate .travis.yml using make_travis_yml.hs+ * Added stack.yaml+ [1.16] * Added Attr field to Image and Link.
pandoc-types.cabal view
@@ -1,5 +1,5 @@ Name: pandoc-types-Version: 1.16.0.1+Version: 1.16.1 Synopsis: Types for representing a structured document Description: @Text.Pandoc.Definition@ defines the 'Pandoc' data structure, which is used by pandoc to represent@@ -44,12 +44,13 @@ Text.Pandoc.Walk Text.Pandoc.Builder Text.Pandoc.JSON+ Other-modules: Paths_pandoc_types Build-depends: base >= 4 && < 5, containers >= 0.3, syb >= 0.1 && < 0.7, ghc-prim >= 0.2, bytestring >= 0.9 && < 0.11,- aeson >= 0.6.2 && < 0.11+ aeson >= 0.6.2 && < 0.12 if impl(ghc < 7.10) Build-depends: deepseq-generics >= 0.1 && < 0.2 else