stripe-wreq 1.0.1.10 → 1.0.1.12
raw patch · 3 files changed
+12/−10 lines, 3 filesdep −unordered-containersdep ~aesondep ~lensPVP ok
version bump matches the API change (PVP)
Dependencies removed: unordered-containers
Dependency ranges changed: aeson, lens
API changes (from Hackage documentation)
Files
- changelog.md +6/−0
- library/Stripe/Wreq.hs +3/−4
- stripe-wreq.cabal +3/−6
changelog.md view
@@ -29,3 +29,9 @@ ## 1.0.1.10 - 2021-06-05 Support GHC 9.0, `bytestring` 0.11++## 1.0.1.12 - 2021-11-16++Support `aeson` 2.0, drop support for previous versions++Support `lens` 5.1
library/Stripe/Wreq.hs view
@@ -41,6 +41,8 @@ -- aeson import qualified Data.Aeson+import qualified Data.Aeson.Key+import qualified Data.Aeson.KeyMap -- base import qualified Control.Exception@@ -64,9 +66,6 @@ import Data.Text (Text) import qualified Data.Text --- unordered-containers-import qualified Data.HashMap.Strict- -- wreq import Network.Wreq (FormParam (..)) import qualified Network.Wreq@@ -376,7 +375,7 @@ -- Internal Aeson decoding functions aesonAttr :: String -> Data.Aeson.Value -> Maybe Data.Aeson.Value-aesonAttr x = aesonObject >=> Data.HashMap.Strict.lookup (Data.Text.pack x)+aesonAttr x = aesonObject >=> Data.Aeson.KeyMap.lookup (Data.Aeson.Key.fromString x) aesonObject :: Data.Aeson.Value -> Maybe Data.Aeson.Object aesonObject (Data.Aeson.Object x) = Just x
stripe-wreq.cabal view
@@ -1,7 +1,7 @@ cabal-version: 2.0 name: stripe-wreq-version: 1.0.1.10+version: 1.0.1.12 synopsis: Use the Stripe API via Wreq category: Web@@ -26,8 +26,6 @@ license-file: license.txt build-type: Simple-tested-with: GHC==8.2.2, GHC==8.4.4, GHC==8.6.3, GHC==8.8.1, GHC==8.10.1,- GHC==9.0.1 extra-source-files: changelog.md@@ -40,12 +38,11 @@ Stripe.Wreq build-depends:- aeson ^>= 1.4 || ^>= 1.5+ aeson ^>= 2.0 , base ^>= 4.10 || ^>= 4.11 || ^>= 4.12 || ^>= 4.13 || ^>= 4.14 || ^>= 4.15 , bytestring ^>= 0.10 || ^>= 0.11- , lens >= 4.17 && < 5.1+ , lens >= 4.17 && < 5.2 , stripe-concepts ^>= 1.0 , text ^>= 1.2- , unordered-containers ^>= 0.2 , wreq ^>= 0.5