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
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
Oleg Grenrus
bc3f61d615
Add Servant.API.Modifiers to servant
...
Changes Header, ReqBody and QueryParam to take a modifier list.
Resolves https://github.com/haskell-servant/servant/issues/856
ResponseHeader story turns to be somewhat ugly, but it can be made
elegant when https://github.com/haskell-servant/servant/issues/841 is
implemnted, then we can omit HList aka Header Heterogenous List
implementation.
- servant-server changes:
Writing server side intepretations is quite simple using
`unfoldRequestArgument`, which makes Header and QueryParam look quite
the same.
`ReqBody` cannot be easily made optional with current design (what that
would mean: No Content-Type Header?), so that dimensions isn't used
there.
- Add HasLink for all the rest ComprehensiveAPI combinators
- Add 'tricky' Header', QueryParam' endpoints to ComprehensiveAPI
- servant-docs: Quick'n'dirty implementation. Don't use modifiers information (yet).
2018-01-25 09:10:11 +02:00
Oleg Grenrus
0a50e7582e
Merge pull request #893 from phadej/issue-887-type-error-servant-server-instances
...
Add two HasServer instances which won't ever exist
2018-01-22 19:48:46 +02:00
Oleg Grenrus
6533d4bee5
Void -> TypeError
...
This doesn't work on GHC-8.0. I have trouble finding a ticket though.
See
https://ghc.haskell.org/trac/ghc/wiki/Proposal/CustomTypeErrors#DesignquestionsRAE
2018-01-22 18:40:23 +02:00
Oleg Grenrus
43895c83f9
Add two HasServer instances which won't ever exist
...
Resolves https://github.com/haskell-servant/servant/issues/887
2018-01-20 18:35:57 +02:00
Oleg Grenrus
71bed63933
Merge pull request #891 from phadej/one-stack-yaml
...
Leave only single stack.yaml
2018-01-18 11:18:35 +02:00
Oleg Grenrus
389914b50d
Leave only single stack.yaml
2018-01-18 09:50:02 +02:00
Oleg Grenrus
6c721bd017
Merge pull request #889 from mgsloan/remove-default-extensions
...
Remove usage of default exts, now "stack ghci" loads all packages together
2018-01-18 09:27:58 +02:00
Alp Mestanogullari
345dc8a1bd
Merge pull request #890 from mgsloan/kinder-type-checking
...
Kinder type checking
2018-01-18 08:25:26 +01:00
Michael Sloan
e38892a084
Remove usage of default exts, now "stack ghci" loads all together
2018-01-17 21:16:38 -08:00
Michael Sloan
7e0ad51b62
Use (a :: *) on phantom type variables for kinder type checking #887
2018-01-17 21:16:21 -08:00
Oleg Grenrus
a6cd6fcdc4
Merge pull request #892 from phadej/fix-travis-2018-01-17
...
Fix travis, disallow memory-0.14.12
2018-01-18 00:46:43 +02:00
Oleg Grenrus
98a12c328b
Reinstate cookbook testing to CI
2018-01-18 00:21:13 +02:00
Oleg Grenrus
3c7e7775fe
Fix travis, disallow memory-0.14.12
...
Also remove duplicate bug-reports field
2018-01-17 20:33:49 +02:00