Commit graph

1450 commits

Author SHA1 Message Date
Oleg Grenrus
e49d491164 Allow aeson-1.2 2017-04-17 21:35:20 +03:00
Nick B
fa422bb298 Docs: Updated wording as per PR comments. 2017-04-11 08:34:57 +01:00
Nick B
45a7bb1b73 Improve Client docs
* Use suggestion in #606 to document pattern matching client behaviour better
 * Helpful suggestion of reading in order in the index
 * A couple of extra internal links
 * Fox some typos / punctuation.

Fixes #606
2017-04-07 21:02:57 +01:00
Ivan Lazar Miljenovic
16a45e0d0f Import correct Servant module in README 2017-04-07 10:33:22 +10:00
Philipp Balzarek
b3c1f95636 update CHANGELOG.md 2017-04-06 14:53:01 +02:00
Philipp Balzarek
08786aadbe Check for parse errors in HasServer Header instance 2017-04-06 14:52:55 +02:00
Oleg Grenrus
86ad89b15c Merge pull request #722 from RyanGlScott/master
Make servant-foreign build on GHC 8.2
2017-04-01 22:14:47 +03:00
Ryan Scott
ec4573d988 Make servant-foreign build on GHC 8.2 2017-04-01 13:56:08 -04:00
Alp Mestanogullari
f05b394261 Merge pull request #720 from mschristiansen/master
Add HasLink instance for AuthProtect.
2017-03-28 11:53:52 +02:00
Mikkel Christiansen
6dd473d980 Add HasLink instance for AuthProtect. 2017-03-27 21:52:29 +02:00
Al Zohali
b806339200 fix minor typos 2017-03-19 23:49:52 +03:00
Oleg Grenrus
b0dbd79a06 Merge pull request #709 from declension/359-upgrade-pygments
Use newer release of Pygments
2017-03-13 15:59:50 +02:00
Nick B
3115b57145 Use newer release of Pygments
* Includes [Haskell types fix by @teh](https://bitbucket.org/birkenfeld/pygments-main/pull-requests/685/two-haskell-fixes/diff)
 * Local docs build then exhibit proper Haskell highlighting including type literals etc

 Fixes #359
2017-03-11 14:53:48 +00:00
Oleg Grenrus
be723b85bc Merge pull request #702 from cotrone/master
Fix logWriterTLNat documentation typo
2017-02-15 19:30:49 +02:00
Kevin Cotrone
1ddda2ff75 Fix logWriterTLNat documentation typo 2017-02-15 11:19:35 -06:00
Edsko de Vries
507f021919 Make sure path components get escaped
The derived client for an API containing `Capture` has a bug: it does not
escape characters, so that if the string is "a/b", the URL becomes
`".../a/b/..."` instead of `".../a%2Fb/..."`, causing the corresponding servant
server to return a 404.

This relies on https://github.com/fizruk/http-api-data/pull/47
2017-02-07 16:51:56 +01:00
Oleg Grenrus
8a3ecb2ebc Classify changelog into breaking and other changes 2017-02-01 09:06:30 +02:00
Oleg Grenrus
736918a694 Tweaks for 0.10 (#694)
* Add Servant category to in-repo packages

* Add version table
2017-01-30 19:12:39 +02:00
Oleg Grenrus
29f94a6440 Briefly correct ExceptT mentions into Handler (#693) 2017-01-30 15:45:13 +02:00
Oleg Grenrus
2fd97570f0 Update changelog for 0.10 (#691) 2017-01-30 08:45:58 +02:00
Christian Takle
cdda7bcf8d Make type consistent with whats written on line 20 (#688)
Make type consistent with whats written on line 20
2017-01-29 20:59:41 +02:00
Oleg Grenrus
ca2eb0461e Merge pull request #687 from phadej/bump-version-0.10
Bump version to 0.10, preparation for the release
2017-01-27 15:49:35 +02:00
Oleg Grenrus
a2e2459c1e add tutorial to ghc-8.0.1 stack.yaml 2017-01-27 15:32:41 +02:00
Oleg Grenrus
93df8d22df Bump version to 0.10 2017-01-26 20:10:01 +02:00
Oleg Grenrus
16cb26608d Merge pull request #686 from Tarrasch/fixes-to-tutorial
Fixes to tutorial (Client.lhs file)
2017-01-25 11:28:30 +02:00
Arash Rouhani
a425c3ae43 tutorial: Update type of BaseUrl to real type
I got confused to why there was one more argument passed to
constructor than the type takes. Turns out the docs were just a bit out
of date.
2017-01-25 09:53:54 +07:00
Arash Rouhani
e26f123555 tutorial: Make "Position" type consistent
I think this change was just overlooked in
https://github.com/haskell-servant/servant/pull/355

Without this change, running the server from Server.lhs and client from
Client.lhs will result in something like

    decodeError = "Error in $: The key \"x\" was not found
2017-01-25 09:53:54 +07:00
Oleg Grenrus
89cb3065de Merge pull request #682 from phadej/comprehensive-foreign
Add ComprehensiveAPI test for servant-foreign
2017-01-22 12:54:53 +02:00
Oleg Grenrus
0b981322c9 Merge pull request #684 from phadej/contributing
Update contributing
2017-01-22 01:10:17 +02:00
Alp Mestanogullari
fd08f45096 Merge pull request #681 from phadej/router-queryparams-tests
Add test illustrating that query params don't affect router grouping
2017-01-21 14:38:37 +01:00
Oleg Grenrus
c4feed84f9 Mention servant-contrib repository 2017-01-20 20:20:10 +02:00
Oleg Grenrus
dd1dcf5c4c Mention that we are --pedantic an three GHCs 2017-01-20 20:19:45 +02:00
Oleg Grenrus
3d0ffc7ada Advertise --fast --pedantic with stack 2017-01-20 20:16:32 +02:00
Oleg Grenrus
25110fefe4 Merge pull request #679 from phadej/semigroup
Semigroup
2017-01-20 15:00:27 +02:00
Oleg Grenrus
6fafaec51a Change Semigroup (ClientM a) to Alt ClientM 2017-01-20 14:26:26 +02:00
Oleg Grenrus
da1b1980eb Add ComprehensiVeAPI test for servant-foreign 2017-01-20 00:09:54 +02:00
Oleg Grenrus
7ac095f19a Add test illustating that query params don't affect router grouping 2017-01-19 23:07:11 +02:00
Oleg Grenrus
fdf86b0e15 Add Semigroup instances 2017-01-19 20:11:54 +02:00
Oleg Grenrus
dc4b4be42e Improve formatting of haddock 2017-01-19 19:04:36 +02:00
Oleg Grenrus
22b4d1301d Merge pull request #670 from phadej/pull-649
Throw error on param parse failure.
2017-01-19 11:44:03 +02:00
Oleg Grenrus
58e931f48a Resolve todos 2017-01-19 11:26:50 +02:00
Philipp Balzarek
a61551b87f update servant-server CHANGELOG.md 2017-01-19 11:09:30 +02:00
Philipp Balzarek
3a0cbdd0f6 throw 400 on query parameter parse failure 2017-01-19 11:09:30 +02:00
Oleg Grenrus
8c3291355b Merge pull request #675 from phadej/resourcet
Use resourcet for resource managment
2017-01-19 10:27:07 +02:00
Oleg Grenrus
6527937e27 More robust testing, via resource state machine 2017-01-19 00:57:31 +02:00
Oleg Grenrus
d4fe0e582a Fix stylistic issues 2017-01-19 00:57:31 +02:00
Oleg Grenrus
2caabad61a Expose ResourceT, fix the test 2017-01-19 00:57:31 +02:00
Oleg Grenrus
091f6f4412 Add failing test 2017-01-19 00:57:31 +02:00
Oleg Grenrus
bc6ff20f4d Use resourcet for resource managment 2017-01-19 00:57:31 +02:00
Oleg Grenrus
484bc9cb64 Merge pull request #669 from phadej/json-with-charset
Change JSON content type to add the charset
2017-01-18 13:48:07 +02:00