Commit graph

2026 commits

Author SHA1 Message Date
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
Alp Mestanogullari
6ed48b742c
Fix typo in tutorial 2018-02-15 09:59:21 +01:00
Oleg Grenrus
e8e62d6d99
Merge pull request #901 from phadej/changelog-0.13
Add changelog and bump versions
2018-02-08 15:50:22 +02:00
Oleg Grenrus
56a72d7d48 Add changelog and bump versions 2018-02-08 15:17:48 +02:00
Oleg Grenrus
4d3893885d
Merge pull request #900 from phadej/resourcet-1.2
Support resourcet-1.2
2018-02-08 12:16:13 +02:00
Oleg Grenrus
77600e661b Support resourcet-1.2 2018-02-08 11:27:38 +02:00
Oleg Grenrus
f5ffdc7fbd
Merge pull request #899 from phadej/response-body-refactor
Refactor servant-client-core Response+StreamingResponse
2018-02-06 11:33:36 +02:00
Oleg Grenrus
f4fc2b321f Refactor servant-client-core Response+StreamingResponse 2018-01-31 09:26:28 +02:00
Oleg Grenrus
ff268941a1
Merge pull request #898 from phadej/http-types-0.12
Bump lower bound of http-types >= 0.12
2018-01-30 12:51:59 +02:00
Oleg Grenrus
c55b778d8e Bump lower bound of http-types >= 0.12
- WIP: pending http-api-data release
- TODO: remove MIN_VERSION_http_types
- There have been 3 major releases of http-types:
  - 0.10 change name of variable
  - 0.11 lowercase escaped URIs
  - 0.12 uppercase escaped URIs
- It's easier for us to support only latest, migration from 0.9/0.10 to 0.12
  is trivial for the downstream. 0.11 may cause semantic (non-type-error) breakage somewhere.

Also allow lens-4.16, remove MIN_VERSION_http_types conditionals, and
update `stack.yaml`
2018-01-30 11:29:25 +02:00
Oleg Grenrus
f1baef61d8
Merge pull request #897 from phadej/pull-883-cookie
Support http-client’s CookieJar in servant-client
2018-01-29 08:09:21 +02:00
Oleg Grenrus
8cab121fdf
Merge pull request #896 from phadej/hlint
Update hlint.yaml and fix some hints in servant and servant-server
2018-01-28 16:54:17 +02:00
Michal Rus
e4bd07a907 Support http-client’s CookieJar in servant-client 2018-01-26 18:45:52 +02:00
Oleg Grenrus
22ec980f6e Update hlint.yaml and fix some hints in servant and servant-server 2018-01-26 17:38:57 +02:00
Oleg Grenrus
030cbbc363
Merge pull request #895 from phadej/lower-bounds
Bump lower bounds
2018-01-25 18:42:11 +02:00
Oleg Grenrus
f9963d32ff Bump lower bounds in rest of packages 2018-01-25 17:17:35 +02:00
Oleg Grenrus
0ae673583b Bump lower bounds in servant
- `text` is already 1.2.3.0 as https://github.com/fpco/stackage/issues/3147
  is resolved AFAICS

- `http-types` bound is surprisingly low due:
  https://github.com/fpco/stackage/issues/2976
2018-01-25 15:06:14 +02:00
Oleg Grenrus
bf289ccd59
Merge pull request #873 from phadej/modifiers
Servant.API.Modifiers
2018-01-25 11:12:14 +02:00