stache 1.1.0 → 1.1.1
raw patch · 5 files changed
+13/−5 lines, 5 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Text.Mustache: MustacheDirectlyRenderedValue :: Key -> MustacheWarning
+ Text.Mustache: MustacheVariableNotFound :: Key -> MustacheWarning
+ Text.Mustache: data MustacheWarning
+ Text.Mustache: displayMustacheWarning :: MustacheWarning -> String
+ Text.Mustache: renderMustacheW :: Template -> Value -> ([MustacheWarning], Text)
Files
- CHANGELOG.md +5/−0
- Text/Mustache.hs +4/−1
- Text/Mustache/Render.hs +1/−1
- Text/Mustache/Type.hs +2/−2
- stache.cabal +1/−1
CHANGELOG.md view
@@ -1,3 +1,8 @@+## Stache 1.1.1++* Exported `mustacheRenderW`, `MustacheWarning`, and+ `displayMustacheWarning` from `Text.Mustache`.+ ## Stache 1.1.0 * Added `mustacheRenderW` that allows to render a `Template` collecting
Text/Mustache.hs view
@@ -78,12 +78,15 @@ , Key (..) , PName (..) , MustacheException (..)+ , MustacheWarning (..)+ , displayMustacheWarning -- * Compiling , compileMustacheDir , compileMustacheFile , compileMustacheText -- * Rendering- , renderMustache )+ , renderMustache+ , renderMustacheW ) where import Text.Mustache.Compile
Text/Mustache/Render.hs view
@@ -75,7 +75,7 @@ -- | Like 'renderMustache', but also returns a collection of warnings. ----- @since 1.1.0+-- @since 1.1.1 renderMustacheW :: Template -> Value -> ([MustacheWarning], TL.Text) renderMustacheW t =
Text/Mustache/Type.hs view
@@ -128,7 +128,7 @@ -- | Warning that may be generated during rendering of a 'Template'. ----- @since 1.1.0+-- @since 1.1.1 data MustacheWarning = MustacheVariableNotFound Key@@ -141,7 +141,7 @@ -- | Pretty-print a 'MustacheWarning'. ----- @since 1.1.0+-- @since 1.1.1 displayMustacheWarning :: MustacheWarning -> String displayMustacheWarning (MustacheVariableNotFound key) =
stache.cabal view
@@ -1,5 +1,5 @@ name: stache-version: 1.1.0+version: 1.1.1 cabal-version: >= 1.18 tested-with: GHC==7.8.4, GHC==7.10.3, GHC==8.0.2, GHC==8.2.1 license: BSD3