Commit Graph

120 Commits

Author SHA1 Message Date
Oleg Grenrus
638580ba49
Merge pull request #62 from haskell-servant/servant-0.16
Allow servant-0.16
2019-02-28 00:05:15 +02:00
Oleg Grenrus
8803b1c09e Allow servant-0.16 2019-02-27 20:42:16 +02:00
parsonsmatt
e69d4026af v0.0.7.3 2018-10-24 07:48:05 -06:00
Oleg Grenrus
98fd048bdc
Merge pull request #59 from haskell-servant/ghc-8.6
Support GHC-8.6
2018-10-15 21:13:54 +03:00
Oleg Grenrus
902d7a7583 Support GHC-8.6 2018-10-15 17:51:44 +03:00
parsonsmatt
bc36737c45 Clean up stack.yaml and dependencies 2018-10-12 13:34:13 -06:00
parsonsmatt
0190e5e737 QuickCheck 2.12 Compatibility
This commit relaxes the bounds on QuickCheck, allowing it to be
compatible with 2.12. In order to be compatible with 2.12, we had to CPP
some definitions that referenced code that was deleted.
2018-10-12 13:34:13 -06:00
Alp Mestanogullari
7d6a97af5a
Merge pull request #57 from Phenitei/notAllowedBug
Fix #56: a notAllowedContainsAllowHeader bug
2018-08-29 12:01:14 +02:00
Joachim Desroches
9743ac5ec4 Fix a bug in onlyJsonObjects that made it fail if there was no
content-type.
2018-08-27 22:31:18 -06:00
Joachim Desroches
e3bf044741 Add test for onlyJsonObjects when no content-type header is present. 2018-08-27 22:31:18 -06:00
Joachim Desroches
89c9170bdf
Fix #56
A bug where the request printed alongside a failure in
notAllowedContainsAllowHeader was not the request causing the failure.
2018-08-27 18:12:22 +02:00
Oleg Grenrus
35c98622fc
Merge pull request #53 from haskell-servant/servant-0.14
Support servant-0.14
2018-06-19 14:51:14 +03:00
Oleg Grenrus
cb06284c75 Support servant-0.14 2018-06-19 13:05:16 +03:00
Matt Parsons
4dfcc862e7
v0.0.7.2 (#51)
* Prepare for 0.0.7.2 release
2018-05-10 11:32:50 -06:00
Matt Parsons
ae40f3d9f7
Fix stack.yaml file (#46)
* Fix stack.yaml file

* Remove unfixable stack files
2018-05-10 10:09:12 -06:00
Matt Parsons
d66c2d278a
Safer MVar usage (#49)
* Fix stack.yaml file

* Remove unfixable stack files

* Resolve ambiguous import in GHCi

* handle MVars without error

* Consistent messaging

* Add comment
2018-05-10 10:08:06 -06:00
Julian Arni
78f30bc997
Merge pull request #50 from parsonsmatt/matt/configurable-manager
Allow clients to pass a manager in
2018-05-10 14:37:18 +02:00
parsonsmatt
b4a69516d2 Allow clients to pass a manager in 2018-05-09 14:30:38 -06:00
Oleg Grenrus
226c7647e1
Merge pull request #44 from haskell-servant/base-compat-0.10
Allow base-compat-0.10
2018-04-13 18:29:29 +03:00
Oleg Grenrus
26523832f8 Allow base-compat-0.10 and temporary-1.3
Use base-compat-batteries
2018-04-12 09:29:23 +03:00
Oleg Grenrus
d262cead57
Merge pull request #43 from haskell-servant/ghc-8.4.1
Support GHC-8.4.1
2018-03-23 08:21:16 +02:00
Oleg Grenrus
4757df4195 Support GHC-8.4.1 2018-03-23 08:13:36 +02:00
Oleg Grenrus
76a0394cea
Merge pull request #42 from haskell-servant/servant-0.13
Support for servant-0.13
2018-02-09 21:43:51 +02:00
Oleg Grenrus
d46b7183ad Support for servant-0.13 2018-02-09 20:26:02 +02:00
Julian K. Arni
35bd148037 Changelog and bump version 2017-12-14 21:37:18 -08:00
Julian K. Arni
bc301ad7c1 Bump to 0.0.4.0 2017-12-14 21:35:11 -08:00
Julian Arni
0f334449cb
Merge pull request #40 from Phenitei/expose-missing-predicates
Add forgotten predicates to export list.
2017-12-14 21:33:22 -08:00
Joachim Desroches
4f24452d03
Add forgotten predicates to export list.
The honoursAcceptHeader and getsHaveLastModifiedHeader predicates had
been omitted when writing the export list, making it necessary to import
Servant.QuickCheck.Internal.Predicates to have access to them.
2017-12-15 00:22:57 +01:00
Oleg Grenrus
6e6595f68c
Merge pull request #37 from phadej/servant-0.12
Support for servant-0.12
2017-11-08 13:27:13 +02:00
Oleg Grenrus
53785354d3 Add build-tool-depends 2017-11-08 13:02:46 +02:00
Oleg Grenrus
026d4b8bb4 Use new-build based .travis.yml 2017-11-08 11:39:45 +02:00
Oleg Grenrus
3571f543fd Support for servant-0.12 2017-11-08 10:49:31 +02:00
Erik
d65abc856f [READY] Fixes #7: Add HTML missing Doctype predicate with tests (#33)
* Add HTML missing Doctype predicate with tests

* Don't use 'fail' in predicates

* Add RFC reference and description for HTML doctype

* Only take enough of respBody to compare to doctype string
2017-10-21 15:20:56 -07:00
Julian K. Arni
54a05a53a9 Bump version 2017-10-19 10:12:36 -07:00
Julian Arni
4765664a3e Merge pull request #32 from adinapoli-iohk/support-servant-0.11
Tentatively support Servant 0.11
2017-10-19 10:11:40 -07:00
Alfredo Di Napoli
199f6cc51e
Code review changes 2017-10-19 09:20:49 +02:00
Julian Arni
fb14b3c7ea Merge pull request #35 from haskell-servant/issue-34/coverage
Add coverage reports
2017-10-18 11:49:19 -07:00
Julian K. Arni
cb4555d6ba Add coverage reports 2017-10-18 11:30:13 -07:00
Alfredo Di Napoli
b0febe7c58
Tentatively support Servant 0.11 2017-10-18 14:36:45 +02:00
Julian K. Arni
9ebfe9d630 Bump version 2017-10-16 09:13:22 -07:00
Julian K. Arni
fa1a03257e Documenation for jsonEquality 2017-10-16 09:11:43 -07:00
Julian K. Arni
cce3bef538 Update changelog 2017-10-16 09:04:45 -07:00
Julian Arni
40c576cf15 Merge pull request #30 from haskell-servant/jsonEquality
Add jsonEquality to compare JSON APIs
2017-10-16 08:58:53 -07:00
Erik Aker
6c163dc981 Utilize new FailedWith constructor to fix json equality tests 2017-10-15 20:31:52 -07:00
Erik Aker
3f6856103a Add sanity check test in there to prove jsonEquality really is doing something different 2017-10-15 20:24:21 -07:00
Erik Aker
482656b35e Create jsonEqaulity function and add some tests for similar JSON values but slightly different whitespace, ordering 2017-10-15 20:24:21 -07:00
Julian Arni
e7206ec875 Merge pull request #29 from haskell-servant/issue-27/supportHspec2.4
Upgrade hspec to 2.4.4 and use safeEvaluateExample for tests
2017-10-15 18:45:03 -07:00
Julian K. Arni
a0ec1777a7 Compatibility with earlier versions of hspec.
Adds CPP to the tests to allow for upstream changes to the 'Result'
    type.
2017-10-15 17:49:47 -07:00
Erik Aker
f3b4fcf7a9 Resolve merge conflicts with unbiasedGeneration merge 2017-10-14 08:16:30 -07:00
Julian Arni
66ce50993f Unbias generation of requests. (#19)
* Unbias generation of requests:

     ...so that each endpoint is picked with the same frequency.

     Also, include a test for unbiased generation that measures mean and variance of results.
2017-10-14 07:53:04 -07:00