packages feed

journalctl-stream 0.6.0.1 → 0.6.0.2

raw patch · 3 files changed

+5/−1 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

changelog.md view
@@ -1,3 +1,6 @@+## 0.6.0.2+* Accept null values for `entryMessage`, returning `Nothing`.+ ## 0.6.0.1 * Fix build with aeson < 2. 
journalctl-stream.cabal view
@@ -2,7 +2,7 @@ category: System synopsis: Stream logs using journalctl. description: Stream logs using journalctl. Check the documentation for more details.-version: 0.6.0.1+version: 0.6.0.2 author: Daniel Casanueva (daniel.casanueva `at` proton.me) maintainer: Daniel Casanueva (daniel.casanueva `at` proton.me) license: MIT
lib/Systemd/Journalctl/Stream.hs view
@@ -128,6 +128,7 @@ #endif     Just (JSON.String t) -> pure $ Just $ Right t     Just (JSON.Array arr) -> Just . Left . ByteString.pack <$> mapM parseJSON (toList arr)+    Just JSON.Null -> pure Nothing     Nothing -> pure Nothing     _ -> fail $ "Couldn't parse MESSAGE. Expected String or Array."