packages feed

json-spec-elm-servant 0.4.0.1 → 0.4.0.2

raw patch · 2 files changed

+7/−7 lines, 2 filesdep ~json-specPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: json-spec

API changes (from Hackage documentation)

Files

json-spec-elm-servant.cabal view
@@ -1,6 +1,6 @@ cabal-version:       3.0 name:                json-spec-elm-servant-version:             0.4.0.1+version:             0.4.0.2 synopsis:            Generated elm code for servant APIs. description:         Generate Elm encoders, decoders, and API requests                      for an Servant API, where the shape of the data@@ -26,7 +26,7 @@     , base          >= 4.19.0.0 && < 4.20     , containers    >= 0.6.8    && < 0.7     , elm-syntax    >= 0.3.3.0  && < 0.4-    , json-spec     >= 0.3.0.0  && < 0.4+    , json-spec     >= 0.3.0.0  && < 0.6     , servant       >= 0.20.1   && < 0.21     , text          >= 2.1      && < 2.2 
test/Api.hs view
@@ -50,11 +50,11 @@ import Data.Aeson (FromJSON, FromJSONKey, ToJSON, ToJSONKey) import Data.Binary (Binary) import Data.ByteString (ByteString)-import Data.JsonSpec (Field(Field, unField),-  HasJsonDecodingSpec(DecodingSpec, fromJSONStructure),-  HasJsonEncodingSpec(EncodingSpec, toJSONStructure), SpecJSON(SpecJSON),-  Specification(JsonArray, JsonDateTime, JsonEither, JsonInt, JsonLet,-  JsonObject, JsonRef, JsonString, JsonTag), Tag(Tag))+import Data.JsonSpec (Field(Field), HasJsonDecodingSpec(DecodingSpec,+  fromJSONStructure), HasJsonEncodingSpec(EncodingSpec, toJSONStructure),+  SpecJSON(SpecJSON), Specification(JsonArray, JsonDateTime, JsonEither,+  JsonInt, JsonLet, JsonObject, JsonRef, JsonString, JsonTag), Tag(Tag),+  unField) import Data.Map (Map) import Data.Set (Set) import Data.Text (Text)