packages feed

json-spec-elm-servant 0.4.4.3 → 0.4.4.4

raw patch · 3 files changed

+16/−17 lines, 3 filesdep ~basedep ~json-specdep ~json-spec-elmPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base, json-spec, json-spec-elm, text

API changes (from Hackage documentation)

Files

LICENSE view
@@ -1,6 +1,6 @@ MIT License -Copyright (c) 2023 Rick Owens+Copyright (c) 2026 Rick Owens  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal
json-spec-elm-servant.cabal view
@@ -1,6 +1,6 @@ cabal-version:       3.0 name:                json-spec-elm-servant-version:             0.4.4.3+version:             0.4.4.4 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@@ -14,7 +14,7 @@ license-file:        LICENSE author:              Rick Owens maintainer:          rick@owensmurray.com-copyright:           2025 Owens Murray, LLC.+copyright:           2026 Owens Murray, LLC. category:            JSON, Elm, Servant, Web build-type:          Simple extra-source-files:@@ -23,20 +23,20 @@  common dependencies   build-depends:-    , base                 >= 4.19.0.0  && < 4.22+    , base                 >= 4.19.2.0  && < 4.22     , bound                >= 2.0.7     && < 2.1     , containers           >= 0.6.8     && < 0.8     , directory            >= 1.3.8.1   && < 1.4     , elm-syntax           >= 0.3.3.0   && < 0.4     , filepath             >= 1.4.200.1 && < 1.6     , http-types           >= 0.12.3    && < 0.13-    , json-spec            >= 0.3.0.0   && < 1.3-    , json-spec-elm        >= 0.4.0.0   && < 0.5+    , json-spec            >= 1.3.0.0   && < 1.4+    , json-spec-elm        >= 0.5.0.1   && < 0.6     , mtl                  >= 2.3.1     && < 2.4     , prettyprinter        >= 1.7.1     && < 1.8     , process              >= 1.6.18.0  && < 1.7     , servant              >= 0.20.1    && < 0.21-    , text                 >= 2.1       && < 2.2+    , text                 >= 2.1.1     && < 2.2     , unordered-containers >= 0.2.19.1  && < 0.3  common warnings
test/Api.hs view
@@ -248,16 +248,15 @@     JsonLet       '[ '( "Invite"           , JsonEither-              ( JsonObject-                  '[     "type" ::: JsonTag "discord-user"-                   , "username" ::: EncodingSpec DiscordUser-                   ]-              )-              ( JsonObject-                  '[  "type" ::: JsonTag "discord-server"-                   , "guild" ::: EncodingSpec Guild-                   ]-              )+              '[ JsonObject+                    '[     "type" ::: JsonTag "discord-user"+                     , "username" ::: EncodingSpec DiscordUser+                     ]+                , JsonObject+                    '[  "type" ::: JsonTag "discord-server"+                     , "guild" ::: EncodingSpec Guild+                     ]+                ]           )        ]        (JsonRef "Invite")