Commit graph

1352 commits

Author SHA1 Message Date
Arian van Putten
05379ed7e3 Replace all occurances of () with NoContent
We use NoContent to signify an empty response nowadays. This commit
replaces all occurences of () with NoContent so that all packages use
the new semantics.
2016-07-10 16:58:59 +02:00
Sönke Hahn
d45c7c5897 support http-client-0.5 2016-07-09 18:36:00 +02:00
Oleg Grenrus
a7a3294752 Add bounds to servant, servant-server and servant-clients
(cherry picked from commit a0d5ed9aea)
2016-07-09 18:33:19 +02:00
Julian Arni
af7391c7a9 Merge pull request #541 from mrkkrp/add-has-link-instance-for-basic-auth
Add ‘HasLink’ instance for ‘BasicAuth’
2016-07-07 18:23:11 -03:00
mrkkrp
9cabc8d320 Add ‘HasLink’ instance for ‘BasicAuth’
Close #539.
2016-07-07 23:42:37 +03:00
Christian Marie
f0d14a7d85 Merge pull request #532 from phadej/patch-1
Add upper bounds http-client <0.5
2016-07-06 21:14:28 +10:00
Joseph Kachmar
a8e1315ee7 Fix servant-js examples
The Servant.JS Counter example was broken:

- `axios` was not completely applied. It now uses `defAxiosOptions`
similarly to the `angular` example
- `OverloadedStrings` was required, but not included
2016-07-05 11:34:30 -04:00
Oleg Grenrus
dc9afe6405 Add upper bounds http-client <0.5 2016-07-05 12:27:30 +03:00
Sönke Hahn
5effdfdbbb Rename type variables 'layout' and 'sublayout' to 'api' 2016-07-03 22:46:46 +08:00
Julian K. Arni
023368c396 CPP deprecated parseUrl function. 2016-07-03 22:43:52 +08:00
Sönke Hahn
0f1e5475b9 doc: add two more examples for servant projects 2016-07-03 11:53:20 +08:00
Julian Arni
2d8fa20901 Merge pull request #526 from ehamberg/mimerender-doc-fix
Fix example `MimeRender` instance
2016-07-01 13:45:03 +02:00
Erlend Hamberg
d81e15b5e5 Fix example MimeRender instance
The  `MimeRender` instance in the documentation was incomplete and expected one more argument.
2016-06-14 14:20:35 +02:00
Sönke Hahn
3c27ff5a32 added test script for stack files (and fixed stack for ghc-7.8) 2016-05-29 00:03:46 +08:00
Oleg Grenrus
778ec34156 Use nightly-2016-05-27 for in stack-ghc-8.0.1.yaml 2016-05-28 23:36:41 +08:00
Christian Kjær
323883556c Update stack.yaml to LTS 6.0
All the missing extra-deps are now on Stackage, and the ones that were 
forced to a later version have also been updated, so the LTS should suffice.
2016-05-28 01:03:48 +02:00
Julian Arni
46c8b26c92 Merge pull request #518 from haskell-servant/jkarni/fix-client-readme
Remove host param from servant-client README.
2016-05-26 13:06:55 +02:00
Julian K. Arni
bd3670f54d Remove host param from servant-client README. 2016-05-25 17:38:25 +02:00
Arian van Putten
6665f77545 Merge pull request #515 from league/patch-1
Fix minor typo in tutorial
2016-05-25 09:36:25 +02:00
Christopher League
69d3e7355a Fix minor typo in tutorial 2016-05-24 23:11:54 -04:00
Sönke Hahn
6cc12807c5 Merge pull request #513 from haskell-servant/jkarni/source-repo-cabal
Add source-repo and bug report
2016-05-23 18:49:11 +08:00
Oleg Grenrus
73bc0e3c1d Remove servant-blaze and servant-lucid 2016-05-13 14:38:00 +03:00
Julian K. Arni
ccde5b0898 Add source-repo and bug report
For servant-foreign and servant-mock.
2016-05-13 12:45:30 +02:00
Julian Arni
461d43693d Merge pull request #511 from phadej/remove-servant-cassava
Remove servant-cassava, moved to own repository
2016-05-13 12:43:00 +02:00
Oleg Grenrus
5a3b944067 Remove servant-cassava, moved to own repository 2016-05-13 13:00:32 +03:00
Julian Arni
ea36656dcd Merge pull request #505 from haskell-servant/jkarni/reexport-application
Re-export Application.
2016-05-12 10:38:46 +02:00
Julian Arni
ff40b327bc Merge pull request #504 from haskell-servant/jkarni/doc-fixes
Doc fixes
2016-05-12 09:53:35 +02:00
Julian K. Arni
211254512e Re-export Application. 2016-05-11 12:17:36 +02:00
Julian K. Arni
aed6f7b910 Review fix 2016-05-11 10:17:24 +02:00
Sönke Hahn
d8a4cce691 version bump 2016-05-11 12:09:25 +08:00
Sönke Hahn
5579c21050 added changelog entries for 0.7.1 2016-05-11 12:09:25 +08:00
Sönke Hahn
ff4fb00f76 fix haddocks for Servant.API.Header (fixes #491) 2016-05-11 11:39:23 +08:00
Julian K. Arni
7174f5185d Changelog updates for GHC 8.0 support. 2016-05-10 22:45:29 +02:00
Julian Arni
e3c5a78a45 Merge pull request #473 from phadej/travis-ghc-8.0
Add ghc-8.0.1 to travis matrix
2016-05-10 22:44:56 +02:00
Oleg Grenrus
a5cf899eb8 Add RouterSpec and StreamingSpec to servant-server.cabal 2016-05-10 19:14:04 +03:00
Oleg Grenrus
411dff06be Add stack-ghc-8.0.1.yaml 2016-05-10 19:09:59 +03:00
Oleg Grenrus
008f2434ee Add -Wno-redundant-constraints 2016-05-10 19:09:59 +03:00
Oleg Grenrus
fd19694ed5 Make doctests accept GHC-8.0 formatted type errors 2016-05-10 19:09:59 +03:00
Oleg Grenrus
7ef27152b9 Add ghc-8.0.1 to travis matrix 2016-05-10 19:09:59 +03:00
Julian Arni
1955c5af35 Merge pull request #478 from haskell-servant/enter-relocation
Relocate Enter to `servant` package
2016-05-10 17:13:14 +02:00
Amar
e9cbb85ce1 Add changelog entries 2016-05-10 22:19:27 +08:00
Julian Arni
d84604b944 Merge pull request #503 from haskell-servant/jkarni/vault-link
Link to vault package.
2016-05-10 13:41:00 +02:00
Julian K. Arni
e0ba34372e Remove link to 0.4 version of tutorial.
Stackage has 0.5 already, and the 0.4 version has numerous mistakes.
2016-05-10 13:39:01 +02:00
Julian K. Arni
d4c5edea25 Change throwErr to throwError. 2016-05-10 13:30:57 +02:00
Julian K. Arni
efbe6fd498 Use NoContent and fix content-type lists in docs. 2016-05-10 13:21:34 +02:00
Julian Arni
6702d7ed6d Merge pull request #497 from jekor/master
support safeLink for RemoteHost
2016-05-10 12:55:59 +02:00
Julian K. Arni
f2c925f39a Link to vault package. 2016-05-10 12:48:28 +02:00
Julian Arni
3ae3e43ff7 Merge pull request #502 from haskell-servant/jkarni/bound-mock
Make servant-mock bounds match the other packages.
2016-05-10 12:37:29 +02:00
Julian K. Arni
753ad402e1 Make servant-mock bounds match the other packages.
This is causing build failures for some.
2016-05-09 19:28:44 +02:00
Chris Forno
70d2ccaae3 support safeLink for RemoteHost 2016-05-04 21:03:31 +08:00