relational-query 0.8.3.5 → 0.8.3.6
raw patch · 3 files changed
+8/−3 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- ChangeLog.md +4/−0
- relational-query.cabal +1/−1
- src/Database/Relational/Query/Pure.hs +3/−2
ChangeLog.md view
@@ -1,5 +1,9 @@ <!-- -*- Markdown -*- --> +## 0.8.3.6++- Bugfix of lazy instances of ShowConstantTermsSQL.+ ## 0.8.3.5 - Deprecate some exported interfaces which are internal definitions.
relational-query.cabal view
@@ -1,5 +1,5 @@ name: relational-query-version: 0.8.3.5+version: 0.8.3.6 synopsis: Typeful, Modular, Relational, algebraic query engine description: This package contiains typeful relation structure and relational-algebraic query building DSL which can
src/Database/Relational/Query/Pure.hs view
@@ -28,6 +28,7 @@ import qualified Data.Text as T import qualified Data.Text.Encoding as T import qualified Data.Text.Lazy as LT+import qualified Data.Text.Lazy.Encoding as LT import Text.Printf (PrintfArg, printf) import Data.Time (FormatTime, Day, TimeOfDay, LocalTime, UTCTime, ZonedTime, formatTime) import Data.Time.Locale.Compat (defaultTimeLocale)@@ -111,7 +112,7 @@ -- | Constant SQL terms of 'LB.ByteString'. instance ShowConstantTermsSQL LB.ByteString where- showConstantTermsSQL' = mconcat . map showConstantTermsSQL' . LB.toChunks+ showConstantTermsSQL' = stringTermsSQL . LT.unpack . LT.decodeUtf8 -- | Constant SQL terms of 'Text'. instance ShowConstantTermsSQL Text where@@ -119,7 +120,7 @@ -- | Constant SQL terms of 'LT.Text'. instance ShowConstantTermsSQL LT.Text where- showConstantTermsSQL' = mconcat . map showConstantTermsSQL' . LT.toChunks+ showConstantTermsSQL' = stringTermsSQL . LT.unpack -- | Constant SQL terms of 'Char'. instance ShowConstantTermsSQL Char where