packages feed

yaml 0.8.17.2 → 0.8.18

raw patch · 3 files changed

+8/−2 lines, 3 files

Files

ChangeLog.md view
@@ -1,3 +1,8 @@+## 0.8.18++* Switched yaml decode function for config file readers in `Data.Yaml.Config` to+  the one from `Data.Yaml.Include` that supports `!include` syntax.+ ## 0.8.17.2  * Fix pretty-printing order of UnexpectedEvent's fields (fixes [#84](https://github.com/snoyberg/yaml/issues/84)) [#85](https://github.com/snoyberg/yaml/pull/85)
Data/Yaml/Config.hs view
@@ -41,6 +41,7 @@ import Control.Exception (throwIO) import Data.Text.Encoding (encodeUtf8) import qualified Data.Yaml as Y+import qualified Data.Yaml.Include as YI import Data.Maybe (fromMaybe) import qualified Data.Text as T @@ -174,7 +175,7 @@     -> IO settings loadYamlSettings runTimeFiles compileValues envUsage = do     runValues <- forM runTimeFiles $ \fp -> do-        eres <- Y.decodeFileEither fp+        eres <- YI.decodeFileEither fp         case eres of             Left e -> do                 putStrLn $ "loadYamlSettings: Could not parse file as YAML: " ++ fp
yaml.cabal view
@@ -1,5 +1,5 @@ name:            yaml-version:         0.8.17.2+version:         0.8.18 license:         BSD3 license-file:    LICENSE author:          Michael Snoyman <michael@snoyman.com>, Anton Ageev <antage@gmail.com>,Kirill Simonov