Commit graph

2046 commits

Author SHA1 Message Date
Oleg Grenrus
7634e08352 Make ComprehensiveAPI part of public API
We cannot simply tweak it, it will break tests of other packages.
Including packages not in this repository.
2018-11-06 13:35:47 +02:00
Alp Mestanogullari
56d95ae1ea
Merge pull request #1068 from cocreature/monadmask
Add MonadMask instance for Handler
2018-11-06 07:36:41 +01:00
Oleg Grenrus
3f56b86218
Merge pull request #1069 from phadej/re-enable-recipes
Re-enable some previously GHC-8.6 blocked recipes
2018-11-05 23:44:48 +02:00
Oleg Grenrus
f63610a513 base-compat in hoist-server-with-context 2018-11-05 19:20:18 +02:00
Oleg Grenrus
79caafe3fd Re-enable some previously GHC-8.6 blocked recipes 2018-11-05 17:52:01 +02:00
Oleg Grenrus
e94919f4b3
Merge pull request #991 from phadej/servant-machines
Streaming refactoring
2018-11-05 16:23:15 +02:00
Oleg Grenrus
45c1cbdfd5 Refactor Stream stuff
- Introduce SourceT, which is simple variant of "correct `ListT`".
  There are another variants possible (like in `streaming`),
  but I'm not sure there's much real difference.

- Introduce `Codensity`. There's a flag if people don't want to depend
  on `kan-extensions`.

- `StreamGenerator` and `ResultStream` are both `SourceT`.
  `Stream` combinator in `servant-client` uses `Codensity` for CPS.

- Add servant-machines, servant-conduit, servant-pipes
- Add streaming cookbook: just code, no explanations.
- Add a script to run streaming 'benchmarks'
2018-11-05 15:48:47 +02:00
Moritz Kiefer
95e66fa398 Add MonadMask instance for Handler 2018-11-03 21:41:23 +01:00
Oleg Grenrus
58ccae1ca0
Merge pull request #1043 from rsoeldner/fix-markdown
Fix markdown indentation and compilation warning
2018-10-31 18:50:21 +02:00
Dan Burton
e604b930dc
Add lookupResponseHeader 2018-10-28 01:36:40 -04:00
Oleg Grenrus
79bbcaf819
Merge pull request #1058 from k-bx/1055-custom-monad
genericServeT and docs on using a custom monad with generics
2018-10-26 13:50:19 +03:00
Oleg Grenrus
b440691d8e Add more (test) extra-deps to stack.yaml, thanks to k-bx 2018-10-26 13:48:01 +03:00
Kostiantyn Rybnikov
9d06e42525 Add ReaderT import 2018-10-26 13:05:46 +03:00
Kostiantyn Rybnikov
5620d2d781 Rename one function, run custom monad code from main 2018-10-26 13:05:46 +03:00
Kostiantyn Rybnikov
c1e15ef4c3 genericServeT and docs on using a custom monad with generics 2018-10-26 13:05:46 +03:00
Oleg Grenrus
56c2f4eda3
Merge pull request #1062 from phadej/enable-testing-recipe
Enable testing recipe
2018-10-26 13:01:52 +03:00
Oleg Grenrus
a4151acf9e Enable testing recipe 2018-10-25 23:16:16 +03:00
Oleg Grenrus
28f0cdb5d2 Testing recipe works only on GHC-8.4. Someone please fix it. 2018-10-23 15:52:00 +03:00
Alp Mestanogullari
98f039a126
Merge pull request #1059 from alexryndin/patch-1
Remove redundant point
2018-10-22 21:11:26 +02:00
Alex Ryndin
0675c62c38
Remove redundant point
# Remove redundant point
There are so much waste in the universe and we need to change the situation. The better usage the better habits of one leads a positive attitude of everyone.
# Improve disk space usage
You always hear guys complain about the cost of storage so it's appreciated as fuck. Decreasing line by 1 symbol leads to less disk space usage (up to 2 bytes at a time)!
2018-10-22 17:32:06 +03:00
Oleg Grenrus
7561b55e14
Merge pull request #1052 from domenkozar/export-GetHeaders-prime-master
ResponseHeaders: export GetHeaders'
2018-10-15 21:09:35 +03:00
Oleg Grenrus
2e5f8e7c5f Add cabal.ghcjs.project 2018-10-15 19:24:26 +03:00
Oleg Grenrus
788e0248f1 8.4.4 job 2018-10-15 18:15:52 +03:00
Alp Mestanogullari
9d63445fbf
Merge pull request #1050 from erewok/testing-cookbook
Add Testing cookbook
2018-10-15 07:05:30 +02:00
Erik Aker
bb365159f3 Pull out instance for hopefully more clarity 2018-10-14 13:27:33 -07:00
Erik Aker
02da07f95f small typo cleanups 2018-10-14 11:04:37 -07:00
Erik Aker
64f89f600a Use a different server-running method and add bulleted list of strategies at start 2018-10-14 10:19:49 -07:00
Domen Kožar
c7f616ea2d
ResponseHeaders: export GetHeaders' 2018-10-14 12:15:41 +01:00
Oleg Grenrus
26b98f0e95
Merge pull request #1046 from phadej/fosskers/ghc-86-bounds
Fosskers/ghc 86 bounds
2018-10-14 11:41:59 +03:00
Erik Aker
0d0fd0de82 Clean up the comments 2018-10-13 06:35:56 -07:00
Erik Aker
18456baac5 Clean up the language so it reads better 2018-10-12 17:32:20 -07:00
Erik Aker
89336aee96 Make tests run and include failings for illustrative purposes 2018-10-12 08:48:25 -07:00
Erik Aker
43af1d0c9e WIP Commit: must finish servant-quickcheck tests 2018-10-11 20:51:30 -07:00
Oleg Grenrus
45e7d58d77 Fix travis
Disable recipes:
- hoist-server-with-context
- jwt-and-basic-auth
- pagination

