Commit graph

2282 commits

Author SHA1 Message Date
Samuel Gélineau
fdb1e030e6 add changelog.d entry 2019-11-07 19:08:45 -05:00
Samuel Gélineau
1f6d7d7ea8 remove leftover debug code 2019-11-07 19:01:56 -05:00
Samuel Gélineau
143091eb3f merge documentation from duplicate routes
Servant supports defining the same route multiple times with different
content-types and result-types, but servant-docs was only documenting
the first of copy of such duplicated routes. It now combines the
documentation from all the copies.

Unfortunately, it is not yet possible for the documentation to specify
multiple status codes.
2019-11-07 18:53:41 -05:00
Robert Hensing
ce3c68f94b servant-client-core: Redact Authorization header 2019-11-05 16:31:06 +01:00
Oleg Grenrus
925d50d752
Merge pull request #1234 from peeley/fix_broken_links_1206
Fixes issue #1206 by updating broken links in tutorial.
2019-10-08 06:23:29 +03:00
Noah Snelson
5612772448 Change Type Families user manual link to specify GHC 8.8.1 2019-10-07 18:55:47 -07:00
Noah Snelson
ec80f251f3 Fixes issue #1206 by updating broken links in tutorial. 2019-10-07 11:23:30 -07:00
Oleg Grenrus
6cf7c73824
Merge pull request #1233 from haskell-servant/servant-jsaddle-test-delays
Add few delays in servant-jsaddle tests
2019-10-01 17:28:17 +03:00
Oleg Grenrus
99aa09e65b Catch WS.ConnectionClosed 2019-10-01 16:28:28 +03:00
Oleg Grenrus
6d0c415377 Add few delays in servant-jsaddle tests
Hopefully they will fail less on Travis with these
2019-10-01 13:50:26 +03:00
Oleg Grenrus
1047510141
Merge pull request #1230 from haskell-servant/changelog-d
Add changelog.d directory, amend CONTRIBUTING.md
2019-09-30 21:53:00 +03:00
Oleg Grenrus
ed201224dc Add changelog entry 2019-09-30 21:17:13 +03:00
Oleg Grenrus
0cc1109c05 Add changelog.d directory, amend CONTRIBUTING.md 2019-09-30 19:40:18 +03:00
Oleg Grenrus
d3aba7aac7
Merge pull request #1229 from haskell-servant/servant-jsaddle-8.8
Build jsaddle with GHC-8.8
2019-09-30 15:59:44 +03:00
Oleg Grenrus
71ca2a203c Allow jsaddle-dom-0.9.3.1 2019-09-30 10:53:32 +03:00
Oleg Grenrus
52408fea16 Fix servant-client with base-compat-0.11 2019-09-30 10:34:33 +03:00
Oleg Grenrus
fa35b5bd70 Build jsaddle with GHC-8.8
Closes https://github.com/haskell-servant/servant/issues/1227
2019-09-29 23:55:10 +03:00
Oleg Grenrus
38f3da2499 Add TFB readme section 2019-09-29 23:27:47 +03:00
Oleg Grenrus
002ee3cd8f
Merge pull request #1228 from haskell-servant/pull-1219-no-content-verb-1028
Pull 1219: no content verb 1028
2019-09-29 21:22:23 +03:00
Catherine Galkina
b4372b5c14 Removed unnecessary OVERLAPPING/OVERLAPPABLE pragmas 2019-09-29 14:18:13 +03:00
Catherine Galkina
8550926d90 Updated docs 2019-09-29 14:18:13 +03:00
Catherine Galkina
dcf307d67a Fixed tests for servant-http-streams 2019-09-29 14:18:13 +03:00
Catherine Galkina
0cbed24f23 Added HasClient and HasForeign instances for NoContentVerb 2019-09-29 14:18:13 +03:00
Catherine Galkina
0ec5af11f5 Fixed docs for NoContent endpoints 2019-09-29 14:18:13 +03:00
Catherine Galkina
b440af900b Implemented NoContentVerb and server instances for it 2019-09-29 14:18:13 +03:00
Oleg Grenrus
164f75711b
Merge pull request #1224 from haskell-servant/forward-8.8
Forward 8.8
2019-09-29 14:15:58 +03:00
Oleg Grenrus
f089f8d0b2 Relax bounds for ghc-8.8 2019-09-29 00:43:53 +03:00
Oleg Grenrus
19dee18f71 Remove control-monad-omega dependency 2019-09-28 17:43:28 +03:00
Oleg Grenrus
56773a7649 Comment out cookbooks unbuildable with ghc-8.8 2019-09-28 17:43:28 +03:00
Oleg Grenrus
1dbd258510 Re-organise cabal.project (for GHC-8.8) 2019-09-28 17:43:28 +03:00
Oleg Grenrus
7f10f7fbc6 Bump servant-pipes version 2019-09-12 09:45:00 +03:00
Oleg Grenrus
09f452ba07 We use fail in servant-pipes 2019-09-12 09:44:54 +03:00
Oleg Grenrus
b04261bf4d Remove screenshot.png 2019-09-08 12:09:33 +03:00
Oleg Grenrus
6e3af85c93
Merge pull request #1216 from haskell-servant/servant-client-jsaddle
Add servant-jsaddle
2019-09-08 10:59:01 +02:00
Robert Hensing
e14a14fb5c Add servant-client-jsaddle
- servant-client-jsaddle: Remove some debug printing
- Update .travis.yml with haskell-ci
- servant-client-jsaddle: bump base bounds
- Add libgirepository1.0-dev
- servant-client-jsaddle: bump upper bound on containers
- servant-client-jsaddle: relax upper bound on semigroupoids
- servant-client-jsaddle: bump servant-client-core dependency
- servant-client-jsaddle: fix compatibility
- servant-client-jsaddle: import correct module
- .travis.yml: run xvfb for headless GUI testing
- Use ghcjs-dom instead of jsaddle-dom directly.
- Also use ghcjs-dom in tests.
- Ignore exceptions on send - they are handled in toResponse.
- Apparently ghcjs-dom does use the same exception these days.
- Got rid of obsolete comment.
- Make sure response gets handled even in case of exception.
- Update servant-client-jsaddle/servant-client-jsaddle.cabal

