Commit graph

2127 commits

Author SHA1 Message Date
Oleg Grenrus
58b401558d Bump versions to 0.16 2019-02-20 19:06:10 +02:00
Oleg Grenrus
eb2c4b6e07
Merge pull request #1132 from haskell-servant/changelog-0.16
Add CHANGELOG for 0.16
2019-02-20 12:31:04 +02:00
Oleg Grenrus
636420d2d1 Add CHANGELOG for 0.16 2019-02-20 01:48:38 +02:00
Oleg Grenrus
3db3d38e14
Merge pull request #1131 from phadej/error-renaming
Rename ServantError to ClientError, ServantErr to ServerError
2019-02-18 23:15:09 +02:00
Oleg Grenrus
a5655f8d5a Rename ServantError to ClientError, ServantErr to ServerError 2019-02-18 22:51:09 +02:00
Oleg Grenrus
e922b9898c
Merge pull request #1130 from phadej/refactor-servant-client
Refactor servant-client-core
2019-02-18 19:44:49 +02:00
Oleg Grenrus
775b55316c Try with reorder-goals: True 2019-02-18 19:26:25 +02:00
Oleg Grenrus
420ebd0475 Refactor servant-client-core
- No more Internal modules
- Remove ClientLike-generic. Let's use Routes-generics
    - Let's see if anyone notices, otherwise we can add it back
- Add Makefile for common tasks
    - Fix servant-client-ghcjs
2019-02-18 19:08:13 +02:00
Oleg Grenrus
c4620195d8
Merge pull request #1127 from domenkozar/patch-1
README: release branches are now protected with a wildcard
2019-02-18 17:00:13 +02:00
Domen Kožar
0e54459bd1
README: release branches are now protected with a wildcard 2019-02-18 14:58:54 +00:00
Oleg Grenrus
7e3853d030
Merge pull request #1124 from domenkozar/docs
Bump docs dependencies and move docs docs to README
2019-02-12 10:43:54 +02:00
Oleg Grenrus
132f7eb3d6
Merge pull request #1123 from haskell-servant/travis-update-2
Update travis once again
2019-02-12 10:43:19 +02:00
Domen Kožar
53b3b939e4
Bump docs dependencies and move docs docs to README 2019-02-12 13:38:25 +07:00
Oleg Grenrus
525b74c6f4 Update travis once again
- Update GHC-8.6.2 to GHC-8.6.3
- Build cookbook only with GHC-8.4.4 and GHC-8.6.3, thus
  making 8.0 and 8.2 jobs a little faster
2019-02-12 01:33:30 +02:00
Oleg Grenrus
32ccc2dcfa
Merge pull request #1121 from haskell-servant/update-travis
Add optimization: False
2019-02-11 16:24:07 +02:00
Oleg Grenrus
0e191964ae Add optimization: False 2019-02-11 15:52:42 +02:00
Oleg Grenrus
9e628355d7
Merge pull request #1119 from vaibhavsagar/vs-travis-xenial
.travis.yml: use Ubuntu 16.04
2019-02-09 08:05:22 +02:00
Oleg Grenrus
ccaa73fea3
Merge pull request #1117 from haskell-servant/servant-http-streams
WIP: servant-http-streams
2019-02-07 12:58:42 +02:00
Vaibhav Sagar
12ebc03187 .travis.yml: use Ubuntu 16.04 2019-02-06 14:18:24 -05:00
Oleg Grenrus
b44335ab69 Add servant-http-streams 2019-02-06 12:15:30 +02:00
Oleg Grenrus
4fab471c29 Refactor servant-client(-core)
- Rename GenResponse to ResponseF (analogous to RequestF)
- add NFData Headers
- Make Request and Response bodies be SourceIO,
  i.e. move conversions into specific implementations
