packages feed

pandoc-lua-marshal 0.3.0 → 0.3.1

raw patch · 25 files changed

+42/−29 lines, 25 filesdep ~QuickCheckdep ~hsluaPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: QuickCheck, hslua

API changes (from Hackage documentation)

- Text.Pandoc.Lua.Marshal.Block: typeBlock :: forall e. LuaError e => DocumentedType e Block
+ Text.Pandoc.Lua.Marshal.Block: typeBlock :: LuaError e => DocumentedType e Block
- Text.Pandoc.Lua.Marshal.Filter: baseFunctionName :: forall a. Data a => Proxy a -> Name
+ Text.Pandoc.Lua.Marshal.Filter: baseFunctionName :: Data a => Proxy a -> Name
- Text.Pandoc.Lua.Marshal.Filter: getFunctionFor :: forall a. Data a => Filter -> a -> Maybe FilterFunction
+ Text.Pandoc.Lua.Marshal.Filter: getFunctionFor :: Data a => Filter -> a -> Maybe FilterFunction
- Text.Pandoc.Lua.Marshal.Filter: listFunctionName :: forall a. Data a => Proxy a -> Name
+ Text.Pandoc.Lua.Marshal.Filter: listFunctionName :: Data a => Proxy a -> Name
- Text.Pandoc.Lua.Marshal.Filter: valueFunctionNames :: forall a. Data a => Proxy a -> [Name]
+ Text.Pandoc.Lua.Marshal.Filter: valueFunctionNames :: Data a => Proxy a -> [Name]
- Text.Pandoc.Lua.Marshal.Inline: typeInline :: forall e. LuaError e => DocumentedType e Inline
+ Text.Pandoc.Lua.Marshal.Inline: typeInline :: LuaError e => DocumentedType e Inline
- Text.Pandoc.Lua.Marshal.MetaValue: peekMetaValue :: forall e. LuaError e => Peeker e MetaValue
+ Text.Pandoc.Lua.Marshal.MetaValue: peekMetaValue :: LuaError e => Peeker e MetaValue
- Text.Pandoc.Lua.Marshal.SimpleTable: peekSimpleTable :: forall e. LuaError e => Peeker e SimpleTable
+ Text.Pandoc.Lua.Marshal.SimpleTable: peekSimpleTable :: LuaError e => Peeker e SimpleTable
- Text.Pandoc.Lua.Marshal.SimpleTable: pushSimpleTable :: forall e. LuaError e => SimpleTable -> LuaE e ()
+ Text.Pandoc.Lua.Marshal.SimpleTable: pushSimpleTable :: LuaError e => SimpleTable -> LuaE e ()

Files

CHANGELOG.md view
@@ -2,6 +2,16 @@  `pandoc-lua-marshal` uses [PVP Versioning][]. +## 0.3.1++Released 2025-06-23.++  * Fix docs of the `Cite` constructor function++  * Relax upper bounds for hslua and QuickCheck.++  * Dropped support for GHC 8.6.+ ## 0.3.0  Released 2024-12-07.
LICENSE view
@@ -1,6 +1,6 @@ MIT License -Copyright (c) 2021-2024 Albert Krewinkel+Copyright (c) 2021-2025 Albert Krewinkel  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal
pandoc-lua-marshal.cabal view
@@ -1,6 +1,6 @@ cabal-version:       2.4 name:                pandoc-lua-marshal-version:             0.3.0+version:             0.3.1 synopsis:            Use pandoc types in Lua description:         This package provides functions to marshal and unmarshal                      pandoc document types to and from Lua.@@ -19,17 +19,20 @@ license-file:        LICENSE author:              Albert Krewinkel, John MacFarlane maintainer:          Albert Krewinkel <albert@zeitkraut.de>-copyright:           © 2017-2024 Albert Krewinkel, John MacFarlane+copyright:           © 2017-2025 Albert Krewinkel, John MacFarlane category:            Foreign build-type:          Simple extra-doc-files:     README.md                    , CHANGELOG.md-tested-with:         GHC == 8.6.5-                   , GHC == 8.8.4+tested-with:         GHC == 8.8.4                    , GHC == 8.10.7                    , GHC == 9.0.2                    , GHC == 9.2.5                    , GHC == 9.4.4+                   , GHC == 9.6+                   , GHC == 9.8+                   , GHC == 9.10+                   , GHC == 9.12 extra-source-files:  test/test-attr.lua                    , test/test-block.lua                    , test/test-cell.lua@@ -50,7 +53,7 @@                      , bytestring            >= 0.10     && < 0.13                      , containers            >= 0.6      && < 0.8                      , exceptions            >= 0.8      && < 0.11-                     , hslua                 >= 2.2      && < 2.4+                     , hslua                 >= 2.2      && < 2.5                      , hslua-list            >= 1.1.4    && < 1.2                      , hslua-marshalling     >= 2.2      && < 2.4                      , pandoc-types          >= 1.23     && < 1.24@@ -110,7 +113,7 @@   hs-source-dirs:      test   main-is:             test-pandoc-lua-marshal.hs   build-depends:       pandoc-lua-marshal-                     , QuickCheck           >= 2.4     && < 2.16+                     , QuickCheck           >= 2.4     && < 2.17                      , tasty                >= 0.11                      , tasty-hunit          >= 0.9                      , tasty-lua            >= 1.0
src/Text/Pandoc/Lua/Marshal/AST.hs view
@@ -1,5 +1,5 @@ {- |-Copyright  : © 2021-2024 Albert Krewinkel+Copyright  : © 2021-2025 Albert Krewinkel License    : MIT Maintainer : Albert Krewinkel <albert@zeitkraut.de> 
src/Text/Pandoc/Lua/Marshal/Alignment.hs view
@@ -1,5 +1,5 @@ {- |-Copyright               : © 2021-2024 Albert Krewinkel+Copyright               : © 2021-2025 Albert Krewinkel SPDX-License-Identifier : MIT Maintainer              : Albert Krewinkel <tarleb+pandoc@moltkeplatz.de> 
src/Text/Pandoc/Lua/Marshal/Caption.hs view
@@ -1,6 +1,6 @@ {-# LANGUAGE OverloadedStrings    #-} {- |-Copyright               : © 2021-2024 Albert Krewinkel+Copyright               : © 2021-2025 Albert Krewinkel SPDX-License-Identifier : MIT Maintainer              : Albert Krewinkel <tarleb+pandoc@moltkeplatz.de> 
src/Text/Pandoc/Lua/Marshal/Cell.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE OverloadedStrings    #-} {-# LANGUAGE LambdaCase           #-} {- |-Copyright               : © 2021-2024 Albert Krewinkel+Copyright               : © 2021-2025 Albert Krewinkel SPDX-License-Identifier : MIT Maintainer              : Albert Krewinkel <tarleb+pandoc@moltkeplatz.de> 
src/Text/Pandoc/Lua/Marshal/Citation.hs view
@@ -1,6 +1,6 @@ {-# LANGUAGE OverloadedStrings    #-} {- |-Copyright               : © 2021-2024 Albert Krewinkel+Copyright               : © 2021-2025 Albert Krewinkel SPDX-License-Identifier : MIT Maintainer              : Albert Krewinkel <tarleb+pandoc@moltkeplatz.de> 
src/Text/Pandoc/Lua/Marshal/CitationMode.hs view
@@ -1,5 +1,5 @@ {- |-Copyright               : © 2021-2024 Albert Krewinkel+Copyright               : © 2021-2025 Albert Krewinkel SPDX-License-Identifier : MIT Maintainer              : Albert Krewinkel <tarleb+pandoc@moltkeplatz.de> 
src/Text/Pandoc/Lua/Marshal/Content.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE LambdaCase        #-} {-# LANGUAGE OverloadedStrings #-} {- |-Copyright               : © 2021-2024 Albert Krewinkel+Copyright               : © 2021-2025 Albert Krewinkel SPDX-License-Identifier : MIT Maintainer              : Albert Krewinkel <tarleb+pandoc@moltkeplatz.de> 
src/Text/Pandoc/Lua/Marshal/Filter.hs view
@@ -3,7 +3,7 @@ {-# LANGUAGE TypeApplications     #-} {-# LANGUAGE ScopedTypeVariables  #-} {- |-Copyright  : © 2021-2024 Albert Krewinkel+Copyright  : © 2021-2025 Albert Krewinkel License    : MIT Maintainer : Albert Krewinkel <tarleb+pandoc@moltkeplatz.de> 
src/Text/Pandoc/Lua/Marshal/Format.hs view
@@ -1,5 +1,5 @@ {- |-Copyright               : © 2021-2024 Albert Krewinkel+Copyright               : © 2021-2025 Albert Krewinkel SPDX-License-Identifier : MIT Maintainer              : Albert Krewinkel <tarleb+pandoc@moltkeplatz.de> 
src/Text/Pandoc/Lua/Marshal/Inline.hs view
@@ -337,7 +337,7 @@ inlineConstructors =   [ defun "Cite"     ### liftPure2 (flip Cite)-    <#> parameter peekInlinesFuzzy "content" "Inlines" "placeholder content"+    <#> parameter peekInlinesFuzzy "Inlines" "content" "placeholder content"     <#> parameter (peekList peekCitation) "{Citation,...}" "citations"         "List of Citations"     =#> functionResult pushInline "Inline" "cite element"
src/Text/Pandoc/Lua/Marshal/List.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE LambdaCase        #-} {-# LANGUAGE OverloadedStrings #-} {- |-Copyright  : © 2021-2024 Albert Krewinkel+Copyright  : © 2021-2025 Albert Krewinkel License    : MIT Maintainer : Albert Krewinkel <tarleb+pandoc@moltkeplatz.de> 
src/Text/Pandoc/Lua/Marshal/ListAttributes.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE OverloadedStrings    #-} {-# LANGUAGE TupleSections        #-} {- |-Copyright               : © 2021-2024 Albert Krewinkel+Copyright               : © 2021-2025 Albert Krewinkel SPDX-License-Identifier : MIT Maintainer              : Albert Krewinkel <tarleb+pandoc@moltkeplatz.de> 
src/Text/Pandoc/Lua/Marshal/MathType.hs view
@@ -1,5 +1,5 @@ {- |-Copyright               : © 2021-2024 Albert Krewinkel+Copyright               : © 2021-2025 Albert Krewinkel SPDX-License-Identifier : MIT Maintainer              : Albert Krewinkel <tarleb+pandoc@moltkeplatz.de> 
src/Text/Pandoc/Lua/Marshal/MetaValue.hs view
@@ -3,7 +3,7 @@ {-# LANGUAGE ScopedTypeVariables  #-} {-# LANGUAGE TypeApplications     #-} {- |-Copyright               : © 2021-2024 Albert Krewinkel+Copyright               : © 2021-2025 Albert Krewinkel SPDX-License-Identifier : MIT Maintainer              : Albert Krewinkel <tarleb+pandoc@moltkeplatz.de> 
src/Text/Pandoc/Lua/Marshal/Pandoc.hs view
@@ -3,7 +3,7 @@ {-# LANGUAGE OverloadedStrings    #-} {-# LANGUAGE TypeApplications     #-} {- |-Copyright               : © 2021-2024 Albert Krewinkel+Copyright               : © 2021-2025 Albert Krewinkel SPDX-License-Identifier : MIT Maintainer              : Albert Krewinkel <tarleb+pandoc@moltkeplatz.de> 
src/Text/Pandoc/Lua/Marshal/QuoteType.hs view
@@ -1,5 +1,5 @@ {- |-Copyright               : © 2021-2024 Albert Krewinkel+Copyright               : © 2021-2025 Albert Krewinkel SPDX-License-Identifier : MIT Maintainer              : Albert Krewinkel <tarleb+pandoc@moltkeplatz.de> 
src/Text/Pandoc/Lua/Marshal/Row.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE OverloadedStrings    #-} {-# LANGUAGE LambdaCase           #-} {- |-Copyright               : © 2021-2024 Albert Krewinkel+Copyright               : © 2021-2025 Albert Krewinkel SPDX-License-Identifier : MIT Maintainer              : Albert Krewinkel <tarleb+pandoc@moltkeplatz.de> 
src/Text/Pandoc/Lua/Marshal/Shared.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE FlexibleContexts     #-} {-# LANGUAGE OverloadedStrings    #-} {- |-Copyright   : © 2021-2024 Albert Krewinkel+Copyright   : © 2021-2025 Albert Krewinkel License     : MIT Maintainer  : Albert Krewinkel <tarleb+pandoc@moltkeplatz.de> 
src/Text/Pandoc/Lua/Marshal/SimpleTable.hs view
@@ -2,7 +2,7 @@ {-# LANGUAGE OverloadedStrings    #-} {-# LANGUAGE ScopedTypeVariables  #-} {- |-Copyright   : © 2021-2024 Albert Krewinkel+Copyright   : © 2021-2025 Albert Krewinkel License     : MIT Maintainer  : Albert Krewinkel <albert@zeitkraut.de> 
src/Text/Pandoc/Lua/Marshal/TableFoot.hs view
@@ -1,6 +1,6 @@ {-# LANGUAGE OverloadedStrings    #-} {- |-Copyright               : © 2021-2024 Albert Krewinkel+Copyright               : © 2021-2025 Albert Krewinkel SPDX-License-Identifier : MIT Maintainer              : Albert Krewinkel <tarleb+pandoc@moltkeplatz.de> 
src/Text/Pandoc/Lua/Marshal/TableHead.hs view
@@ -1,6 +1,6 @@ {-# LANGUAGE OverloadedStrings    #-} {- |-Copyright               : © 2021-2024 Albert Krewinkel+Copyright               : © 2021-2025 Albert Krewinkel SPDX-License-Identifier : MIT Maintainer              : Albert Krewinkel <tarleb+pandoc@moltkeplatz.de> 
src/Text/Pandoc/Lua/Marshal/TableParts.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE LambdaCase           #-} {-# LANGUAGE OverloadedStrings    #-} {- |-Copyright               : © 2021-2024 Albert Krewinkel+Copyright               : © 2021-2025 Albert Krewinkel SPDX-License-Identifier : MIT Maintainer              : Albert Krewinkel <tarleb+pandoc@moltkeplatz.de>