opaleye 0.9.4.1 → 0.9.5.0
raw patch · 3 files changed
+9/−2 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +4/−0
- opaleye.cabal +1/−1
- src/Opaleye/Aggregate.hs +4/−1
CHANGELOG.md view
@@ -1,3 +1,7 @@+## 0.9.5.0++* Add `arrayAgg_` for aggregating nullable fields+ ## 0.9.4.1 * Actually expose `ascNullsLast` and `descNullsFirst`.
opaleye.cabal view
@@ -1,6 +1,6 @@ name: opaleye copyright: Copyright (c) 2014-2018 Purely Agile Limited; 2019-2022 Tom Ellis-version: 0.9.4.1+version: 0.9.5.0 synopsis: An SQL-generating DSL targeting PostgreSQL description: An SQL-generating DSL targeting PostgreSQL. Allows Postgres queries to be written within Haskell in a
src/Opaleye/Aggregate.hs view
@@ -150,7 +150,10 @@ boolAnd = A.makeAggr HPQ.AggrBoolAnd arrayAgg :: Aggregator (F.Field a) (F.Field (T.SqlArray a))-arrayAgg = A.makeAggr HPQ.AggrArr+arrayAgg = P.dimap F.unsafeCoerceField F.unsafeCoerceField arrayAgg_++arrayAgg_ :: Aggregator (F.Field_ n a) (F.Field (T.SqlArray_ n a))+arrayAgg_ = A.makeAggr HPQ.AggrArr {-| FIXME: no longer supports nulls