rethinkdb-client-driver 0.0.23 → 0.0.24
raw patch · 2 files changed
+9/−6 lines, 2 filesdep ~basedep ~binarydep ~template-haskellPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: base, binary, template-haskell, time
API changes (from Hackage documentation)
- Database.RethinkDB.TH: Options :: (String -> String) -> (String -> String) -> Bool -> Bool -> SumEncoding -> Bool -> Options
- Database.RethinkDB.TH: [allNullaryToStringTag] :: Options -> Bool
- Database.RethinkDB.TH: [constructorTagModifier] :: Options -> String -> String
- Database.RethinkDB.TH: [fieldLabelModifier] :: Options -> String -> String
- Database.RethinkDB.TH: [omitNothingFields] :: Options -> Bool
- Database.RethinkDB.TH: [sumEncoding] :: Options -> SumEncoding
- Database.RethinkDB.TH: [unwrapUnaryRecords] :: Options -> Bool
Files
rethinkdb-client-driver.cabal view
@@ -1,5 +1,5 @@ name: rethinkdb-client-driver-version: 0.0.23+version: 0.0.24 license: MIT license-file: LICENSE author: Tomas Carnecky@@ -33,9 +33,9 @@ default-language : Haskell2010 hs-source-dirs : src - build-depends : base < 4.10+ build-depends : base < 4.11 , aeson- , binary >= 0.6.0.0+ , binary , bytestring , containers , hashable@@ -46,7 +46,7 @@ , stm , template-haskell , text- , time >= 1.4+ , time , unordered-containers , vector @@ -67,7 +67,7 @@ main-is : Test.hs type : exitcode-stdio-1.0 - build-depends : base < 4.10+ build-depends : base < 4.11 , hspec , smallcheck , hspec-smallcheck@@ -86,7 +86,7 @@ main-is : Benchmark.hs type : exitcode-stdio-1.0 - build-depends : base < 4.10+ build-depends : base < 4.11 , criterion , rethinkdb-client-driver
src/Database/RethinkDB/TH.hs view
@@ -244,6 +244,7 @@ [|object|] `appE` listE [ infixApp (conTxt opts conName) [|(.=)|] exp ]+ UntaggedValue -> exp | otherwise = exp @@ -337,6 +338,7 @@ ObjectWithSingleField -> [|object|] `appE` listE [ infixApp (conTxt opts conName) [|(.=)|] exp ]+ UntaggedValue -> exp else exp ) [] @@ -462,6 +464,7 @@ mixedMatches = case sumEncoding opts of+ UntaggedValue -> parseObject varE TaggedObject {tagFieldName, contentsFieldName} -> parseObject $ parseTaggedObject tagFieldName contentsFieldName ObjectWithSingleField ->