Commit Graph

1610 Commits

Author SHA1 Message Date
Oleg Grenrus
7e5eca3d1c Merge pull request #727 from declension/606-fix-client-documentation
Improve Client docs
2017-05-05 10:19:02 +03:00
Oleg Grenrus
d0048057cd Merge pull request #736 from phadej/entered
Redo Enter
2017-05-05 10:17:34 +03:00
Oleg Grenrus
f26a2d10c5 Merge pull request #724 from Philonous/header-parsing
Throw 400 on header parse failure
2017-05-05 10:17:18 +03:00
Oleg Grenrus
8aef5f67d7 Merge pull request #737 from phadej/generics-sop-0.3
Allow generics-sop-0.3
2017-04-29 16:07:02 +03:00
Oleg Grenrus
f4b6144a11 Allow generics-sop-0.3 2017-04-29 15:39:25 +03:00
Oleg Grenrus
c01dca6d27 Parens 2017-04-28 14:55:13 +03:00
Oleg Grenrus
e2665391f9 Redo Enter 2017-04-28 14:31:57 +03:00
Oleg Grenrus
832b359380 Merge pull request #730 from phadej/aeson-1.2
Allow aeson-1.2
2017-04-23 22:18:08 +03:00
Oleg Grenrus
df0755c557 Workaround TypeError doctest failures 2017-04-23 21:41:39 +03:00
Oleg Grenrus
c5cd6a2172 Allow semigroupoids-5.2 2017-04-23 21:02:51 +03:00
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