packages feed

servant-aeson-specs 0.5.2.0 → 0.5.3.0

raw patch · 2 files changed

+16/−8 lines, 2 filesdep ~hspec-golden-aesondep ~servantPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: hspec-golden-aeson, servant

API changes (from Hackage documentation)

+ Servant.Aeson.GenericSpecs: [comparisonFile] :: Settings -> ComparisonFile
+ Servant.Aeson.Internal: instance Servant.Aeson.Internal.HasGenericSpecs api => Servant.Aeson.Internal.HasGenericSpecs (Servant.API.QueryParam.QueryFlag sym Servant.API.Sub.:> api)
+ Servant.Aeson.Internal: instance Servant.Aeson.Internal.HasGenericSpecs api => Servant.Aeson.Internal.HasGenericSpecs (Servant.API.QueryParam.QueryParams sym x Servant.API.Sub.:> api)
- Servant.Aeson.GenericSpecs: Settings :: GoldenDirectoryOption -> Bool -> Int -> Settings
+ Servant.Aeson.GenericSpecs: Settings :: GoldenDirectoryOption -> Bool -> Int -> ComparisonFile -> Settings

Files

servant-aeson-specs.cabal view
@@ -1,9 +1,9 @@--- This file has been generated from package.yaml by hpack version 0.14.1.+-- This file has been generated from package.yaml by hpack version 0.17.1. -- -- see: https://github.com/sol/hpack  name:           servant-aeson-specs-version:        0.5.2.0+version:        0.5.3.0 synopsis:       generic tests for aeson serialization in servant description:    tests for aeson serialization in servant category:       Web@@ -32,13 +32,13 @@     , bytestring     , hspec     , QuickCheck-    , servant >= 0.4 && < 0.10+    , servant >= 0.4 && < 0.11     , directory     , filepath     , random     , aeson-pretty     , quickcheck-arbitrary-adt == 0.2.*-    , hspec-golden-aeson == 0.2.*+    , hspec-golden-aeson == 0.3.*   exposed-modules:       Servant.Aeson.GenericSpecs       Servant.Aeson.Internal@@ -49,7 +49,7 @@   main-is: Spec.hs   hs-source-dirs:       test-    , src+      src   ghc-options: -Wall -fno-warn-name-shadowing   build-depends:       base < 5@@ -57,13 +57,13 @@     , bytestring     , hspec     , QuickCheck-    , servant >= 0.4 && < 0.10+    , servant >= 0.4 && < 0.11     , directory     , filepath     , random     , aeson-pretty     , quickcheck-arbitrary-adt == 0.2.*-    , hspec-golden-aeson == 0.2.*+    , hspec-golden-aeson == 0.3.*     , hspec-core     , temporary     , doctest@@ -73,7 +73,7 @@     , string-conversions     , text     , quickcheck-arbitrary-adt == 0.2.*-    , hspec-golden-aeson == 0.2.*+    , hspec-golden-aeson == 0.3.*   other-modules:       DoctestSpec       Servant.Aeson.GoldenSpecsSpec
src/Servant/Aeson/Internal.hs view
@@ -153,8 +153,16 @@ instance HasGenericSpecs api  => HasGenericSpecs (Capture (sym :: Symbol) x :> api) where   collectRoundtripSpecs settings Proxy = collectRoundtripSpecs settings (Proxy :: Proxy api) +-- | Match 'QueryFlag' and ':>'.+instance HasGenericSpecs api  => HasGenericSpecs (QueryFlag (sym :: Symbol) :> api) where+  collectRoundtripSpecs settings Proxy = collectRoundtripSpecs settings (Proxy :: Proxy api)+ -- | Match 'QueryParam' and ':>'. instance HasGenericSpecs api  => HasGenericSpecs (QueryParam (sym :: Symbol) x :> api) where+  collectRoundtripSpecs settings Proxy = collectRoundtripSpecs settings (Proxy :: Proxy api)++-- | Match 'QueryParams' and ':>'.+instance HasGenericSpecs api  => HasGenericSpecs (QueryParams (sym :: Symbol) x :> api) where   collectRoundtripSpecs settings Proxy = collectRoundtripSpecs settings (Proxy :: Proxy api)  -- | Match 'Header' and ':>'.