autodocodec-servant-multipart 0.0.0.2 → 0.0.0.3
raw patch · 3 files changed
+11/−5 lines, 3 filesdep ~autodocodecPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: autodocodec
API changes (from Hackage documentation)
Files
CHANGELOG.md view
@@ -1,5 +1,11 @@ # Changelog +## [0.0.0.3] - 2026-07-14++### Changed++* Lower bound on `autodocodec >=0.6`+ ## [0.0.0.2] - 2025-06-20 ### Changed
autodocodec-servant-multipart.cabal view
@@ -1,11 +1,11 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.36.1.+-- This file has been generated from package.yaml by hpack version 0.38.3. -- -- see: https://github.com/sol/hpack name: autodocodec-servant-multipart-version: 0.0.0.2+version: 0.0.0.3 synopsis: Autodocodec interpreters for Servant Multipart homepage: https://github.com/NorfairKing/autodocodec#readme bug-reports: https://github.com/NorfairKing/autodocodec/issues@@ -32,7 +32,7 @@ src build-depends: aeson- , autodocodec >=0.5.0.0+ , autodocodec >=0.6.0.0 , base >=4.7 && <5 , bytestring , servant-multipart
src/Autodocodec/Multipart.hs view
@@ -97,7 +97,7 @@ case coerce a of True -> "True" False -> "False"- StringCodec _ -> coerce a+ StringCodec _ _ -> coerce a vc -> let value = toJSONVia vc a in case value of@@ -237,7 +237,7 @@ "true" -> Right True "True" -> Right True _ -> Left $ "Unknown bool: " <> show t- StringCodec _ -> Right (coerce t)+ StringCodec _ _ -> Right (coerce t) vc -> case JSON.parseEither (parseJSONVia vc) (JSON.String t) of Right a -> Right a Left _ -> do