opaleye 0.8.0.0 → 0.8.0.1
raw patch · 5 files changed
+17/−15 lines, 5 filesdep ~aesondep ~basedep ~bytestringPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: aeson, base, bytestring, product-profunctors
API changes (from Hackage documentation)
Files
- CHANGELOG.md +4/−0
- README.md +1/−1
- opaleye.cabal +9/−10
- src/Opaleye/Internal/RunQuery.hs +2/−3
- src/Opaleye/Manipulation.hs +1/−1
CHANGELOG.md view
@@ -1,3 +1,7 @@+## 0.8.0.1++* Support GHC 9.2+ ## 0.8.0.0 * Removed the following deprecated functions, types and modules
README.md view
@@ -12,7 +12,7 @@ > "We use it for most of our DB code. It's very flexible and almost always as performant as manually written queries" – [Adam- Bergmark](http://ircbrowse.net/browse/haskell?id=22634197×tamp=1460980502#t1460980502),+ Bergmark](https://github.com/bergmark), [Silk.co](http://www.silk.co/) > "Opaleye is absolutely fantastic. It has been solid in production
opaleye.cabal view
@@ -1,6 +1,6 @@ name: opaleye copyright: Copyright (c) 2014-2018 Purely Agile Limited; 2019-2021 Tom Ellis-version: 0.8.0.0+version: 0.8.0.1 synopsis: An SQL-generating DSL targeting PostgreSQL description: An SQL-generating DSL targeting PostgreSQL. Allows Postgres queries to be written within Haskell in a@@ -9,15 +9,14 @@ bug-reports: https://github.com/tomjaguarpaw/haskell-opaleye/issues license: BSD3 license-file: LICENSE-author: Purely Agile-maintainer: Purely Agile+maintainer: Tom Ellis category: Database build-type: Simple cabal-version: 1.18 extra-doc-files: README.md CHANGELOG.md *.md-tested-with: GHC==9.0, GHC==8.10, GHC==8.8, GHC==8.6, GHC==8.4, GHC==8.2, GHC==8.0+tested-with: GHC==9.2, GHC==9.0, GHC==8.10, GHC==8.8, GHC==8.6, GHC==8.4, GHC==8.2, GHC==8.0 source-repository head type: git@@ -27,18 +26,18 @@ default-language: Haskell2010 hs-source-dirs: src build-depends:- aeson >= 0.6 && < 1.6- , base >= 4.9 && < 5+ aeson >= 0.6 && < 2.1+ , base >= 4.9 && < 4.17 , base16-bytestring >= 0.1.1.6 && < 1.1 , case-insensitive >= 1.2 && < 1.3- , bytestring >= 0.10 && < 0.11+ , bytestring >= 0.10 && < 0.12 , contravariant >= 1.2 && < 1.6 , postgresql-simple >= 0.6 && < 0.7 , pretty >= 1.1.1.0 && < 1.2- , product-profunctors >= 0.8.0.0 && < 0.12+ , product-profunctors >= 0.11.0.3 && < 0.12 , profunctors >= 4.0 && < 5.7 , scientific >= 0.3 && < 0.4- , semigroups >= 0.13 && < 0.20+ , semigroups >= 0.13 && < 0.21 , text >= 0.11 && < 1.3 , transformers >= 0.3 && < 0.6 , time-compat >= 1.9.5 && < 1.12@@ -123,7 +122,7 @@ Wrapped hs-source-dirs: Test build-depends:- aeson >= 0.6 && < 1.6,+ aeson, base >= 4 && < 5, bytestring, containers,
src/Opaleye/Internal/RunQuery.hs view
@@ -335,13 +335,12 @@ instance Functor (FromFields c) where fmap f (FromFields u r b) = FromFields u ((fmap . fmap) f r) b --- TODO: Seems like this one should be simpler! instance Applicative (FromFields c) where- pure = flip (FromFields (P.lmap (const ()) PP.empty)) (const 0)+ pure = flip (FromFields (pure ())) (const 0) . pure . pure FromFields uf rf bf <*> FromFields ux rx bx =- FromFields (P.dimap (\x -> (x,x)) (const ()) (uf PP.***! ux)) ((<*>) <$> rf <*> rx) (liftA2 (+) bf bx)+ FromFields (uf *> ux) ((<*>) <$> rf <*> rx) (liftA2 (+) bf bx) instance P.Profunctor FromFields where dimap f g (FromFields u r b) =
src/Opaleye/Manipulation.hs view
@@ -39,7 +39,7 @@ rReturningI, rReturningExplicit, -- * On conflict- -- | Currently 'HSql.DoNothing' is the+ -- | Currently 'doNothing' is the -- only conflict action supported by -- Opaleye. HSql.OnConflict,