diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,11 @@
 # Changelog
 
+## [0.0.0.2] - 2025-06-20
+
+### Changed
+
+* Support for `autodocodec >=0.5`
+
 ## [0.0.0.0] - 2022-07-27
 
 First version
diff --git a/autodocodec-servant-multipart.cabal b/autodocodec-servant-multipart.cabal
--- a/autodocodec-servant-multipart.cabal
+++ b/autodocodec-servant-multipart.cabal
@@ -1,11 +1,11 @@
 cabal-version: 1.12
 
--- This file has been generated from package.yaml by hpack version 0.36.0.
+-- This file has been generated from package.yaml by hpack version 0.36.1.
 --
 -- see: https://github.com/sol/hpack
 
 name:           autodocodec-servant-multipart
-version:        0.0.0.1
+version:        0.0.0.2
 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.3.0.0
+    , autodocodec >=0.5.0.0
     , base >=4.7 && <5
     , bytestring
     , servant-multipart
diff --git a/src/Autodocodec/Multipart.hs b/src/Autodocodec/Multipart.hs
--- a/src/Autodocodec/Multipart.hs
+++ b/src/Autodocodec/Multipart.hs
@@ -48,7 +48,7 @@
               (go a c)
       RequiredKeyCodec key vc _ ->
         MultipartData
-          { inputs = map (Input key) (goValue a vc),
+          { inputs = map (Input key) (goValue (coerce a) vc),
             files = []
           }
       OptionalKeyCodec key vc _ ->
@@ -156,7 +156,7 @@
           Just (_, c) -> go mpd c
       RequiredKeyCodec key vc _ -> do
         values <- lookupLInput key mpd
-        goValue values vc
+        coerce $ goValue values vc
       OptionalKeyCodec key vc _ -> do
         values <- lookupLInput key mpd
         coerce $ case values of
