Bump version to 0.6.3
commit5cdc96e9086d4675ada6f2c7b76a7f98ee5d351a
authorOleg Grenrus <oleg.grenrus@iki.fi>
dateSun 15 Nov 2020, 18:52 (6 years ago)
parent55ea269
CHANGES.md+4
@@ -1,3 +1,7 @@
1+### Version 0.6.3 (2020-11-15)
2+
3+ * Add 'fromFieldJSONByteString`
4+
15### Version 0.6.2 (2019-04-26)
26
37 * Define `MonadFail Ok`.
postgresql-simple.cabal+1−2
@@ -1,7 +1,6 @@
11cabal-version: 1.12
22name: postgresql-simple
3−version: 0.6.2
4−x-revision: 4
3+version: 0.6.3
54synopsis: Mid-Level PostgreSQL client library
65description:
76 Mid-Level PostgreSQL client library, forked from mysql-simple.
src/Database/PostgreSQL/Simple/FromField.hs+2
@@ -561,6 +561,8 @@ instance FromField JSON.Value where
561561 Right val -> pure val
562562
563563-- | Return the JSON ByteString directly
564+--
565+-- @since 0.6.3
564566fromFieldJSONByteString :: Field -> Maybe ByteString -> Conversion ByteString
565567fromFieldJSONByteString f mbs =
566568 if typeOid f /= TI.jsonOid && typeOid f /= TI.jsonbOid