packages feed

pandoc-utils 0.7.0 → 0.7.1

raw patch · 4 files changed

+16/−14 lines, 4 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,5 +1,9 @@ # Releases +## pandoc-utils 0.7.1 (2020-5-25)++- Remove the deprecation notice of `applyFilters`.+ ## pandoc-utils 0.7.0 (2020-5-24)  - Rename `seqFilters` to `sequenceFilters` to avoid conflict with `seq`.
pandoc-utils.cabal view
@@ -2,7 +2,7 @@ cabal-version:       2.0  name:                pandoc-utils-version:             0.7.0+version:             0.7.1 synopsis:   Utility functions to work with Pandoc in Haskell applications. description:
src/Text/Pandoc/Filter/Utils.hs view
@@ -30,6 +30,9 @@   sequenceFilters,   applyFilterM,   sequenceFiltersM,+  -- ** Function aliases+  applyFilters,+  applyFiltersM,   -- * Wrapped filter → filter function   getFilter,   getConcatedFilter,@@ -37,9 +40,6 @@   getConcatedFilterM,   -- * Wrapped filter conversion   toFilterM,-  -- * Deprecated-  applyFilters,-  applyFiltersM,   ) where  import Control.Monad          ((>=>))@@ -243,13 +243,12 @@ convertFilter = applyFilter . mkFilter  -------------------- deprecated+-- Aliases ----------------- --- | Apply a list of monadic wrapped filters sequentially, from left to right,--- i.e. the first element in the list will be applied first and the last--- element will be applied at the end.-{-# DEPRECATED applyFiltersM "Use 'sequenceFiltersM' instead." #-}+-- | The same as 'sequenceFiltersM', but it is not exported in+-- "Text.Pandoc.Utils" to avoid naming conflicts. It can be used by importing+-- this module. applyFiltersM   :: (Foldable t, Monad m)   => t (PartialFilterM m p) -- ^ A list of monadic wrapped filters.@@ -258,10 +257,9 @@ applyFiltersM  = sequenceFiltersM  --- | Apply a list of wrapped filters sequentially, from left to right, i.e.--- the first element in the list will be applied first and the last element--- will be applied at the end.-{-# DEPRECATED applyFilters "Use 'sequenceFilters' instead. This function will conflict with a function with the same name in Pandoc." #-}+-- | The same as 'sequenceFilters', but this function will conflict with a+-- function with the same name in Pandoc, and thus not exported in+-- "Text.Pandoc.Utils", but it can be used by importing this module. applyFilters   :: (Foldable t)   => t (PartialFilter p) -- ^ A list of wrapped filter.
src/Text/Pandoc/Utils.hs view
@@ -1,6 +1,6 @@ -- | This module exports all the utility functions provided by this package. module Text.Pandoc.Utils (-  -- * Filter utils+  -- * Filter utils (see "Text.Pandoc.Filter.Utils")   module Text.Pandoc.Filter.Utils,   -- * Attribute builders   module Text.Pandoc.Filter.Utils.AttrBuilder,