Dependingon ghcjs-dom avoids the dependency on jsaddle-dom on ghcjs and
have slightly better performance on ghcjs.

Co-Authored-By: Herbert Valerio Riedel <hvr@gnu.org>
2019-09-08 10:28:21 +03:00
Oleg Grenrus
12e64fd3d2
Merge pull request #1214 from haskell-servant/ghcjs-travis
Regenerate .travis.yml; GHC-8.6.5; add GHCJS
2019-09-07 14:19:14 +03:00
Oleg Grenrus
ecbc04bbee Regenerate .travis.yml; GHC-8.6.5; add GHCJS 2019-09-07 14:03:46 +03:00
Alp Mestanogullari
7de93f9a51
Merge pull request #1204 from przembot/fix/issue-1200
Fix Verb with headers checking content type differently (and add test for it)
2019-08-16 20:41:40 +02:00
Alp Mestanogullari
35cae91fdb
Merge pull request #1194 from rl-king/doc-test-warpserver
Testing cookbook recipe: use Warp.testWithApplication to prevent race condition
2019-08-16 20:39:56 +02:00
David Johnson
3712b200e2
Remove more unused extensions (#1203)
* Remove additional unused extensions.

* Add missing extensions
2019-08-15 03:08:12 -04:00
Przemysław Kopański
c780e349a0 Fix Verb with headers checking content type differently 2019-08-11 21:19:34 +02:00
David Johnson
680d218719
Merge pull request #1201 from haskell-servant/remove-unused-extensions
Remove unused extensions from servant cabal file.
2019-08-09 15:56:04 -04:00
David Johnson
aca1fb216c Remove unused extensions from servant cabal file.
Useful for cross-compilation.
2019-08-09 00:33:19 -04:00
Alp Mestanogullari
e9aec26fb2
Merge pull request #1198 from jakequade/cookbook-mysql-basic
Add mysql cookbook example
2019-08-07 10:41:27 +02:00
Jake Quade
7554ed4ae3 Add mysql cookbook example
Contributes a basic mysql-backed API with basic CRUD functionalities.
2019-08-05 15:32:57 +10:00
Oleg Grenrus
da6ea7b58f Add changelog for 0.16.2 2019-08-03 17:20:39 +03:00
Oleg Grenrus
4edd164650
Merge pull request #1197 from sopvop/headers-stream
HasClient instance for Stream with Headers
2019-07-29 09:37:22 +03:00
Leonid Onokhov
dbd92a4885 HasClient instance for Stream with Headers
Fixes #1170
2019-07-26 10:30:06 +00:00
rl-king
da174d9887 Use Warp.testWithApplication to prevent race conditions 2019-07-16 22:16:59 +02:00
jake
d4289931ad add stack to tutorial docs (#1177)
* add stack to tutorial docs

* adjusted stack install wording
2019-07-10 09:14:39 +02:00