openapi3 3.2.0 → 3.2.1
raw patch · 3 files changed
+21/−8 lines, 3 filesdep ~basedep ~bytestringdep ~template-haskell
Dependency ranges changed: base, bytestring, template-haskell, text, time
Files
- CHANGELOG.md +9/−0
- openapi3.cabal +9/−8
- test/Data/OpenApi/Schema/ValidationSpec.hs +3/−0
CHANGELOG.md view
@@ -1,6 +1,15 @@ Unreleased ---------- +3.2.1+-----++- Support aeson-2.0.3.+- Support GHC-9.2 (doctests still fail).++3.2.0+-----+ - Support aeson-2 [#34](https://github.com/biocad/openapi3/pull/34). - Use `SecurityDefinitions` type for `_componentsSecuritySchemes` [#32](https://github.com/biocad/openapi3/pull/32).
openapi3.cabal view
@@ -1,6 +1,6 @@ cabal-version: >=1.10 name: openapi3-version: 3.2.0+version: 3.2.1 synopsis: OpenAPI 3.0 data model category: Web, Swagger, OpenApi@@ -26,8 +26,9 @@ GHC ==8.4.4 || ==8.6.5 || ==8.8.4- || ==8.10.4- || ==9.0.1+ || ==8.10.7+ || ==9.0.2+ || ==9.2.1 custom-setup setup-depends:@@ -60,11 +61,11 @@ -- GHC boot libraries build-depends:- base >=4.11.1.0 && <4.16- , bytestring >=0.10.8.2 && <0.11+ base >=4.11.1.0 && <4.17+ , bytestring >=0.10.8.2 && <0.12 , containers >=0.5.11.0 && <0.7- , template-haskell >=2.13.0.0 && <2.18- , time >=1.8.0.2 && <1.10+ , template-haskell >=2.13.0.0 && <2.19+ , time >=1.8.0.2 && <1.14 , transformers >=0.5.5.0 && <0.6 build-depends:@@ -82,7 +83,7 @@ , hashable >=1.2.7.0 && <1.5 , http-media >=0.8.0.0 && <0.9 , insert-ordered-containers >=0.2.3 && <0.3- , lens >=4.16.1 && <5.1+ , lens >=4.16.1 && <5.2 , network >=2.6.3.5 && <3.2 , optics-core >=0.2 && <0.5 , optics-th >=0.2 && <0.5
test/Data/OpenApi/Schema/ValidationSpec.hs view
@@ -301,6 +301,8 @@ -- Arbitrary instance for Data.Aeson.Value -- ======================================================================== +-- These instances were introduces in aeson upstream in 2.0.3+#if !MIN_VERSION_aeson(2,0,3) instance Arbitrary Value where -- Weights are almost random -- Uniform oneof tends not to build complex objects cause of recursive call.@@ -318,4 +320,5 @@ instance Arbitrary Key.Key where arbitrary = Key.fromText <$> arbitrary+#endif #endif