Maxim Koltsov
e93376939c
Reenable cookbook-testing
2020-07-31 13:32:17 +03:00
Maxim Koltsov
d740c18992
Explicit export list in ErrorFormatter.hs
2020-07-30 19:05:46 +03:00
Maxim Koltsov
43cf589e0e
Bump version to 0.18
2020-07-30 19:03:58 +03:00
fisx
c5717a61a3
Merge pull request #1312 from maksbotan/maksbotan/configurable-combinator-errors
...
Configurable combinator errors
2020-07-30 17:15:59 +02:00
fisx
4a6db6e5ff
Merge pull request #1321 from andys8/patch-1
...
Docs: Hoist Server "Footnote"
2020-07-21 09:28:53 +02:00
Andy
55f5a78b1b
Docs: Hoist Server "Footnote"
2020-07-21 01:02:05 +02:00
Maxim Koltsov
cb0224d063
Add 8.10.1 to tested-with, haskell-ci regenerate
2020-07-17 17:17:45 +03:00
Maxim Koltsov
d94ad9df9b
Add cookbook entry for custom error formatters
2020-07-17 17:11:46 +03:00
Maxim Koltsov
bd2a813c1a
TEMP disable cookbook/testing
2020-07-17 17:11:46 +03:00
Maxim Koltsov
7218c66fd0
haskell-ci regenerate
2020-07-17 17:11:45 +03:00
Maxim Koltsov
1a09b1d3a4
Update GHC 8.8.x versions to 8.8.3
2020-07-17 17:10:31 +03:00
Maxim Koltsov
cb80fa6263
Add tests for custom error formatters
2020-07-17 17:10:31 +03:00
Maxim Koltsov
57f0b0b390
Make error messages from combinators configurable
...
Currently there is no way for Servant users to customize formatting of
error messages that arise when combinators can't parse URL or request
body, apart from reimplementing those combinators for themselves or
using middlewares.
This commit adds a possibility to specify custom error formatters
through Context.
Fixes #685
2020-07-17 17:10:31 +03:00
fisx
1f1f7f309a
Merge pull request #1318 from haskell-servant/ghc_810
...
Ghc 810
2020-07-03 08:12:40 +02:00
Matthias Fischmann
eaadc9ec1f
Relax upper bound for aeson.
2020-07-03 06:57:52 +02:00
Leif Warner
e3c4f5d85e
Bump doctest version used for ghc 8.10.1
2020-07-03 06:57:52 +02:00
Leif Warner
7ddc2e7b9e
Add GHC 8.10.1 to .travis.yml build.
2020-07-03 06:57:52 +02:00
Leif Warner
0530671ad6
Allow newer versions of base, template-haskell, lens, & unliftio-core
2020-07-03 06:57:52 +02:00
fisx
7f4ae61a01
Merge pull request #1310 from Taneb/knownstatus
...
Add KnownStatus typeclass
2020-06-13 17:02:41 +02:00
Nathan van Doorn
ff9da1cde4
Use GHC.TypeLits rather than TypeNats
2020-06-13 15:50:12 +01:00
Nathan van Doorn
6889d053c7
Add FlexibleInstances for earlier GHCs
2020-06-13 15:38:36 +01:00
Nathan van Doorn
a8184a2ee0
Add KnownStatus typeclass
2020-06-13 15:10:07 +01:00
Felix Yan
4b225c23d7
Allow aeson 1.5 in all components ( #1309 )
2020-06-12 15:02:39 -04:00
Felix Yan
c778a18372
Allow aeson 1.5 ( #1302 )
...
Builds fine and all tests pass here.
2020-06-12 02:38:09 -04:00
Jan Hrcek
8e7b538921
More cookbook improvements ( #1305 )
...
* Simplify code in CurlMock cookbook recipe
* Link to latest versions of packages on hackage
* Fix grammar in the OpenIdConnect recipe
* HasForeignType -> HasForeign
2020-06-10 12:36:23 -04:00
Jan Hrcek
b9d8fbcdc1
Fix typos and grammar ( #1304 )
...
* Fix typos and grammar
* Remove redundant words, fix articles
* More language fixes
* More typo fixes and resolve TODO about missing links
2020-06-06 00:43:51 -04:00
Teymour Aldridge
67cb564aef
Update README.md ( #1300 )
...
Grammatical fix to documentation
2020-06-06 00:30:16 -04:00
David Johnson
85599b944c
Build servant repo with nix. ( #1288 )
2020-06-06 00:04:32 -04:00
Domen Kožar
e7bdd097bd
Merge pull request #1287 from tfausak/patch-2
...
Allow lens 4.19
2020-04-29 21:39:42 +02:00
Domen Kožar
e05ac51c8f
Merge pull request #1286 from felixonmars/patch-2
...
Allow QuickCheck 2.14
2020-04-29 21:39:26 +02:00
Domen Kožar
40ac6fb080
Merge pull request #1293 from felixonmars/patch-3
...
Allow base64-bytestring 1.1
2020-04-29 21:39:01 +02:00
Felix Yan
a221320f5a
Allow base64-bytestring 1.1
...
Builds fine and all tests pass here.
2020-04-26 11:35:01 +08:00
Taylor Fausak
6bd3ee80ca
Allow lens 4.19
...
https://github.com/ekmett/lens/blob/v4.19.1/CHANGELOG.markdown
2020-04-05 12:15:30 -04:00
Felix Yan
8f60a02c25
Allow QuickCheck 2.14
...
Builds fine and all tests pass.
2020-04-02 06:58:22 +08:00
Oleg Grenrus
567eb733d2
Merge pull request #1279 from theophile-fl/docs/improve-genericServerT
...
docs(generic): Improve the documentation for `genericServerT`
2020-03-04 18:23:38 +02:00
Théophile Choutri
b3b3dc9f41
docs(generic): Improve the documentation for genericServerT
...
This commit adds an explanation and a link to the Servant Cookbook
to `genericServerT`.
Moreover, the `genericServer` and `genericServe`'s haddocks are
slightly edited to add a missing 'a'.
2020-03-04 15:53:37 +01:00
Oleg Grenrus
5998429e81
Merge pull request #1269 from haskell-servant/drop-allow-newer
...
Drop most allow-newer in cabal.project
2020-01-24 13:17:15 +02:00
Oleg Grenrus
7916051114
Drop most allow-newer in cabal.project
...
Dependencies are updated to allow servant-0.17
2020-01-24 12:54:40 +02:00
Oleg Grenrus
c15f550e1f
Incorrect lower bound in servant-server
2020-01-23 22:26:02 +02:00
Oleg Grenrus
b30286312f
Fix typo in servant-docs changelog
2020-01-23 14:10:20 +02:00
Oleg Grenrus
74aa1d52ec
Merge pull request #1268 from haskell-servant/version-0.17
...
Bump version to 0.17
2020-01-23 13:58:03 +02:00
Oleg Grenrus
b318e69bff
Flush changelog-d
2020-01-23 13:43:46 +02:00
Oleg Grenrus
b519014f96
Update other changelogs
2020-01-23 13:43:19 +02:00
Oleg Grenrus
8fc47edf99
Remove deprecated modules (end of 2019 is passed)
2020-01-23 13:14:24 +02:00
Oleg Grenrus
3bf4b100a8
Bump version to 0.17
2020-01-23 12:50:07 +02:00
Oleg Grenrus
837243631d
Merge pull request #1266 from haskell-servant/ghc-8.8.2
...
Use GHC-8.8.2 on Travis
2020-01-21 18:20:26 +02:00
Oleg Grenrus
d29b0cc8f1
Use GHC-8.8.2 on Travis
2020-01-21 16:52:20 +02:00
Oleg Grenrus
cc1e921824
Merge pull request #1264 from haskell-servant/remove-jsaddle
...
Remove servant-jssadle (moved to own repository)
2020-01-10 02:25:39 +02:00
Oleg Grenrus
21e6000b09
Remove servant-jssadle (moved to own repository)
2020-01-10 01:20:48 +02:00
Oleg Grenrus
831f46ab78
Merge pull request #1263 from haskell-servant/build-type-simple
...
Change build-type: Simple; run doctests on CI via haskell-ci
2020-01-10 01:18:39 +02:00