Add allow-newer:
- servant-js:base
2018-10-08 09:58:01 +03:00
Colin Woodbury
7150a5bec3
Remove Travis references to tutorial
- It depends on `servant-js`, which is behind on its `base` bound.
2018-10-07 13:12:18 -07:00
Colin Woodbury
c1ef734fa0
Jigger some base bounds for CI 2018-10-07 13:02:37 -07:00
Colin Woodbury
7428b76dd6
Remove Travis references to jwt-and-basic-auth 2018-10-07 12:40:31 -07:00
Colin Woodbury
42aac2bb52
Remove Travis references to hoist-server-with-context
- This is in an attempt to get cookbooks building with GHC 8.6.
2018-10-07 12:30:31 -07:00
Colin Woodbury
b2ed29b0b9
Update Travis config for GHC 8.6 2018-10-07 11:33:05 -07:00
Colin Woodbury
ef573bab0e
Update tested-with fields 2018-10-07 10:44:41 -07:00
Colin Woodbury
dec0636611
Update bounds for GHC 8.6 2018-10-07 10:38:36 -07:00
Oleg Grenrus
80c1ec14c8 Regenerate .travis.yml 2018-10-04 13:04:00 +03:00
Oleg Grenrus
e87bf9b600
Merge pull request #1044 from erewok/hoistWithContextCookbook
Add new cookbook recipe for hoistServerWithContext
2018-10-04 12:22:53 +03:00
Erik Aker
0c4dc88592 Add new cookbook recipe for hoistServerWithContext 2018-10-03 18:00:06 -07:00
Robert Soeldner
4e5e0a5324 Update example output 2018-09-29 17:50:23 +02:00
Robert Soeldner
a2f8c2c9b4 Fix markdown code indent, drop unused var 2018-09-29 17:49:06 +02:00
Oleg Grenrus
c85f99f2b1
Merge pull request #1039 from phadej/sentry-travis
Regenerate .travis.yml
2018-09-19 14:04:51 +03:00
Oleg Grenrus
e03b568b41 Regenerate .travis.yml 2018-09-19 13:27:43 +03:00
Alp Mestanogullari
79f8858dfc
Merge pull request #987 from marcosh/sentry-cookbook
cookbook sentry integration page
2018-09-19 10:15:27 +02:00
Marco Perone
c5d867cfb1 remove changelog entry 2018-09-19 08:25:42 +02:00