File tree Expand file tree Collapse file tree 3 files changed +20
-5
lines changed Expand file tree Collapse file tree 3 files changed +20
-5
lines changed Original file line number Diff line number Diff line change
1
+ 0.11
2
+ ----
3
+
4
+ - Support ` servant-0.12 `
5
+ - Add support for memory backend
6
+
7
+ 0.10
8
+ ----
9
+
10
+ - Initial release
Original file line number Diff line number Diff line change 1
1
name : servant-multipart
2
- version : 0.10.0.1
3
- x-revision : 1
2
+ version : 0.11
4
3
synopsis : multipart/form-data (e.g file upload) support for servant
5
4
description : Please see README.md
6
5
homepage : https://github.com/haskell-servant/servant-multipart#readme
@@ -12,6 +11,7 @@ copyright: 2016-2017 Alp Mestanogullari
12
11
category : Web, Servant
13
12
build-type : Simple
14
13
cabal-version : >= 1.10
14
+ extra-source-files : CHANGELOG.md
15
15
tested-with :
16
16
GHC== 7.8.4 ,
17
17
GHC== 7.10.3 ,
@@ -28,9 +28,9 @@ library
28
28
http-media >= 0.6 && < 0.8 ,
29
29
lens >= 4.0 && < 4.16 ,
30
30
resourcet >= 1.1 && < 1.2 ,
31
- servant >= 0.10 && < 0.12 ,
32
- servant-docs >= 0.10 && < 0.12 ,
33
- servant-server >= 0.10 && < 0.12 ,
31
+ servant >= 0.10 && < 0.13 ,
32
+ servant-docs >= 0.10 && < 0.13 ,
33
+ servant-server >= 0.10 && < 0.13 ,
34
34
text >= 1.2 && < 1.3 ,
35
35
transformers >= 0.3 && < 0.6 ,
36
36
wai >= 3.2 && < 3.3 ,
Original file line number Diff line number Diff line change
1
+ {-# LANGUAGE CPP #-}
1
2
{-# LANGUAGE DataKinds #-}
2
3
{-# LANGUAGE TypeFamilies #-}
3
4
{-# LANGUAGE InstanceSigs #-}
@@ -253,6 +254,10 @@ instance ( FromMultipart tag a
253
254
type ServerT (MultipartForm tag a :> sublayout ) m =
254
255
a -> ServerT sublayout m
255
256
257
+ #if MIN_VERSION_servant_server(0,12,0)
258
+ hoistServerWithContext _ pc nt s = hoistServerWithContext (Proxy :: Proxy sublayout ) pc nt . s
259
+ #endif
260
+
256
261
route Proxy config subserver =
257
262
route psub config subserver'
258
263
where
You can’t perform that action at this time.
0 commit comments