mpd-current-json 3.0.0.0 → 3.1.0.0
raw patch · 3 files changed
+8/−7 lines, 3 filesdep ~aeson-prettydep ~bytestringPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: aeson-pretty, bytestring
API changes (from Hackage documentation)
Files
- CHANGELOG.md +3/−0
- lib/MPD/Current/JSON/Parse.hs +1/−1
- mpd-current-json.cabal +4/−6
CHANGELOG.md view
@@ -1,3 +1,6 @@+# v3.1+- Reintroduce fix for multi-value tag arrays being in reverse order.+ # v3.0 - refactor internal types - change json output, move next filename information to under `next`,
lib/MPD/Current/JSON/Parse.hs view
@@ -52,5 +52,5 @@ tagSingleOrList :: Maybe [MPD.Value] -> Maybe TagField tagSingleOrList val = case val of Just [v] -> Just . SingleTagField $ MPD.toString v- Just v -> Just . MultiTagField $ map MPD.toString v+ Just v -> Just . MultiTagField . reverse $ map MPD.toString v Nothing -> Nothing
mpd-current-json.cabal view
@@ -7,10 +7,10 @@ -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change-version: 3.0.0.0+version: 3.1.0.0 synopsis: Print current MPD song and status as JSON -tested-with: GHC == { 9.10.1, 9.6.7, 9.4.8 }+tested-with: GHC == { 9.12.2, 9.10.1, 9.6.7, 9.6.6, 9.4.8 } -- A longer description of the package. description: Print currently playing MPD's song metadata and status as JSON homepage: https://codeberg.org/useless-utils/mpd-current-json@@ -40,9 +40,7 @@ build-depends: base >=4.16 && <5 , libmpd == 0.10.* , aeson == 2.2.*- , aeson-pretty == 0.8.* , deriving-aeson ^>=0.2.10- , bytestring >=0.11 && <0.13 , text ^>=2.1.3 hs-source-dirs: lib default-language: GHC2021@@ -87,8 +85,8 @@ , libmpd , optparse-applicative == 0.18.* , aeson- , aeson-pretty- , bytestring+ , bytestring >=0.11 && <0.13+ , aeson-pretty == 0.8.* , mpd-current-json -- Directories containing source files.