2019-02-06 12:15:20 +02:00
Oleg Grenrus
2071042ebb
Merge pull request #1115 from phadej/1113-structured-connecition-error
keep structured exceptions in `ConnectionError`
2019-02-05 14:40:02 +02:00
Oleg Grenrus
9cc73f29ff Differentiate different exception types 2019-02-05 12:58:35 +02:00
Clement Delafargue
82a2c1f463 keep structured exceptions in ConnectionError
fixes #807
Previously, there were two levels of `SomeException` (see #714). A
test makes sure there is only one level of wrapping.
2019-02-05 12:46:06 +02:00
Oleg Grenrus
fdd1c7392b
Merge pull request #1114 from phadej/bgamari-request-in-failureresponse
Bgamari request in failureresponse
2019-02-05 12:25:50 +02:00
Oleg Grenrus
388f8f07cd Don't edit changelog 2019-02-05 11:53:06 +02:00
Oleg Grenrus
3a9a1ca55b Parametrise over body contents only 2019-02-05 11:51:42 +02:00
Oleg Grenrus
46afc9bcdd
Merge pull request #1110 from haskell-servant/oleg-testcase-1091
Oleg testcase 1091
2019-02-04 18:06:48 +02:00
Ben Gamari
9a655fd68e client: Preserve failing request in FailureResponse
This was previously implemented in #470 but later unintentionally
reverted in #803. This isn't verbatim the design implemented earlier; we
now capture the full RequestF save the request body.

Fixes #978.
2019-02-03 12:09:18 -05:00
Ben Gamari
aa704596be client: Parameterize RequestF on request body type
This allows us to provide an NFData instance for RequestF, which will
later be useful when we capture the request in FailureResponse.
2019-02-03 12:06:30 -05:00
Oleg Grenrus
109f7b2a45 Add venv warning checks to doc/Makefile 2019-02-02 16:05:03 +02:00
Oleg Grenrus
e9466b7752 Implement HasClient (StreamBody ... :> api) 2019-02-02 15:50:23 +02:00
Domen Kožar
e49b0369c0 servant-client: add a test case for StreamBody 2019-02-02 11:01:26 +02:00
Oleg Grenrus
b31128a99e Add changelog entries: 1104 1103 2019-02-02 10:25:24 +02:00
Oleg Grenrus
df6e992675
Merge pull request #1103 from tstat/capture-parse-failure-fix
Set http failure code priority explicitly
2019-02-02 10:23:55 +02:00
Oleg Grenrus
28ac8c072b
Merge pull request #1104 from michaelsdunn1/master
Update CookieJar with intermediate request/responses using Network.HTTP.Client.HistoriedResponse.
2019-02-02 10:21:21 +02:00
Michael Dunn
8490ccbe93 Do one atomic update to the cookie jar for all request and responses. 2019-01-26 22:13:32 -06:00
Michael Dunn
c33f27de04 updateCookieJar is now in STM to only allow for a single atomic update. 2019-01-26 18:01:53 -06:00
Michael Dunn
07b3236eb6 Added Cookie in CookieJar after redirect test case to ClientSpec.hs. 2019-01-25 10:17:58 -06:00
Oleg Grenrus
15610f24bd
Merge pull request #1107 from haskell-servant/network-3.0
Allow network-3.0
2019-01-23 10:28:47 +02:00
Oleg Grenrus
b685efecbe Allow network-3.0 2019-01-23 02:20:16 +02:00
Oleg Grenrus
c25085e9e5 Allow http-client-0.6 2019-01-09 10:45:40 +02:00
Travis Staton
9d8a8118b8 Set http failure code priority explicitly 2019-01-06 11:02:38 -05:00
Michael Dunn
37a38d7a9b Cookies are added to the CookieJar for all intermediate/redirected requests. 2019-01-04 17:04:20 -06:00
Alp Mestanogullari
a3d335b436
Merge pull request #1098 from csamak/patch-1
Fix the tutorial app4 curl example
2018-12-19 10:40:30 +01:00
csamak
2191fc815e
Fix the tutorial app4 curl example
Change the app4 curl example to match the API definition.
2018-12-17 11:11:41 -08:00
Oleg Grenrus
7bbcfb21e7
Merge pull request #1090 from domenkozar/nocontent-nfdata
Add NoContent instance for NFData
2018-11-27 19:48:59 +02:00
Domen Kožar
e7655d380a
Add NoContent instance for NFData 2018-11-27 16:41:31 +00:00
Oleg Grenrus
e3e5d2b230
Merge pull request #1082 from phadej/changelog-0.15b
Changelog 0.15b
2018-11-13 17:55:18 +02:00
Oleg Grenrus
3b8db040f3 http-api-data-0.4 2018-11-13 17:21:29 +02:00