Commit graph

2025 commits

Author SHA1 Message Date
Oleg Grenrus
a1a99552b5 Changelog and cabal file edits
- Add #1079, #1011 entry
- Stricter internal dependencies
- Unify .cabal files
- Correct -conduit, -machines, -pipes changelog
- Fix years in LICENSEs
- Remove tinc.yamls
- Tweaks to 0.15 changelog
- Add changelogs for all packages
- Add changelogs for new packages (extra-source-files)
2018-11-13 09:58:42 +02:00
Oleg Grenrus
c62721e2ea
Merge pull request #1072 from phadej/changelog-0.15
Add changelog for 0.15
2018-11-12 22:01:55 +02:00
Oleg Grenrus
44aabebb04
Merge pull request #1079 from haskell-servant/issue-1011
Fix issue #1011: NewlineFraming encodes newline after each element
2018-11-12 22:01:14 +02:00
Oleg Grenrus
d64c2322d8
Merge pull request #1078 from phadej/arbitrary-sourcet
Add Arbitrary (SourceT m a) and StepT m a instances
2018-11-12 22:01:00 +02:00
Xavier Shay
63d685adb3 Add note to custom monad documentation about what to do with Raw endpoints. 2018-11-11 09:31:57 -08:00
Oleg Grenrus
f1eb5f93a8 Fix issue #1011: NewlineFraming encodes newline after each element 2018-11-10 01:45:56 +02:00
Oleg Grenrus
17f9237980 Add framingRender examples 2018-11-10 01:44:40 +02:00
Oleg Grenrus
4961cc2f3a Add Arbitrary (SourceT m a) and StepT m a instances
The generated instances are pure-ish; errorless.
2018-11-09 23:49:25 +02:00
Oleg Grenrus
ce83e4b404
Merge pull request #1077 from phadej/stream-body-mods
Add mods to StreamBody
2018-11-09 23:10:13 +02:00
Oleg Grenrus
c6311be5a1 Add #1077 entry 2018-11-09 21:52:20 +02:00
Oleg Grenrus
3001ed7990 Add mods to StreamBody 2018-11-09 21:49:53 +02:00
Oleg Grenrus
a5d3f44f2a Add #1076 entry 2018-11-09 21:14:30 +02:00
Oleg Grenrus
d9dc894ca6 Add changelog for 0.15 2018-11-09 21:14:30 +02:00
Oleg Grenrus
bbf196717f
Merge pull request #1076 from phadej/run-streaming-client
Add runClientM for streaming-client
2018-11-09 21:13:05 +02:00
Oleg Grenrus
0dd8ee7585 Add runClientM for streaming-client 2018-11-09 20:22:47 +02:00
Oleg Grenrus
5f947d1c43 Bump version numbers
- Almost everything 0.15; also servant-foreign jumped to 0.15, for
  consistency
- Bump lower bounds of dependencies to most recent versions atm
- Use hspec-2.6.0
- Update `stack.yaml` accordingly
- Use base-compat a bit more
- Drop aeson-compat dependency (in tests and tutorial)
2018-11-09 20:20:26 +02:00
Oleg Grenrus
5e3faa12c0
Merge pull request #1073 from phadej/ghc-8.6.2
tested-with: GHC==8.6.2
2018-11-09 18:49:45 +02:00
Oleg Grenrus
4195fd04d4 tested-with: GHC==8.6.2 2018-11-09 17:41:00 +02:00
Oleg Grenrus
97bd6f0a40
Merge pull request #1066 from phadej/separate-streaming-client
Separate streaming client
2018-11-09 14:50:57 +02:00
Oleg Grenrus
c95b195eb4 XhrClient doesn't support streaming 2018-11-08 18:47:54 +02:00
Oleg Grenrus
21af9a4051 Tweak lookupResponseHeader docs 2018-11-08 18:36:31 +02:00
Oleg Grenrus
db80f41dee
Merge pull request #1064 from DanBurton/lookup-response-header
Add lookupResponseHeader
2018-11-08 18:36:09 +02:00
Oleg Grenrus
8feda81fcd Separate Servant.Client.Streaming
- as a bonus only `servant-client` depends on `kan-extensions`
2018-11-08 17:58:21 +02:00
Oleg Grenrus
05d0f7e460
Merge pull request #1071 from phadej/golden-servant-docs
Golden servant docs
2018-11-08 17:37:19 +02:00
Oleg Grenrus
953747b55b Correct some doctest looking things to be doctests 2018-11-08 17:12:20 +02:00
Oleg Grenrus
7bed805cf7 Golden test for comprehensive API docs 2018-11-08 16:32:10 +02:00
Oleg Grenrus
f7bda98b6a Use tasty for servant-docs tests 2018-11-08 15:35:48 +02:00
Oleg Grenrus
80a047d1d4
Merge pull request #1035 from afcady/multipart-foreign
Implement HasForeign instance
2018-11-07 14:34:58 +02:00
Oleg Grenrus
da2af9fd5a
Merge pull request #1070 from phadej/test-public
Make ComprehensiveAPI part of public API
2018-11-06 18:38:02 +02:00
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