packages feed

postgresql-typed 0.6.2.4 → 0.6.2.5

raw patch · 2 files changed

+4/−4 lines, 2 filesdep ~aesonPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: aeson

API changes (from Hackage documentation)

- Database.PostgreSQL.Typed.Dynamic: instance Database.PostgreSQL.Typed.Dynamic.PGRep Data.Aeson.Types.Internal.Value
- Database.PostgreSQL.Typed.Types: instance Database.PostgreSQL.Typed.Types.PGColumn "json" Data.Aeson.Types.Internal.Value
- Database.PostgreSQL.Typed.Types: instance Database.PostgreSQL.Typed.Types.PGColumn "jsonb" Data.Aeson.Types.Internal.Value
- Database.PostgreSQL.Typed.Types: instance Database.PostgreSQL.Typed.Types.PGParameter "json" Data.Aeson.Types.Internal.Value
- Database.PostgreSQL.Typed.Types: instance Database.PostgreSQL.Typed.Types.PGParameter "jsonb" Data.Aeson.Types.Internal.Value
- Database.PostgreSQL.Typed.Types: instance Database.PostgreSQL.Typed.Types.PGType "json"
- Database.PostgreSQL.Typed.Types: instance Database.PostgreSQL.Typed.Types.PGType "jsonb"

Files

Database/PostgreSQL/Typed/Types.hs view
@@ -800,7 +800,7 @@   pgEncode _ = BSL.toStrict . JSON.encode   BIN_ENC(BinE.json_ast) instance PGColumn "json" JSON.Value where-  pgDecode _ j = either (error . ("pgDecode json (" ++) . (++ ("): " ++ BSC.unpack j))) id $ P.parseOnly JSON.json j+  pgDecode _ j = either (error . ("pgDecode json (" ++) . (++ ("): " ++ BSC.unpack j))) id $ JSON.eitherDecodeStrict j   BIN_DEC(BinD.json_ast)  instance PGType "jsonb" where@@ -810,7 +810,7 @@   pgEncode _ = BSL.toStrict . JSON.encode   BIN_ENC(BinE.jsonb_ast) instance PGColumn "jsonb" JSON.Value where-  pgDecode _ j = either (error . ("pgDecode jsonb (" ++) . (++ ("): " ++ BSC.unpack j))) id $ P.parseOnly JSON.json j+  pgDecode _ j = either (error . ("pgDecode jsonb (" ++) . (++ ("): " ++ BSC.unpack j))) id $ JSON.eitherDecodeStrict j   BIN_DEC(BinD.jsonb_ast) #endif 
postgresql-typed.cabal view
@@ -1,5 +1,5 @@ Name:          postgresql-typed-Version:       0.6.2.4+Version:       0.6.2.5 Cabal-Version: >= 1.10 License:       BSD3 License-File:  COPYING@@ -112,7 +112,7 @@     if flag(scientific)       Build-Depends: scientific >= 0.3   if flag(aeson)-    Build-Depends: aeson >= 0.7 && < 2.2+    Build-Depends: aeson >= 0.7 && < 2.3   if flag(HDBC)     Build-Depends: HDBC >= 2.2     Exposed-Modules: