packages feed

stripe-scotty 1.1 → 1.1.0.1

raw patch · 3 files changed

+12/−10 lines, 3 filesdep −unordered-containersdep ~aesondep ~scottyPVP ok

version bump matches the API change (PVP)

Dependencies removed: unordered-containers

Dependency ranges changed: aeson, scotty

API changes (from Hackage documentation)

Files

changelog.md view
@@ -27,3 +27,9 @@ ## 1.1 - 2021-06-05  Generalize `ScottyM` to `ScottyT`++## 1.1.0.1 - 2021-11-16++Support `aeson` 2.0, drop support for previous versions++Drop support for `scotty` 0.11. Now 0.12 is required.
library/Stripe/Scotty.hs view
@@ -16,6 +16,8 @@  -- aeson import qualified Data.Aeson+import qualified Data.Aeson.Key+import qualified Data.Aeson.KeyMap  -- base import Control.Monad (when, (>=>))@@ -42,9 +44,6 @@ import qualified Data.Text.Lazy import qualified Data.Text.Lazy.Builder --- unordered-containers-import qualified Data.HashMap.Strict- {- | Terminates request processing if the request does not contain a valid Stripe signature header. @@ -193,7 +192,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-scotty.cabal view
@@ -1,7 +1,7 @@ cabal-version: 2.0  name: stripe-scotty-version: 1.1+version: 1.1.0.1  synopsis: Listen for Stripe webhook events with Scotty category: Web@@ -22,8 +22,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@@ -36,13 +34,12 @@         Stripe.Scotty      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       , http-types ^>= 0.12-      , scotty ^>= 0.11 || ^>= 0.12+      , scotty ^>= 0.12       , stripe-concepts ^>= 1.0       , stripe-signature ^>= 1.0       , text ^>= 1.2-      , unordered-containers ^>= 0.2