Commit graph

1534 commits

Author SHA1 Message Date
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
Oleg Grenrus
7793b52d23 Change JSON content type to add the charset 2017-01-18 13:40:18 +02:00
Oleg Grenrus
6d0aa92517 Merge pull request #674 from phadej/delayed-cleanup-ioref-tests
Delayed cleanup ioref tests
2017-01-18 10:36:12 +02:00
Oleg Grenrus
60ee1ab570 Rewrite delayed cleanup tests using IORefs 2017-01-18 10:26:23 +02:00
Alp Mestanogullari
bc13d5cd3e warning free 2017-01-17 23:10:29 +02:00
Alp Mestanogullari
92786feead add some basic tests for the cleanup machinery in Delayed 2017-01-17 22:29:37 +02:00
Alp Mestanogullari
5d1f03ba1a use an ioref to store clean up actions instead of a field in Delayed, allowing early clean up registration 2017-01-17 22:29:37 +02:00
Alp Mestanogullari
7fb11dae3c make cleanup in Delayed more resistant to exceptions 2017-01-17 22:29:37 +02:00
Alp Mestanogullari
6ab0296d62 fix a warning 2017-01-17 22:29:37 +02:00
Alp Mestanogullari
124c6de1eb add a field in Delayed that lets us specify a clean up action that can use the result of bodyD to perform some IO clean up operation 2017-01-17 22:29:36 +02:00
Oleg Grenrus
cce0f59ec8 Merge pull request #658 from haskell-servant/file-serving
Revamp file serving module
2017-01-17 22:09:57 +02:00
Oleg Grenrus
c50fdefe32 Merge pull request #640 from fierce-katie/generic-client
Generic client
2017-01-17 17:06:17 +02:00
Catherine Galkina
af1b267726 Fix servant-client tests after rebase 2017-01-17 16:34:30 +03:00
Catherine Galkina
aa4b10c9ca Add comments for GClientLikeP and GClientLikeL classes 2017-01-17 16:29:24 +03:00
Catherine Galkina
9d52cff1bb Fix ghc-7.8.4 build 2017-01-17 16:29:24 +03:00
Catherine Galkina
01324754da Update comment in Servant.Client.Generic 2017-01-17 16:29:24 +03:00
Catherine Galkina
5fa99bee93 Expand left-nested APIs by default 2017-01-17 16:29:24 +03:00