config-value 0.8.2 → 0.8.2.1
raw patch · 3 files changed
+7/−3 lines, 3 filesdep ~basedep ~textPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base, text
API changes (from Hackage documentation)
Files
- CHANGELOG.md +4/−0
- config-value.cabal +2/−2
- src/Config/Pretty.hs +1/−1
CHANGELOG.md view
@@ -1,3 +1,7 @@+0.8.2.1+---+* Fix pretty-printing bug with long string literals+ 0.8.2 --- * Add `+` and `-` to the set of layout-based list syntax bullets.
config-value.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.2 name: config-value-version: 0.8.2+version: 0.8.2.1 synopsis: Simple, layout-based value language similar to YAML or JSON license: MIT license-file: LICENSE@@ -44,7 +44,7 @@ array >= 0.4 && < 0.6, containers >= 0.5 && < 0.7, pretty >= 1.1.1.0 && < 1.2,- text >= 1.2.0.4 && < 1.3+ text >= 1.2.0.4 && < 2.1, build-tool-depends: alex:alex ^>= 3.2.4,
src/Config/Pretty.hs view
@@ -56,7 +56,7 @@ | otherwise = "" prettyText :: String -> Doc-prettyText = doubleQuotes . cat . snd . mapAccumL ppChar True+prettyText = doubleQuotes . hcat . snd . mapAccumL ppChar True where ppChar s x | isDigit x = (True, if not s then text "\\&" <> char x else char x)