Commit graph

1943 commits

Author SHA1 Message Date
Bryan Richter
abd11b2a8f
Remove duplicate type declaration
UserAPI1 is already defined at line 64.
2018-05-12 16:58:43 -04:00
Falco Peijnenburg
4df71dce96 servant-client-ghcjs: Throw exception on streamingRequest
Documented this behaviour in haddocks of client and ClientM
2018-04-28 14:36:47 +02:00
Falco Peijnenburg
108df0857e servant-client-ghcjs: Support binary requests
Introduces support for both sending and receiving binary data
2018-04-28 13:42:26 +02:00
Alp Mestanogullari
0c66b9c055
Merge pull request #953 from haskell-servant/fileserving-polymorphic-monad
servant-server: make file-serving functions polymorphic in the monad
2018-04-26 06:56:25 +02:00
Alp Mestanogullari
fd21e92cf2 servant-server: make file-serving functions polymorphic in the monad 2018-04-25 15:12:32 +02:00
Oleg Grenrus
63253f09df
Merge pull request #948 from domenkozar/servant-client-readme
servant-client: update README.md and test it
2018-04-20 22:56:15 +03:00
Domen Kožar
49969695df
servant-client: update README.md and test it 2018-04-18 14:18:41 +01:00
Alp Mestanogullari
6af38354d0
Merge pull request #946 from KtorZ/servant-pagination
add cookbook recipe introducing servant-pagination
2018-04-17 10:33:28 +02:00
KtorZ
93838ae9e7
Add recipe introducing servant-pagination 2018-04-17 10:02:40 +02:00
Oleg Grenrus
680820c98c
Merge pull request #943 from phadej/bounds-backports
Bounds backports
2018-04-11 12:12:27 +03:00
Oleg Grenrus
7d4293fb56 Bump hspec, doctest and transformers-compat 2018-04-11 11:34:16 +03:00
Oleg Grenrus
9ddaafed42 Bump servant-client version 2018-04-11 11:28:33 +03:00
Oleg Grenrus
fc12109514 Allow temporary-1.3 2018-04-11 11:28:08 +03:00
Oleg Grenrus
dd7ec1dfd7 Allow base-compat-0.10.0 2018-04-11 11:26:14 +03:00
Oleg Grenrus
6be8291fe8
Merge pull request #936 from haskell-servant/alp/hoistClient
Add hoistClient to servant-client
2018-04-09 15:19:21 +03:00
Alp Mestanogullari
a155d5d497 changelog entries 2018-04-09 13:57:31 +02:00
Oleg Grenrus
a8cd6e3895
Merge pull request #937 from potomak/subserver-content-types
Update request content-type handling
2018-04-05 16:00:02 +03:00
Giovanni Cappellotto
92f8d2314e Update request content-type handling
In case that a sub-server doesn't support the content-type specified
in the request invoke `delayedFail` instead of `delayedFailFatal` in
order to give the chance to other sub-servers to handle the request.
2018-04-04 18:53:40 -04:00
Alp Mestanogullari
fc3c6089b8 document hoistClient (haddocks, tutorial) 2018-04-04 01:48:48 +02:00
Alp Mestanogullari
9eb57a6119 add a test for hoistClient 2018-04-04 01:48:48 +02:00
Alp Mestanogullari
200311ee26 add hoistClient to HasClient class 2018-04-04 01:48:48 +02:00
Julian Arni
3750f22e01
Merge pull request #913 from haskell-servant/jkarni/expose-more-request-constructors
Streaming request body for servant-client-core
2018-03-23 18:30:13 +01:00
Oleg Grenrus
6f4701ce32
Merge pull request #929 from haskell-servant/cookbook-structuring-flatten
add reference to servant-flatten in cookbook > structuring apis
2018-03-21 11:32:18 +02:00
Alp Mestanogullari
5d30010312 add reference to servant-flatten 2018-03-21 10:23:33 +01:00
Alp Mestanogullari
74b646105f
Merge pull request #928 from jhrcek/baDoc
Add link to cookbook example of basic auth (#752)
2018-03-21 06:12:37 +01:00
Jan Hrček
e9113111d6 Add link to cookbook example of basic auth (#752) 2018-03-21 04:48:01 +01:00
Julian K. Arni
7c901dcb7d Re-review changes.
Using random packages mysteriously fail on CI, and also uses a lot
    more CPU.
2018-03-19 18:22:49 +01:00
Julian K. Arni
d78543575b Review fixes 2018-03-19 18:10:46 +01:00
Julian K. Arni
c02ca1b6e1 Implement new constructors for GHCJS.
Streaming is not actually performed - instead the whole object is
    held in memory.
2018-03-19 16:26:57 +01:00
Julian K. Arni
2456dcb8f5 Add stack file for testing GHCJS. 2018-03-19 16:26:57 +01:00
Julian K. Arni
26c6c0ec38 Expose more constructors for RequestBody.
Mimicking http-client's RequestBody.
2018-03-19 16:26:57 +01:00
Julian K. Arni
37482d69d7 Test that Stream combinator doesn't blow up memory. 2018-03-19 16:26:57 +01:00
Julian Arni
624a42ebf0
Merge pull request #924 from haskell-servant/jkarni/bump-exceptions
Bump exceptions upper bound.
2018-03-14 10:54:13 +01:00
Julian K. Arni
4824fbd961 Bump exceptions upper bound. 2018-03-13 11:07:44 +01:00
Julian Arni
f8301a21e9
Merge pull request #923 from haskell-servant/jkarni/cleanup-scripts
Remove unused scripts.
2018-03-13 11:05:48 +01:00
Julian K. Arni
aa612de2d0 Remove unused scripts.
Which are all of them.
2018-03-13 10:28:20 +01:00
Alp Mestanogullari
e02f29a379
Merge pull request #921 from manusajith/doc_patches
Fix some typos in docs
2018-03-13 09:56:20 +01:00
Manu S Ajith
6a410dcd07
Fix some typos in docs
Signed-off-by: Manu S Ajith <neo@codingarena.in>
2018-03-13 03:21:56 +05:30
Oleg Grenrus
fe20b5a38a
Merge pull request #920 from phadej/free-client
Add Servant.Client.Free
2018-03-11 21:07:09 +02:00
Oleg Grenrus
6d1ae0dccd
Merge pull request #680 from phadej/stylish-haskell
Update .stylish-haskell
2018-03-11 18:28:25 +02:00
Oleg Grenrus
8058891299 Reformat servant 2018-03-11 17:58:31 +02:00
Oleg Grenrus
74cf82946e Update .stylish-haskell 2018-03-11 17:52:11 +02:00
Oleg Grenrus
454f53315f Remove catchServantError 2018-03-11 16:50:14 +02:00
Oleg Grenrus
80188e024e Add Servant.Client.Free 2018-03-11 14:13:25 +02:00
Oleg Grenrus
bcca635151
Merge pull request #919 from emmanueltouzery/aeson-1.3
relax the aeson constraint, allow 1.3.0.0
2018-03-10 23:36:17 +02:00
Emmanuel Touzery
7423ca3924 relax the aeson constraint, allow 1.3.0.0, fixes https://github.com/fpco/stackage/issues/3337 2018-03-09 20:26:03 +01:00
Oleg Grenrus
c767efedb9
Merge pull request #917 from phadej/travis-max-backjumps
Add --max-backjumps to .travis.yml
2018-03-08 14:43:16 +02:00
Oleg Grenrus
52f27de256 Add --max-backjumps to .travis.yml 2018-03-08 13:18:47 +02:00
Alp Mestanogullari
c1414478c6
Merge pull request #908 from haskell-servant/paremeter-stream-tutorial
Fix typo in tutorial
2018-02-23 13:47:59 +01:00
Oleg Grenrus
3e1748c965 Add description modifier helpers and parametrise Capture 2018-02-15 12:28:42 +02:00